Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2000 18:23:36 +1100 (EST)
From:      Gregory Bond <gnb@itga.com.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16417: nethack3 port won't compile on 3.4-Stable
Message-ID:  <200001280723.SAA51033@hellcat.itga.com.au>

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

>Number:         16417
>Category:       ports
>Synopsis:       nethack3 port won't compile on 3.4-Stable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 23:30:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Gregory Bond
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
ITG Australia Limited
>Environment:

3.4-Stable, nethack3 port (nethack 3.3.0)

>Description:

Nethack3 port fails to compile on 3.4-Stable

>How-To-Repeat:

cd /usr/ports/games/nethack3 && make

>Fix:
	
Hm.  Dunno why/how this worked with the previous nethack port, which has 
similar stuff in "include/termcap.h", but it seems to have...  Nor do
I know how this works for -CURRENT (which I assume it does, otherwise 
the port wouldn't have been committed, would it? :>)

Hmm, this is nethack so I orta make the PR severity=critical!

>Release-Note:
>Audit-Trail:
>Unformatted:
 >===>  Building for nethack-3.3.0
 >( cd src ; gmake )
 >gmake[1]: Entering directory `/usr/ports/games/nethack3/work/nethack-3.3.0/src'
 >cc -O -pipe -O -I../include -I/usr/X11R6/include -c ../win/tty/termcap.c
 >In file included from ../win/tty/termcap.c:791:
 >/usr/include/curses.h:125: conflicting types for `tc_lcl_data'
 >../win/tty/termcap.c:39: previous declaration of `tc_lcl_data'
 >/usr/include/curses.h:125: parse error before `.'
 >/usr/include/curses.h:382: conflicting types for `tputs'
 >../include/system.h:496: previous declaration of `tputs'
 >../win/tty/termcap.c: In function `init_hilite':
 >../win/tty/termcap.c:828: request for member `tc_HI' in something not a structure or union
 [whole buncha similar errors snipped]
 
 This is due to conflicts betweeen nethack's include/tcap.h file
 (which has lines like
 	#define CM tc_lcl_data.tc_CM
 ) and the system <curses.h> which has line like
 	extern char     *AL, *BC, *BT, *CD, *CE, *CL, *CM, *CR, *CS, *DC, *DL,
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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