summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-12-07 13:15:04 +0000
committerminskim <minskim@pkgsrc.org>2006-12-07 13:15:04 +0000
commit4d58247515f5e91b72503af5b9bc87c2928567bb (patch)
treee8230588c97e80303f4a8eb41ac825c67c2fe0cd /devel
parentcdfed02ca4dcb0f02222a7b742cd290a143fb03f (diff)
downloadpkgsrc-4d58247515f5e91b72503af5b9bc87c2928567bb.tar.gz
Make this package build with Quartz GDK backend.
http://bugzilla.gnome.org/show_bug.cgi?id=382925
Diffstat (limited to 'devel')
-rw-r--r--devel/gail/distinfo3
-rw-r--r--devel/gail/patches/patch-aa31
2 files changed, 33 insertions, 1 deletions
diff --git a/devel/gail/distinfo b/devel/gail/distinfo
index d620cb61292..4ef5cff26dc 100644
--- a/devel/gail/distinfo
+++ b/devel/gail/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.22 2006/10/17 16:54:29 drochner Exp $
+$NetBSD: distinfo,v 1.23 2006/12/07 13:15:04 minskim Exp $
SHA1 (gail-1.9.3.tar.bz2) = 2eab714213c23e11a6de74967c9d9c463516bb70
RMD160 (gail-1.9.3.tar.bz2) = 2fb1258a8bf09b1abab4e60edcf0fbe24893bb71
Size (gail-1.9.3.tar.bz2) = 622648 bytes
+SHA1 (patch-aa) = c321703038695750974b1b5adb41800887ed959b
diff --git a/devel/gail/patches/patch-aa b/devel/gail/patches/patch-aa
new file mode 100644
index 00000000000..e64d252c323
--- /dev/null
+++ b/devel/gail/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.5 2006/12/07 13:15:04 minskim Exp $
+
+http://bugzilla.gnome.org/show_bug.cgi?id=382925
+
+--- gail/gailwindow.c.orig 2006-09-12 10:40:48.000000000 -0700
++++ gail/gailwindow.c
+@@ -1071,6 +1071,24 @@ gail_window_get_mdi_zorder (AtkComponent
+ return 0; /* Punt, FIXME */
+ }
+
++#elif defined (GDK_WINDOWING_QUARTZ)
++
++static gint
++gail_window_get_mdi_zorder (AtkComponent *component)
++{
++ GtkWidget *widget = GTK_ACCESSIBLE (component)->widget;
++
++ if (widget == NULL)
++ /*
++ * State is defunct
++ */
++ return -1;
++
++ gail_return_val_if_fail (GTK_IS_WINDOW (widget), -1);
++
++ return 0; /* Punt, FIXME */
++}
++
+ #else
+ #error Port to this GDK backend
+ #endif