summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2008-09-28 08:13:02 +0000
committerMart Raudsepp <leio@gentoo.org>2008-09-28 08:13:02 +0000
commit2528b6878ac46e36c2de192960aab91a673239c1 (patch)
tree418b2d4bce4292bccbe1e80c45ca8ee9491c3795 /gnome-extra/gnome-screensaver/files
parentkeyword ~x86-fbsd (diff)
downloadgentoo-2-2528b6878ac46e36c2de192960aab91a673239c1.tar.gz
gentoo-2-2528b6878ac46e36c2de192960aab91a673239c1.tar.bz2
gentoo-2-2528b6878ac46e36c2de192960aab91a673239c1.zip
Fix compatibility with gtk+-2.14, bug 238734
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'gnome-extra/gnome-screensaver/files')
-rw-r--r--gnome-extra/gnome-screensaver/files/gnome-screensaver-2.22.2-fix-copy-themes-include.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.22.2-fix-copy-themes-include.patch b/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.22.2-fix-copy-themes-include.patch
new file mode 100644
index 000000000000..6bc92a1cae44
--- /dev/null
+++ b/gnome-extra/gnome-screensaver/files/gnome-screensaver-2.22.2-fix-copy-themes-include.patch
@@ -0,0 +1,22 @@
+Retrieved from http://svn.gnome.org/viewvc/gnome-screensaver/trunk/src/copy-theme-dialog.c?r1=1357&r2=1462&view=patch
+Fixes build compatibility against gtk+-2.14
+
+--- trunk/src/copy-theme-dialog.c 2008/01/31 03:10:09 1357
++++ trunk/src/copy-theme-dialog.c 2008/07/03 13:17:17 1462
+@@ -21,12 +21,14 @@
+ # include "config.h"
+ #endif
+
++#include <sys/stat.h>
++#include <limits.h>
++#include <string.h>
++
+ #include <glib.h>
+ #include <glib/gi18n.h>
+ #include <gtk/gtk.h>
+ #include <gio/gio.h>
+-#include <limits.h>
+-#include <string.h>
+
+ #include "copy-theme-dialog.h"
+