summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-02-14 13:08:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-02-14 13:08:06 +0000
commita829ac846d5cba3244918c4131ba468616803213 (patch)
treee92454491d029fe78920fdefbeef6031d2abd3e3 /x11-misc/xscreensaver/files
parentStable for HPPA (bug #209463). (diff)
downloadhistorical-a829ac846d5cba3244918c4131ba468616803213.tar.gz
historical-a829ac846d5cba3244918c4131ba468616803213.tar.bz2
historical-a829ac846d5cba3244918c4131ba468616803213.zip
Compile time fixes for bugs #209341 and #208731.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'x11-misc/xscreensaver/files')
-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"\