diff options
author | thierry <thierry@FreeBSD.org> | 2004-08-29 00:33:31 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-08-29 00:33:31 +0800 |
commit | 65b78c997a6035d606b806e1c3b1172a37f1d7d4 (patch) | |
tree | c17d8ae5f5bb24f605991feeefd3877b782fb966 | |
parent | 1297d382019cbbb0ef9df4ca157cab27708b5953 (diff) | |
download | freebsd-ports-gnome-65b78c997a6035d606b806e1c3b1172a37f1d7d4.tar.gz freebsd-ports-gnome-65b78c997a6035d606b806e1c3b1172a37f1d7d4.tar.zst freebsd-ports-gnome-65b78c997a6035d606b806e1c3b1172a37f1d7d4.zip |
Fix a C++ linkage problem in some cases.
-rw-r--r-- | x11/rxvt-unicode/files/patch-configure | 28 |
1 files changed, 28 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..1319d1064422 --- /dev/null +++ b/x11/rxvt-unicode/files/patch-configure @@ -0,0 +1,28 @@ +--- configure.orig Sun Aug 22 03:37:34 2004 ++++ configure Sat Aug 28 18:08:08 2004 +@@ -3216,13 +3216,13 @@ + LINKER="$CXX" + if test x$GCC = xyes && test x$GXX = xyes; then + +-echo "$as_me:$LINENO: checking for main in -lsupc++" >&5 +-echo $ECHO_N "checking for main in -lsupc++... $ECHO_C" >&6 ++echo "$as_me:$LINENO: checking for main in -lstdc++ -lsupc++" >&5 ++echo $ECHO_N "checking for main in -lstdc++ -lsupc++... $ECHO_C" >&6 + if test "${ac_cv_lib_supcpp_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lsupc++ $LIBS" ++LIBS="-lstdc++ -lsupc++ $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -3276,7 +3276,7 @@ + if test $ac_cv_lib_supcpp_main = yes; then + + LINKER="$CC" +- LIBS="$LIBS -lsupc++" ++ LIBS="$LIBS -lstdc++ -lsupc++" + + fi + |