mr_bones_    14/11/19 05:01:17

  Modified:             ngstar-2.1.8-ldflags.patch
  Log:
  build with ncurses[tinfo] (bug #529784)
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.2                  games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch?r1=1.1&r2=1.2

Index: ngstar-2.1.8-ldflags.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ngstar-2.1.8-ldflags.patch  10 Sep 2010 07:36:08 -0000      1.1
+++ ngstar-2.1.8-ldflags.patch  19 Nov 2014 05:01:17 -0000      1.2
@@ -1,5 +1,17 @@
---- src/Makefile.old   2010-09-10 09:22:06.000000000 +0200
-+++ src/Makefile       2010-09-10 09:33:20.000000000 +0200
+diff -ru ngstar-2.1.8.orig/src/Makefile ngstar-2.1.8/src/Makefile
+--- ngstar-2.1.8.orig/src/Makefile     2005-11-09 08:11:22.000000000 -0500
++++ ngstar-2.1.8/src/Makefile  2014-11-18 23:58:45.565366080 -0500
+@@ -33,8 +33,8 @@
+ endif
+ endif
+ ifdef USE_NCURSES
+-      CC_LIBS += -lncurses -lgpm
+-      CC_LIBS_STATIC += -lncurses -lgpm
++      CC_LIBS += $(shell pkg-config ncurses --libs) -lgpm
++      CC_LIBS_STATIC += $(shell pkg-config ncurses --libs) -lgpm
+ 
+       NCURSES_UI_OBJ = Ncurses_UI.o
+ 
 @@ -56,8 +56,7 @@
  
  $(BIN) : $(SOURCE) $(BIN_DEPS)




Reply via email to