packages: nethack/nethack-makefile.patch - fixed compilation and linking

sls sls at pld-linux.org
Fri Dec 3 21:58:25 CET 2010


Author: sls                          Date: Fri Dec  3 20:58:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed compilation and linking

---- Files affected:
packages/nethack:
   nethack-makefile.patch (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/nethack/nethack-makefile.patch
diff -u packages/nethack/nethack-makefile.patch:1.7 packages/nethack/nethack-makefile.patch:1.8
--- packages/nethack/nethack-makefile.patch:1.7	Wed Nov 10 23:24:31 2004
+++ packages/nethack/nethack-makefile.patch	Fri Dec  3 21:58:20 2010
@@ -6,7 +6,7 @@
  # NetHack is standard C.  If using Qt, uncomment the LD line here to get
  # the C++ libraries linked in.
 -CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include
-+CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include/qt
++CXXFLAGS = $(CFLAGS) -I. -I$(QTDIR)/include/qt -D__CORRECT_ISO_CPP_STRINGS_H_PROTO
  CXX=g++
  #LD=g++
  
@@ -16,7 +16,7 @@
  # WINTTYLIB = -lcurses16
 -# WINTTYLIB = -lncurses
 -WINTTYLIB = -ltermlib
-+WINTTYLIB = -lncurses
++WINTTYLIB = -lncurses -ltinfo
 +# WINTTYLIB = -ltermlib
  #
  # libraries for X11
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nethack/nethack-makefile.patch?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list