Преглед изворни кода

apply a patch from the FreeBSD ports for fixing the building on latest FreeBSD 7

Ralf S. Engelschall пре 20 година
родитељ
комит
bd7bb2d12b
2 измењених фајлова са 17 додато и 1 уклоњено
  1. 16 0
      screen/screen.patch
  2. 1 1
      screen/screen.spec

+ 16 - 0
screen/screen.patch

@@ -215,3 +215,19 @@ Index: utmp.c
  }
  
  static slot_t
+Index: pty.c
+--- pty.c.orig	Mon Feb  6 18:54:37 2006
++++ pty.c	Mon Feb  6 18:56:50 2006
+@@ -33,10 +33,12 @@
+ # include <sys/ioctl.h>
+ #endif
+ 
++#ifndef __FreeBSD__
+ /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
+ #ifdef HAVE_SVR4_PTYS
+ # include <sys/stropts.h>
+ #endif
++#endif
+ 
+ #if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL)
+ # include <sys/ttold.h>

+ 1 - 1
screen/screen.spec

@@ -33,7 +33,7 @@ Class:        CORE
 Group:        Terminal
 License:      GPL
 Version:      4.0.2
-Release:      20060111
+Release:      20060210
 
 #   list of sources
 Source0:      ftp://ftp.uni-erlangen.de/pub/utilities/screen/screen-%{version}.tar.gz