summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-10-23 22:08:17 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-10-23 22:08:17 +0000
commitad363e09d432ea288ad84229c4e0c6a39dccc78e (patch)
tree508ea32b1da459118c637b62333b5da32f26c412 /games-arcade/smc/files/smc-1.9-underlink.patch
parentApply previous change. (diff)
downloadgentoo-2-ad363e09d432ea288ad84229c4e0c6a39dccc78e.tar.gz
gentoo-2-ad363e09d432ea288ad84229c4e0c6a39dccc78e.tar.bz2
gentoo-2-ad363e09d432ea288ad84229c4e0c6a39dccc78e.zip
add underlink patch to build with newer binutils from zimous via bug #489188
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-arcade/smc/files/smc-1.9-underlink.patch')
-rw-r--r--games-arcade/smc/files/smc-1.9-underlink.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/games-arcade/smc/files/smc-1.9-underlink.patch b/games-arcade/smc/files/smc-1.9-underlink.patch
new file mode 100644
index 000000000000..6e076027c472
--- /dev/null
+++ b/games-arcade/smc/files/smc-1.9-underlink.patch
@@ -0,0 +1,25 @@
+diff -burN smc-1.9.orig/configure.ac smc-1.9/configure.ac
+--- smc-1.9.orig/configure.ac 2013-10-23 19:11:08.635054067 +0200
++++ smc-1.9/configure.ac 2013-10-23 19:42:29.820272295 +0200
+@@ -12,6 +12,10 @@
+ ### Check for libraries ###
+
+ # Check for the Boost Filesystem library
++AC_CHECK_LIB(boost_system, main, ,
++ AC_MSG_ERROR([Unable to find Boost System library]))
++
++# Check for the Boost Filesystem library
+ AC_CHECK_LIB(boost_filesystem, main, ,
+ AC_MSG_ERROR([Unable to find Boost Filesystem library]))
+
+@@ -36,6 +40,10 @@
+ CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
+ LIBS="$LIBS $SDL_LIBS"
+
++# Check for the X11 library
++AC_CHECK_LIB(X11, XOpenDisplay, ,
++ AC_MSG_ERROR([X11 library not found]))
++
+ # Check for the libpng library
+ AC_CHECK_LIB(png, png_init_io, ,
+ AC_MSG_ERROR([libpng library not found]))