diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-09-06 17:40:48 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-09-06 17:40:48 +0000 |
commit | 05ee599a0803f8822e20be6b441e6edbaa772b41 (patch) | |
tree | 6fcd265141ee94440fed216e56ece8d6b18cfadf /media-gfx/gqview/files/gqview-2.1.5-glibc.patch | |
parent | Force automake 1.12, bug #484002 (diff) | |
download | historical-05ee599a0803f8822e20be6b441e6edbaa772b41.tar.gz historical-05ee599a0803f8822e20be6b441e6edbaa772b41.tar.bz2 historical-05ee599a0803f8822e20be6b441e6edbaa772b41.zip |
add patch to build against newer glibc from Dennis 'dlan' Lan (bug #403051)
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/gqview/files/gqview-2.1.5-glibc.patch')
-rw-r--r-- | media-gfx/gqview/files/gqview-2.1.5-glibc.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-gfx/gqview/files/gqview-2.1.5-glibc.patch b/media-gfx/gqview/files/gqview-2.1.5-glibc.patch new file mode 100644 index 000000000000..957080737040 --- /dev/null +++ b/media-gfx/gqview/files/gqview-2.1.5-glibc.patch @@ -0,0 +1,39 @@ +diff --git a/Makefile.in b/Makefile.in +index 38f6b25..4d7ad2c 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -123,6 +123,7 @@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + INSTOBJEXT = @INSTOBJEXT@ + INTLLIBS = @INTLLIBS@ + LCMS_LIBS = @LCMS_LIBS@ ++LIBM = @LIBM@ + LDFLAGS = @LDFLAGS@ + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ +diff --git a/configure.in b/configure.in +index 9335493..2299b4a 100644 +--- a/configure.in ++++ b/configure.in +@@ -52,6 +52,9 @@ fi + AC_SUBST(LCMS_LIBS) + AM_CONDITIONAL(HAVE_LCMS, test "$have_lcms" = "yes") + ++AC_CHECK_LIB(m, ceil, LIBM="-lm") ++AC_SUBST(LIBM) ++ + ALL_LINGUAS="ar be bg ca cs da de eo es et eu fi fr hu id it ja ko nl no pl pt_BR ro ru sk sl sv th tr uk vi zh_CN.GB2312 zh_TW" + GETTEXT_PACKAGE=$PACKAGE + AC_SUBST(GETTEXT_PACKAGE) +diff --git a/src/Makefile.am b/src/Makefile.am +index 7ce4702..5005877 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -166,7 +166,7 @@ gqview_SOURCES = \ + view_file_icon.c \ + view_file_icon.h + +-gqview_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) ++gqview_LDADD = $(GTK_LIBS) $(INTLLIBS) $(LCMS_LIBS) $(LIBM) + + EXTRA_DIST = \ + $(extra_SLIK) |