aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2004-12-29 12:45:48 +0800
committerahze <ahze@FreeBSD.org>2004-12-29 12:45:48 +0800
commit4b3bda38d6734f6413b660000ab21551e195e77a (patch)
tree84da754ab30bdb128aeb437aba473591bbec1d34
parent238d49b3663d026e2ea33763a1a16516810d2cbe (diff)
downloadfreebsd-ports-gnome-4b3bda38d6734f6413b660000ab21551e195e77a.tar.gz
freebsd-ports-gnome-4b3bda38d6734f6413b660000ab21551e195e77a.tar.zst
freebsd-ports-gnome-4b3bda38d6734f6413b660000ab21551e195e77a.zip
Add forgotten patches to fix build on 4.x
-rw-r--r--www/kazehakase/files/patch-src::kz-popup-preview.c17
-rw-r--r--www/kazehakase/files/patch-src::kz-window.c29
2 files changed, 46 insertions, 0 deletions
diff --git a/www/kazehakase/files/patch-src::kz-popup-preview.c b/www/kazehakase/files/patch-src::kz-popup-preview.c
new file mode 100644
index 000000000000..8e427ab774dd
--- /dev/null
+++ b/www/kazehakase/files/patch-src::kz-popup-preview.c
@@ -0,0 +1,17 @@
+--- src/kz-popup-preview.c.orig Tue Dec 28 23:16:00 2004
++++ src/kz-popup-preview.c Tue Dec 28 23:16:50 2004
+@@ -529,13 +529,13 @@
+ }
+ else
+ {
++ GdkPixbuf *scaled_pixbuf, *orig_pixbuf;
+ gint width = DEFAULT_WIDTH;
+ gint height = DEFAULT_HEIGHT;
+
+ KZ_CONF_GET("Popup", "width", width, INT);
+ KZ_CONF_GET("Popup", "height", height, INT);
+
+- GdkPixbuf *scaled_pixbuf, *orig_pixbuf;
+
+ orig_pixbuf = gdk_pixbuf_new_from_file(popup_file_name, NULL);
+ if (!orig_pixbuf) return NULL;
diff --git a/www/kazehakase/files/patch-src::kz-window.c b/www/kazehakase/files/patch-src::kz-window.c
new file mode 100644
index 000000000000..4e0559ad7761
--- /dev/null
+++ b/www/kazehakase/files/patch-src::kz-window.c
@@ -0,0 +1,29 @@
+--- src/kz-window.c.orig Wed Dec 22 02:51:51 2004
++++ src/kz-window.c Tue Dec 28 22:33:41 2004
+@@ -1373,6 +1373,11 @@
+ {
+ KzWindow *kz;
+
++ gboolean shortcircuit;
++ gboolean force_chain;
++ gboolean handled;
++ guint modifier;
++
+ g_return_val_if_fail(KZ_IS_WINDOW(widget), FALSE);
+
+ kz = KZ_WINDOW(widget);
+@@ -1386,10 +1391,10 @@
+ * rules, we might be doing them a favour.
+ */
+
+- gboolean shortcircuit = FALSE;
+- gboolean force_chain = FALSE;
+- gboolean handled = FALSE;
+- guint modifier = event->state & gtk_accelerator_get_default_mod_mask ();
++ shortcircuit = FALSE;
++ force_chain = FALSE;
++ handled = FALSE;
++ modifier = event->state & gtk_accelerator_get_default_mod_mask ();
+ /* guint i; */
+
+ if (event->keyval == GDK_Escape)