summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-20 05:10:37 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-20 05:10:37 +0800
commit24dd6e3df6612f7f4a0af7372a090ac986577c2c (patch)
tree74c48956f08681745d793d0b780f8710395a9649 /x11-toolkits
parent3ca15f94f293a7ee8ec5966b1f04471e63eac329 (diff)
downloadmarcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.tar
marcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.tar.gz
marcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.tar.bz2
marcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.tar.lz
marcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.tar.xz
marcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.tar.zst
marcuscom-ports-24dd6e3df6612f7f4a0af7372a090ac986577c2c.zip
Update to 2.3.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1860 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/libgtk-java/Makefile3
-rw-r--r--x11-toolkits/libgtk-java/distinfo4
-rw-r--r--x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c17
3 files changed, 21 insertions, 3 deletions
diff --git a/x11-toolkits/libgtk-java/Makefile b/x11-toolkits/libgtk-java/Makefile
index 2dce4b48e..3d04f07c1 100644
--- a/x11-toolkits/libgtk-java/Makefile
+++ b/x11-toolkits/libgtk-java/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libgtk-java
-PORTVERSION= 2.3.4
+PORTVERSION= 2.3.5
CATEGORIES= x11-toolkits java
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.3
@@ -23,6 +23,7 @@ USE_JAVA= 1.2+
USE_GNOME= gnomehack gtk20
CONFIGURE_ARGS= --without-gcj-compile \
--with-java-prefix=${JAVA_HOME}
+CONFIGURE_ENV= DB2="/dev/null"
GTK_API_VERSION= 2.3
PLIST_SUB= GTK_API_VERSION=${GTK_API_VERSION} \
diff --git a/x11-toolkits/libgtk-java/distinfo b/x11-toolkits/libgtk-java/distinfo
index bec032911..7d8359aee 100644
--- a/x11-toolkits/libgtk-java/distinfo
+++ b/x11-toolkits/libgtk-java/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/libgtk-java-2.3.4.tar.bz2) = cbe235a1bf0843a03626d30d6c3eee4f
-SIZE (gnome2/libgtk-java-2.3.4.tar.bz2) = 366074
+MD5 (gnome2/libgtk-java-2.3.5.tar.bz2) = b63ea961b84b6cca0e2e19138158f48d
+SIZE (gnome2/libgtk-java-2.3.5.tar.bz2) = 373294
diff --git a/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c b/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c
new file mode 100644
index 000000000..3c42fe4cf
--- /dev/null
+++ b/x11-toolkits/libgtk-java/files/patch-gtk_src_jni_org_gnu_gtk_IconInfo.c
@@ -0,0 +1,17 @@
+--- gtk/src/jni/org_gnu_gtk_IconInfo.c.orig Thu Feb 19 14:18:04 2004
++++ gtk/src/jni/org_gnu_gtk_IconInfo.c Thu Feb 19 14:18:54 2004
+@@ -129,12 +129,13 @@
+ GdkPoint** point = g_malloc(sizeof(GdkPoint*) * (gint)numPoints);
+ jint* elements = (*env)->GetIntArrayElements(env, points, NULL);
+ int index;
++ gint gNumPoints = (gint)numPoints;
+
+ for (index = 0; index < (gint)numPoints; index++)
+ {
+ point[index] = (GdkPoint*)elements[index];
+ }
+- return gtk_icon_info_get_attach_points((GtkIconInfo*)info, point, &(gint)numPoints);
++ return gtk_icon_info_get_attach_points((GtkIconInfo*)info, point, &gNumPoints);
+ }
+
+ /*