diff options
author | B. Watson <yalhcru@gmail.com> | 2017-06-21 03:31:44 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:50 +0700 |
commit | ece77e77f3baa96a645724a31ff00e2540be86ac (patch) | |
tree | e590c402f9125aa28a10b25508d9556381e1050a /games/zoom/remove_rice.diff | |
parent | 7f4a537a30a10b48386af9e06e71c965af168087 (diff) | |
download | slackbuilds-ece77e77f3baa96a645724a31ff00e2540be86ac.tar.gz |
games/zoom: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/zoom/remove_rice.diff')
-rw-r--r-- | games/zoom/remove_rice.diff | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/games/zoom/remove_rice.diff b/games/zoom/remove_rice.diff new file mode 100644 index 0000000000..1a9e3b7f2f --- /dev/null +++ b/games/zoom/remove_rice.diff @@ -0,0 +1,91 @@ +diff -Naur zoom-1.1.5/configure zoom-1.1.5.patched/configure +--- zoom-1.1.5/configure 2011-11-05 10:29:03.000000000 -0400 ++++ zoom-1.1.5.patched/configure 2017-06-21 03:19:11.223593935 -0400 +@@ -4630,87 +4630,6 @@ + conftest$ac_exeext conftest.$ac_ext + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler ($CC) supports -finline-functions" >&5 +-$as_echo_n "checking if the C compiler ($CC) supports -finline-functions... " >&6; } +- ac_OLD_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -finline-functions" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +- { int x; x = 1; } +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- CFLAGS="$ac_OLD_CFLAGS" +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler ($CC) supports -funroll-loops" >&5 +-$as_echo_n "checking if the C compiler ($CC) supports -funroll-loops... " >&6; } +- ac_OLD_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -funroll-loops" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +- { int x; x = 1; } +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- CFLAGS="$ac_OLD_CFLAGS" +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler ($CC) supports -fomit-frame-pointer" >&5 +-$as_echo_n "checking if the C compiler ($CC) supports -fomit-frame-pointer... " >&6; } +- ac_OLD_CFLAGS="$CFLAGS" +- CFLAGS="$CFLAGS -fomit-frame-pointer" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +- { int x; x = 1; } +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- CFLAGS="$ac_OLD_CFLAGS" +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- +- + # Check whether --enable-new-terp was given. + if test "${enable_new_terp+set}" = set; then : + enableval=$enable_new_terp; |