ports/110361: [games/jzip] Avoid <sgtty.h>

Ed Schouten ed at fxq.nl
Thu Mar 15 22:00:11 UTC 2007


>Number:         110361
>Category:       ports
>Synopsis:       [games/jzip] Avoid <sgtty.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 22:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Ed Schouten
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Feb 11 22:32:09 CET 2007 root at palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
The port games/jzip gets compiled with the -DBSD flag, which makes it
use <sgtty.h>. If we compile it with -DPOSIX (which is the standard), it
will use <termios.h>, causing it to work without COMPAT_43TTY.
>How-To-Repeat:
>Fix:
--- games/jzip/files/patch-aa	Fri May  8 04:38:34 1998
+++ games/jzip/files/patch-aa	Thu Mar 15 22:55:01 2007
@@ -9,7 +9,7 @@
 -LDFLAGS = -O
 -LIBS = -lcurses
 +#CC = cc
-+CFLAGS += -c -DBSD -DHAVE_GETOPT
++CFLAGS += -c -DPOSIX -DHAVE_GETOPT
 +#LDFLAGS = -O
 +LIBS = -ltermcap
  
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list