summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/dsam/files/dsam.patch')
-rw-r--r--sci-misc/dsam/files/dsam.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/sci-misc/dsam/files/dsam.patch b/sci-misc/dsam/files/dsam.patch
new file mode 100644
index 0000000..337c3b1
--- /dev/null
+++ b/sci-misc/dsam/files/dsam.patch
@@ -0,0 +1,62 @@
+--- old 2010-11-04 17:33:50.000000000 +0100
++++ configure.ac 2010-11-04 17:36:20.000000000 +0100
+@@ -427,8 +427,8 @@
+ if test x$DSAM_EXT = xyes -a x$wxwinAvailable = xyes; then
+ CXXFLAGS_save=$CXXFLAGS
+ CXXFLAGS=`$WX_CONFIG --cxxflags base`
+- LDFLAGS_save=$LDFLAGS
+- LDFLAGS=`$WX_CONFIG --libs base`
++ LIBS_save=$LDFLAGS
++ LIBS=`$WX_CONFIG --libs base`
+ AC_MSG_CHECKING([for wxWidgets base support for threaded extensions])
+ AC_LINK_IFELSE(
+ [
+@@ -457,7 +457,7 @@
+ )
+ AC_MSG_RESULT($wx_base_available);
+ CXXFLAGS=$CXXFLAGS_save
+- LDFLAGS=$LDFLAGS_save
++ LIBS=$LDFLAGS_save
+ fi
+
+ dnl ----------------------------------------------------------------------------
+@@ -468,8 +468,8 @@
+ AC_MSG_CHECKING([for wxWidgets GUI support])
+ CXXFLAGS_save=$CXXFLAGS
+ CXXFLAGS=`$WX_CONFIG --cxxflags`
+- LDFLAGS_save=$LDFLAGS
+- LDFLAGS=`$WX_CONFIG --libs`
++ LIBS_save=$LIBS
++ LIBS=`$WX_CONFIG --libs`
+ AC_LINK_IFELSE(
+ [
+ AC_LANG_SOURCE(
+@@ -499,7 +499,7 @@
+ )
+ AC_MSG_RESULT($using_wxWidgets_gui);
+ CXXFLAGS=$CXXFLAGS_save
+- LDFLAGS=$LDFLAGS_save
++ LIBS=$LIBS_save
+ fi
+
+ dnl ----------------------------------------------------------------------------
+@@ -510,8 +510,8 @@
+ AC_MSG_CHECKING([for wxWidgets OGL support])
+ CXXFLAGS_save=$CXXFLAGS
+ CXXFLAGS=`$WX_CONFIG --cxxflags`
+- LDFLAGS_save=$LDFLAGS
+- LDFLAGS=`$WX_CONFIG --libs std,ogl`
++ LIBS_save=$LDFLAGS
++ LIBS=`$WX_CONFIG --libs std,ogl`
+ AC_LINK_IFELSE(
+ [
+ AC_LANG_SOURCE(
+@@ -543,7 +543,7 @@
+ )
+ AC_MSG_RESULT($using_wxWidgets_ogl);
+ CXXFLAGS=$CXXFLAGS_save
+- LDFLAGS=$LDFLAGS_save
++ LIBS=$LDFLAGS_save
+ fi
+
+ dnl ----------------------------------------------------------------------------