diff options
Diffstat (limited to 'x11/rxvt-unicode/files/patch-configure')
-rw-r--r-- | x11/rxvt-unicode/files/patch-configure | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11/rxvt-unicode/files/patch-configure b/x11/rxvt-unicode/files/patch-configure new file mode 100644 index 000000000000..eb5b7445d233 --- /dev/null +++ b/x11/rxvt-unicode/files/patch-configure @@ -0,0 +1,45 @@ +--- configure.orig ++++ configure +@@ -4436,42 +4436,6 @@ + + + LINKER="$CXX" +-if test x$GCC = xyes && test x$GXX = xyes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working libsupc++" >&5 +-$as_echo_n "checking for working libsupc++... " >&6; } +- save_CXX="$CXX" +- save_LIBS="$LIBS" +- CXX="$CC" +- LIBS="$LIBS -lsupc++" +- +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-struct test { }; void f() try { throw new test; } catch (...) { throw; } +-int +-main () +-{ +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_cxx_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +-$as_echo "ok" >&6; } +- LINKER="$CC" +-else +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, making everything bigger and slower" >&5 +-$as_echo "no, making everything bigger and slower" >&6; } +- LIBS="$save_LIBS" +- +- +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- CXX="$save_CXX" +-fi +-LINKER=$LINKER + + + if test -z "$orig_CXXFLAGS"; then |