Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 22:57:53 +0100 (CET)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110361: [games/jzip] Avoid <sgtty.h>
Message-ID:  <20070315215753.30AC41CD39@palm.hoeg.nl>
Resent-Message-ID: <200703152200.l2FM0AdQ015201@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070315215753.30AC41CD39>