summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2009-02-12 09:13:08 +0000
committerAlfredo Tupone <tupone@gentoo.org>2009-02-12 09:13:08 +0000
commit702625ff5bf0b23e981788979686ef02abf8f1c6 (patch)
tree2e5d4ca3e25800b0e17ce28bb5ac4fd5dc34053d /games-strategy/lgeneral/files
parentVersion bump using the latest Gentoo patchset. Also include the Percona patch... (diff)
downloadhistorical-702625ff5bf0b23e981788979686ef02abf8f1c6.tar.gz
historical-702625ff5bf0b23e981788979686ef02abf8f1c6.tar.bz2
historical-702625ff5bf0b23e981788979686ef02abf8f1c6.zip
Fix --as-needed bug #247496
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64
Diffstat (limited to 'games-strategy/lgeneral/files')
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2_beta12-as-needed.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta12-as-needed.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-as-needed.patch
new file mode 100644
index 000000000000..2361aa54d569
--- /dev/null
+++ b/games-strategy/lgeneral/files/lgeneral-1.2_beta12-as-needed.patch
@@ -0,0 +1,13 @@
+--- tools/ltrextract/Makefile.am.old 2009-02-12 09:48:37.000000000 +0100
++++ tools/ltrextract/Makefile.am 2009-02-12 09:50:36.000000000 +0100
+@@ -3,9 +3,8 @@
+
+ bin_PROGRAMS = ltrextract
+
+-LIBS = $(top_builddir)/util/libutil.a $(INTLLIBS)
+ AM_CFLAGS = -DLTREXTRACT @dis_flag@ -I$(LGENERAL_PATH) -I$(top_srcdir) -I$(top_srcdir)/util $(INTLINCLUDES)
+-ltrextract_LDFLAGS = -lm
++ltrextract_LDADD = $(top_builddir)/util/libutil.a $(INTLLIBS)
+ ltrextract_SOURCES = ltrextract.c util.c util.h \
+ terrain.c terrain.h map.c map.h nation.c nation.h \
+ unit_lib.c unit_lib.h scenario.c scenario.h campaign.c campaign.h \