diff options
author | 2007-11-18 17:18:40 +0000 | |
---|---|---|
committer | 2007-11-18 17:18:40 +0000 | |
commit | 44072fdab08d08806fd6e681335c7d47b91f0c70 (patch) | |
tree | 21027c2a2732b1739aeb8dac019e953e50e09b0f /x11-misc/fluxter/files | |
parent | Stable on x86 wrt bug #199547 (diff) | |
download | historical-44072fdab08d08806fd6e681335c7d47b91f0c70.tar.gz historical-44072fdab08d08806fd6e681335c7d47b91f0c70.tar.bz2 historical-44072fdab08d08806fd6e681335c7d47b91f0c70.zip |
Fix building with --as-needed & amd64 stable.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'x11-misc/fluxter/files')
-rw-r--r-- | x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch b/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch new file mode 100644 index 000000000000..3551ba307ac6 --- /dev/null +++ b/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch @@ -0,0 +1,45 @@ +diff -ur fluxter-0.1.0.orig/Makefile.am fluxter-0.1.0/Makefile.am +--- fluxter-0.1.0.orig/Makefile.am 2002-04-14 08:50:33.000000000 +0300 ++++ fluxter-0.1.0/Makefile.am 2007-11-18 19:11:50.000000000 +0200 +@@ -17,4 +17,4 @@ + NETInterface.cc NETInterface.hh \ + blackboxstyle.hh + EXTRA_DIST = BUGS TODO +-fluxter_LDADD = @X_LIBS@ ++fluxter_LDADD = @LIBS@ +diff -ur fluxter-0.1.0.orig/configure.in fluxter-0.1.0/configure.in +--- fluxter-0.1.0.orig/configure.in 2002-04-14 01:03:05.000000000 +0300 ++++ fluxter-0.1.0/configure.in 2007-11-18 19:11:35.000000000 +0200 +@@ -18,14 +18,12 @@ + [ + test "$CFLAGS" = "" && CFLAGS="-g -Wall -DDEBUG" + test "$CXXFLAGS" = "" && CXXFLAGS="-g -Wall -DDEBUG" +- test "$LDFLAGS" = "" && LDFLAGS="" + ]) + + AC_DEFUN(AC_SET_NODEBUG, + [ +- test "$CFLAGS" = "" && CFLAGS="-O2 -Wall" +- test "$CXXFLAGS" = "" && CXXFLAGS="-O2 -Wall" +- test "$LDFLAGS" = "" && LDFLAGS="-s" ++ test "$CFLAGS" = "" && CFLAGS="-Wall" ++ test "$CXXFLAGS" = "" && CXXFLAGS="-Wall" + ]) + + +@@ -71,12 +69,12 @@ + + CFLAGS="$CFLAGS $X_CFLAGS" + CXXFLAGS="$CXXFLAGS $X_CFLAGS" +-LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS" ++LIBS="$LIBS $X_LIBS $X_PRE_LIBS" + dnl Checks for X libraries. +-AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11", ++AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11", + AC_MSG_ERROR(XOpenDisplay not found in -lX11)) + +-LDFLAGS="$LDFLAGS $X_EXTRA_LIBS" ++LIBS="$LIBS $X_EXTRA_LIBS" + + dnl Checks for header files. + AC_HEADER_STDC |