Ticket #69831: nethack_curses.patch
File nethack_curses.patch, 1.4 KB (added by jnielsendotnet, 6 months ago) |
---|
-
nethack/Portfile
a b 32 32 33 33 patch.pre_args -p1 34 34 patchfiles patch-gamestate-dir.diff \ 35 patch-manpage-dir.diff 35 patch-manpage-dir.diff \ 36 patch-curses-graphics.diff 36 37 37 38 patchfiles-append patch-nethack-warn-unused-result.diff 38 39 … … 55 56 use_parallel_build no 56 57 build.args-append CC=${configure.cc} \ 57 58 CXX=${configure.cxx} \ 58 CPP=${configure.cpp} 59 CPP=${configure.cpp} \ 60 CFLAGS="-I../include -DCURSES_GRAPHICS -DNOTPARMDECL" 59 61 60 62 pre-destroot { 61 63 xinstall -d "${destroot}${prefix}/share/man/man6" -
nethack/files/patch-curses-graphics.diff
a b 1 --- a/sys/unix/Makefile.src 2023-02-15 14:52:57 2 +++ b/sys/unix/Makefile.src 2024-04-25 21:21:42 3 @@ -273,7 +273,10 @@ 4 # Curses - Karl Garrison, Tangles 5 #WINSRC = $(WINCURSESSRC) 6 #WINOBJ = $(WINCURSESOBJ) 7 -# 8 + 9 +WINSRC = $(WINTTYSRC) $(WINCURSESSRC) 10 +WINOBJ = $(WINTTYOBJ) $(WINCURSESOBJ) 11 + 12 # on some systems the termcap library is in -ltermcap or -lcurses 13 # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead 14 # Sysatt uses shared library in lieu of this option