diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xsri/files/xsri-2.1.0-configure.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xsri/files/xsri-2.1.0-configure.patch')
-rw-r--r-- | x11-misc/xsri/files/xsri-2.1.0-configure.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/x11-misc/xsri/files/xsri-2.1.0-configure.patch b/x11-misc/xsri/files/xsri-2.1.0-configure.patch new file mode 100644 index 000000000000..c000e7091092 --- /dev/null +++ b/x11-misc/xsri/files/xsri-2.1.0-configure.patch @@ -0,0 +1,26 @@ +--- 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) + |