summaryrefslogtreecommitdiff
path: root/x11-misc/xsri/files/xsri-2.1.0-configure.patch
blob: d7a92f9c9fb22d477d5681e6a7053518e73ffa0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 gdk-pixbuf-2.0,,
     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)