summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-07-19 04:24:42 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-07-19 04:24:42 +0000
commit11e2dc6f4bdba085e1dc8902b09f49792713a18a (patch)
tree8be5236da6b8a864e3670dbe8ff047f222e70131 /dev-java/swt/files
parentfix check_disk patch (diff)
downloadgentoo-2-11e2dc6f4bdba085e1dc8902b09f49792713a18a.tar.gz
gentoo-2-11e2dc6f4bdba085e1dc8902b09f49792713a18a.tar.bz2
gentoo-2-11e2dc6f4bdba085e1dc8902b09f49792713a18a.zip
fix cairo signededness patch; wont someone please give me an x86_64 box?
(Portage version: 2.1.1_pre3-r1)
Diffstat (limited to 'dev-java/swt/files')
-rw-r--r--dev-java/swt/files/swt-3.2-cairo-signedness-x86.patch11
-rw-r--r--dev-java/swt/files/swt-3.2-cairo-signedness-x86_64.patch11
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-java/swt/files/swt-3.2-cairo-signedness-x86.patch b/dev-java/swt/files/swt-3.2-cairo-signedness-x86.patch
new file mode 100644
index 000000000000..e7bc1d505dda
--- /dev/null
+++ b/dev-java/swt/files/swt-3.2-cairo-signedness-x86.patch
@@ -0,0 +1,11 @@
+--- cairo.c 2006-07-16 19:16:27.000000000 -0500
++++ cairo.c 2006-07-16 19:18:15.000000000 -0500
+@@ -533,7 +533,7 @@
+ {
+ jint rc = 0;
+ Cairo_NATIVE_ENTER(env, that, cairo_1image_1surface_1create_1for_1data_FUNC);
+- rc = (jint)cairo_image_surface_create_for_data((char *)arg0, arg1, arg2, arg3, arg4);
++ rc = (jint)cairo_image_surface_create_for_data((unsigned char *)arg0, arg1, arg2, arg3, arg4);
+ Cairo_NATIVE_EXIT(env, that, cairo_1image_1surface_1create_1for_1data_FUNC);
+ return rc;
+ }
diff --git a/dev-java/swt/files/swt-3.2-cairo-signedness-x86_64.patch b/dev-java/swt/files/swt-3.2-cairo-signedness-x86_64.patch
new file mode 100644
index 000000000000..1a560bf1e483
--- /dev/null
+++ b/dev-java/swt/files/swt-3.2-cairo-signedness-x86_64.patch
@@ -0,0 +1,11 @@
+--- cairo.c 2006-07-17 16:02:31.000000000 +0200
++++ cairo.c 2006-07-17 16:02:46.000000000 +0200
+@@ -533,7 +533,7 @@
+ {
+ jlong rc = 0;
+ Cairo_NATIVE_ENTER(env, that, cairo_1image_1surface_1create_1for_1data_FUNC);
+- rc = (jlong)cairo_image_surface_create_for_data((char *)arg0, arg1, arg2, arg3, arg4);
++ rc = (jlong)cairo_image_surface_create_for_data((unsigned char *)arg0, arg1, arg2, arg3, arg4);
+ Cairo_NATIVE_EXIT(env, that, cairo_1image_1surface_1create_1for_1data_FUNC);
+ return rc;
+ }