aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/libgail-gnome
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-07-24 15:18:05 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-07-24 15:18:05 +0000
commit264f9789e771b642bdda58b0861790b0a9a9c45b (patch)
treeeb09d77228bb8884bd796279278a30afb3dfc063 /x11-toolkits/libgail-gnome
parent037bfcddeb3626b49c5be35c6a3e163fb77a5d53 (diff)
downloadports-264f9789e771b642bdda58b0861790b0a9a9c45b.tar.gz
ports-264f9789e771b642bdda58b0861790b0a9a9c45b.zip
[1] Only utilize ATK_ROLE_EMBEDDED if it exists.
Utilize lthack. Submitted by: [1] many
Notes
Notes: svn path=/head/; revision=114570
Diffstat (limited to 'x11-toolkits/libgail-gnome')
-rw-r--r--x11-toolkits/libgail-gnome/Makefile2
-rw-r--r--x11-toolkits/libgail-gnome/files/patch-configure13
-rw-r--r--x11-toolkits/libgail-gnome/files/patch-gail-gnome::panel-applet-atk-object.c12
3 files changed, 13 insertions, 14 deletions
diff --git a/x11-toolkits/libgail-gnome/Makefile b/x11-toolkits/libgail-gnome/Makefile
index ae27ac61d490..a2777bd4eacf 100644
--- a/x11-toolkits/libgail-gnome/Makefile
+++ b/x11-toolkits/libgail-gnome/Makefile
@@ -21,7 +21,7 @@ USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
USE_INC_LIBTOOL_VER=13
GNOME_DESKTOP_VERSION=2
-USE_GNOME= gnomeprefix gnomehack gnomepanel atspi
+USE_GNOME= gnomeprefix gnomehack gnomepanel atspi lthack
CONFIGURE_ARGS= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/x11-toolkits/libgail-gnome/files/patch-configure b/x11-toolkits/libgail-gnome/files/patch-configure
deleted file mode 100644
index f3dc189b78bb..000000000000
--- a/x11-toolkits/libgail-gnome/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- configure 2002/04/26 14:06:24 1.1
-+++ configure 2002/04/26 14:06:33
-@@ -6479,6 +6479,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/x11-toolkits/libgail-gnome/files/patch-gail-gnome::panel-applet-atk-object.c b/x11-toolkits/libgail-gnome/files/patch-gail-gnome::panel-applet-atk-object.c
new file mode 100644
index 000000000000..1873a32ba993
--- /dev/null
+++ b/x11-toolkits/libgail-gnome/files/patch-gail-gnome::panel-applet-atk-object.c
@@ -0,0 +1,12 @@
+--- gail-gnome/panel-applet-atk-object.c.orig Sat Jul 24 11:09:32 2004
++++ gail-gnome/panel-applet-atk-object.c Sat Jul 24 11:10:42 2004
+@@ -112,7 +112,9 @@
+
+ applet_atk_object_priv = panel_applet_atk_object_private_create (applet);
+ g_object_set_data (G_OBJECT (retval), applet_atk_priv, applet_atk_object_priv);
++#ifdef ATK_ROLE_EMBEDDED
+ atk_object_set_role (ATK_OBJECT (retval), ATK_ROLE_EMBEDDED);
++#endif
+
+ return ATK_OBJECT (retval);
+ }