summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xscreensaver/files/xscreensaver-5.04-build.patch')
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.04-build.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.04-build.patch b/x11-misc/xscreensaver/files/xscreensaver-5.04-build.patch
new file mode 100644
index 000000000000..e264bbc1345b
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.04-build.patch
@@ -0,0 +1,29 @@
+diff -ur xscreensaver-5.04.orig/driver/demo-Gtk.c xscreensaver-5.04/driver/demo-Gtk.c
+--- xscreensaver-5.04.orig/driver/demo-Gtk.c 2007-04-10 04:56:40.000000000 +0300
++++ xscreensaver-5.04/driver/demo-Gtk.c 2008-02-14 14:58:09.000000000 +0200
+@@ -1127,7 +1127,7 @@
+ if (!was) gtk_widget_set_sensitive (parent, True);
+ #ifdef HAVE_GTK2
+ model = gtk_tree_view_get_model (GTK_TREE_VIEW (list));
+- STFU g_assert (model);
++ g_assert (model);
+ if (gtk_tree_model_iter_nth_child (model, &iter, NULL, list_elt))
+ {
+ selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (list));
+diff -ur xscreensaver-5.04.orig/hacks/glx/lockward.c xscreensaver-5.04/hacks/glx/lockward.c
+--- xscreensaver-5.04.orig/hacks/glx/lockward.c 2007-11-11 22:52:42.000000000 +0200
++++ xscreensaver-5.04/hacks/glx/lockward.c 2008-02-14 14:57:01.000000000 +0200
+@@ -34,6 +34,13 @@
+ /***************************************************************************
+ * #defines
+ */
++#define int8_t char
++#define int16_t short
++#define int32_t int
++#define uint8_t unsigned char
++#define uint16_t unsigned short
++#define uint32_t unsigned int
++
+ #ifdef USE_GL /* whole file */
+
+ #define DEFAULTS "*delay: 20000 \n"\