diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-06 20:11:57 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-02-06 20:11:57 +0000 |
commit | 82d2ad020276c4bac3d738b3ad20a3b049d2b9c8 (patch) | |
tree | 791783c16b3c7f3bd35637fac9d3390465f2b61b /x11-misc/lintar/files | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-82d2ad020276c4bac3d738b3ad20a3b049d2b9c8.tar.gz gentoo-2-82d2ad020276c4bac3d738b3ad20a3b049d2b9c8.tar.bz2 gentoo-2-82d2ad020276c4bac3d738b3ad20a3b049d2b9c8.zip |
Fix building with -Wl,--as-needed wrt #248573 by Kacper Kowalik.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/lintar/files')
-rw-r--r-- | x11-misc/lintar/files/lintar-0.6.2-asneeded.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-misc/lintar/files/lintar-0.6.2-asneeded.patch b/x11-misc/lintar/files/lintar-0.6.2-asneeded.patch new file mode 100644 index 000000000000..811b72332ca4 --- /dev/null +++ b/x11-misc/lintar/files/lintar-0.6.2-asneeded.patch @@ -0,0 +1,43 @@ +http://bugs.gentoo.org/show_bug.cgi?id=248573 + +--- src/Makefile.am ++++ src/Makefile.am +@@ -6,11 +6,8 @@ + prefs_dialog.c prefs_dialog.h prog.c prog.h \ + prog_single.c prog_single.h prog_tar.c prog_tar.h prog_zip.c prog_zip.h + +-CFLAGS += -Wall -g +- +-LDFLAGS += `pkg-config --libs gtk+-2.0 gnome-vfs-2.0` +- +-INCLUDES += `pkg-config --cflags gtk+-2.0 gnome-vfs-2.0` ++lintar_LDADD = @DEPS_LIBS@ ++lintar_CFLAGS = @DEPS_CFLAGS@ + + CLEANFILES = *~ + DISTCLEANFILES = .deps/*.P +--- configure.ac ++++ configure.ac +@@ -1,6 +1,7 @@ + # Process this file with autoconf to produce a configure script. + AC_INIT(lintar, 0.6.2, jrh@gps.tsc.upc.es) + AM_INIT_AUTOMAKE(lintar, 0.6.2) ++AC_USE_SYSTEM_EXTENSIONS + + AC_CONFIG_SRCDIR([src/lintar_global.c]) + +@@ -9,12 +10,13 @@ + + # Checks for programs. + AC_PROG_CC ++AM_PROG_CC_C_O + + AC_PATH_PROG(USE_PKG_CONFIG, pkg-config,,) + if test -z $USE_PKG_CONFIG; then + AC_MSG_ERROR([[Need pkg-config to compile lintar.]]) + fi +- ++PKG_CHECK_MODULES(DEPS, gtk+-2.0 gnome-vfs-2.0 ) + + AC_PATH_PROG(LINTAR_PROG_CP, cp,,) + if test -z $LINTAR_PROG_CP; then |