jer         14/04/17 10:07:32

  Added:                xsri-2.1.0-configure.patch
  Log:
  Explicitly link against libm (bug #507880 by Wolf Armstrong).
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  x11-misc/xsri/files/xsri-2.1.0-configure.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsri/files/xsri-2.1.0-configure.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xsri/files/xsri-2.1.0-configure.patch?rev=1.1&content-type=text/plain

Index: xsri-2.1.0-configure.patch
===================================================================
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,5 @@
 INCLUDES =                                     \
        $(GTK_CFLAGS)                           \
-       -DG_DISABLE_DEPRECATED                  \
-       -DGDK_DISABLE_DEPRECATED                \
-       -DGTK_DISABLE_DEPRECATED                \
        -DSYSCONFDIR=\"$(sysconfdir)\"
 
 bin_PROGRAMS = xsri
--- a/configure.in
+++ b/configure.in
@@ -26,9 +26,11 @@
 
 dnl library checks (not using macros/ directory)
 
-PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 1.3.13,,
+PKG_CHECK_MODULES(GTK, x11  gtk+-2.0 >= 1.3.13,,
     AC_MSG_ERROR([*** GTK+-2.0 must be installed to compile xsri]))
 
+AC_CHECK_LIB(m, sqrt)
+
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)
 




Reply via email to