summaryrefslogtreecommitdiff
path: root/x11/rxvt-unicode
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-08-28 16:33:31 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-08-28 16:33:31 +0000
commite3b3383b1bb561c26528d75187ff0495b3c28328 (patch)
tree9a4aff6202e7a94d88f93e1fad29ca2a3a00d2a3 /x11/rxvt-unicode
parentSync with libm17n shared library version bump. (diff)
Fix a C++ linkage problem in some cases.
Diffstat (limited to 'x11/rxvt-unicode')
-rw-r--r--x11/rxvt-unicode/files/patch-configure28
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
+