summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/guichan/files')
-rw-r--r--dev-games/guichan/files/guichan-0.8.2-as-needed.patch19
-rw-r--r--dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch11
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-games/guichan/files/guichan-0.8.2-as-needed.patch b/dev-games/guichan/files/guichan-0.8.2-as-needed.patch
new file mode 100644
index 000000000000..79eb563c0f8d
--- /dev/null
+++ b/dev-games/guichan/files/guichan-0.8.2-as-needed.patch
@@ -0,0 +1,19 @@
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = widgets @GUICHAN_EXTRADIRS@ hge openlayer contrib
++SUBDIRS = widgets . @GUICHAN_EXTRADIRS@ hge openlayer contrib
+
+ INCLUDES = -I$(top_srcdir)/include
+
+--- src/sdl/Makefile.am
++++ src/sdl/Makefile.am
+@@ -6,6 +6,8 @@
+
+ libguichan_sdl_la_LDFLAGS = -no-undefined -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
++libguichan_sdl_la_LIBADD = -lSDL_image -L$(top_srcdir)/src -lguichan
++
+ libguichan_sdl_la_SOURCES = \
+ sdl.cpp \
+ sdlgraphics.cpp \
diff --git a/dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch b/dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch
new file mode 100644
index 000000000000..e2f46097b82a
--- /dev/null
+++ b/dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch
@@ -0,0 +1,11 @@
+--- guichan-0.8.2/configure.in
++++ guichan-0.8.2/configure.in
+@@ -38,7 +38,7 @@
+ AC_SUBST(LT_AGE)
+
+ AM_INIT_AUTOMAKE(guichan, $GUICHAN_VERSION)
+-AM_CONFIG_HEADER([include/config.hpp])
++AC_CONFIG_HEADERS([include/config.hpp])
+
+ AC_CONFIG_SRCDIR([src/gui.cpp])
+