pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/gail Make this package build with Quartz GDK bac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35afcf3cf438
branches:  trunk
changeset: 522341:35afcf3cf438
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Dec 07 13:15:04 2006 +0000

description:
Make this package build with Quartz GDK backend.

http://bugzilla.gnome.org/show_bug.cgi?id=382925

diffstat:

 devel/gail/distinfo         |   3 ++-
 devel/gail/patches/patch-aa |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 717f4921ef56 -r 35afcf3cf438 devel/gail/distinfo
--- a/devel/gail/distinfo       Thu Dec 07 13:13:08 2006 +0000
+++ b/devel/gail/distinfo       Thu Dec 07 13:15:04 2006 +0000
@@ -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 -r 717f4921ef56 -r 35afcf3cf438 devel/gail/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gail/patches/patch-aa       Thu Dec 07 13:15:04 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index