Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/fluxter/files: fluxter-0.1.0-asneeded.patch
Date: Sun, 18 Nov 2007 17:18:46
Message-Id: E1Itnn6-0002GF-SR@stork.gentoo.org
1 drac 07/11/18 17:18:40
2
3 Added: fluxter-0.1.0-asneeded.patch
4 Log:
5 Fix building with --as-needed & amd64 stable.
6 (Portage version: 2.1.3.19)
7
8 Revision Changes Path
9 1.1 x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/fluxter/files/fluxter-0.1.0-asneeded.patch?rev=1.1&content-type=text/plain
13
14 Index: fluxter-0.1.0-asneeded.patch
15 ===================================================================
16 diff -ur fluxter-0.1.0.orig/Makefile.am fluxter-0.1.0/Makefile.am
17 --- fluxter-0.1.0.orig/Makefile.am 2002-04-14 08:50:33.000000000 +0300
18 +++ fluxter-0.1.0/Makefile.am 2007-11-18 19:11:50.000000000 +0200
19 @@ -17,4 +17,4 @@
20 NETInterface.cc NETInterface.hh \
21 blackboxstyle.hh
22 EXTRA_DIST = BUGS TODO
23 -fluxter_LDADD = @X_LIBS@
24 +fluxter_LDADD = @LIBS@
25 diff -ur fluxter-0.1.0.orig/configure.in fluxter-0.1.0/configure.in
26 --- fluxter-0.1.0.orig/configure.in 2002-04-14 01:03:05.000000000 +0300
27 +++ fluxter-0.1.0/configure.in 2007-11-18 19:11:35.000000000 +0200
28 @@ -18,14 +18,12 @@
29 [
30 test "$CFLAGS" = "" && CFLAGS="-g -Wall -DDEBUG"
31 test "$CXXFLAGS" = "" && CXXFLAGS="-g -Wall -DDEBUG"
32 - test "$LDFLAGS" = "" && LDFLAGS=""
33 ])
34
35 AC_DEFUN(AC_SET_NODEBUG,
36 [
37 - test "$CFLAGS" = "" && CFLAGS="-O2 -Wall"
38 - test "$CXXFLAGS" = "" && CXXFLAGS="-O2 -Wall"
39 - test "$LDFLAGS" = "" && LDFLAGS="-s"
40 + test "$CFLAGS" = "" && CFLAGS="-Wall"
41 + test "$CXXFLAGS" = "" && CXXFLAGS="-Wall"
42 ])
43
44
45 @@ -71,12 +69,12 @@
46
47 CFLAGS="$CFLAGS $X_CFLAGS"
48 CXXFLAGS="$CXXFLAGS $X_CFLAGS"
49 -LDFLAGS="$LDFLAGS $X_LIBS $X_PRE_LIBS"
50 +LIBS="$LIBS $X_LIBS $X_PRE_LIBS"
51 dnl Checks for X libraries.
52 -AC_CHECK_LIB(X11, XOpenDisplay, LDFLAGS="$LDFLAGS -lX11",
53 +AC_CHECK_LIB(X11, XOpenDisplay, LIBS="$LIBS -lX11",
54 AC_MSG_ERROR(XOpenDisplay not found in -lX11))
55
56 -LDFLAGS="$LDFLAGS $X_EXTRA_LIBS"
57 +LIBS="$LIBS $X_EXTRA_LIBS"
58
59 dnl Checks for header files.
60 AC_HEADER_STDC
61
62
63
64 --
65 gentoo-commits@g.o mailing list