summaryrefslogtreecommitdiff
path: root/games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-11 16:02:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-11 16:02:49 +0100
commit88ebe56470c37b02a044e1091cad6b2df0f3be8f (patch)
treed80b2d9337c01c4a0fe11a2ef9691fc3153ed6d3 /games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch
parent4645b6f17f0da81e9fe84081fb126a37102ba153 (diff)
gentoo resync : 11.05.2018
Diffstat (limited to 'games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch')
-rw-r--r--games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch b/games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch
new file mode 100644
index 000000000000..342ba1c5c07a
--- /dev/null
+++ b/games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch
@@ -0,0 +1,41 @@
+From 890af36a3939f0978af779caa878ddeb44183d8d Mon Sep 17 00:00:00 2001
+From: Andrea Mazzoleni <amadvance@gmail.com>
+Date: Tue, 8 May 2018 19:32:44 +0200
+Subject: [PATCH 3/3] Remove the --enable-static configure option
+
+I doubt it still work and it doesn't make sense anymore.
+---
+ configure.ac | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 4e609993..1c94e037 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -139,13 +139,6 @@ AC_ARG_ENABLE(
+ )
+ AC_SUBST([CONF_DEBUG],[$ac_enable_debug])
+
+-AC_ARG_ENABLE(
+- [static],
+- AC_HELP_STRING([--enable-static],[enable static compilation. (default no)]),
+- [ac_enable_static=$enableval],
+- [ac_enable_static=no]
+-)
+-
+ AC_ARG_ENABLE(
+ [bare],
+ AC_HELP_STRING([--enable-bare],[enable compilation without drivers. (default no)]),
+@@ -232,9 +225,6 @@ if test $ac_auto_ldflags = yes ; then
+ else
+ LDFLAGS="-s"
+ fi
+- if test $ac_enable_static = yes ; then
+- LDFLAGS="-static $LDFLAGS"
+- fi
+ if test ! -z $ac_host_ldflags; then
+ LDFLAGS="$ac_host_ldflags $LDFLAGS"
+ fi
+--
+2.17.0
+