diff options
Diffstat (limited to 'media-plugins/xmms-imms/files/2.1.1-xorg.patch')
-rw-r--r-- | media-plugins/xmms-imms/files/2.1.1-xorg.patch | 48 |
1 files changed, 11 insertions, 37 deletions
diff --git a/media-plugins/xmms-imms/files/2.1.1-xorg.patch b/media-plugins/xmms-imms/files/2.1.1-xorg.patch index b4a6a69b37a1..a14548772c50 100644 --- a/media-plugins/xmms-imms/files/2.1.1-xorg.patch +++ b/media-plugins/xmms-imms/files/2.1.1-xorg.patch @@ -1,37 +1,11 @@ -diff -uprN imms-2.1.1.orig/immscore/xidle.h imms-2.1.1/immscore/xidle.h ---- imms-2.1.1.orig/immscore/xidle.h 2005-05-21 23:00:33.000000000 +0200 -+++ imms-2.1.1/immscore/xidle.h 2005-05-21 23:10:44.000000000 +0200 -@@ -4,9 +4,7 @@ - #include "immsconf.h" - - #include <time.h> --#ifdef WITH_XSCREENSAVER --# include <X11/Xlib.h> --#endif -+#include <X11/Xlib.h> - - class XIdle - { -@@ -27,11 +25,9 @@ private: - int active; - time_t last_checked; - --#ifdef WITH_XSCREENSAVER - Display *display; - Screen *screen; - Window root; --#endif - - unsigned int prev_mask; - int prev_rootX, prev_rootY; -diff -uprN imms-2.1.1.orig/vars.mk.in imms-2.1.1/vars.mk.in ---- imms-2.1.1.orig/vars.mk.in 2005-05-21 23:00:33.000000000 +0200 -+++ imms-2.1.1/vars.mk.in 2005-05-21 23:00:55.000000000 +0200 -@@ -24,6 +24,6 @@ CXXFLAGS=@CXXFLAGS@ -fno-rtti - - GLIB2LDFLAGS=`pkg-config glib-2.0 --libs` - GLIB1LDFLAGS=`pkg-config glib --libs` --LDFLAGS=-L. @LIBS@ -+LDFLAGS=-lX11 -L. @LIBS@ - - default: all +--- configure.ac.orig 2005-05-22 13:07:18.000000000 +0200 ++++ configure.ac 2005-05-22 13:12:47.000000000 +0200 +@@ -193,7 +193,7 @@ + fi + + if test "$with_screensaver" != "no"; then +- LDFLAGS="-shared -L/usr/X11R6/lib" ++ LDFLAGS="-L/usr/X11R6/lib" + AC_CHECK_LIB(X11, XFlush,, [with_screensaver=no]) + AC_CHECK_LIB(Xext, XextFindDisplay,, [with_screensaver=no]) + AC_CHECK_LIB(Xss, XScreenSaverQueryInfo,, [with_screensaver=no]) |