summaryrefslogtreecommitdiff
path: root/textproc/icu/patches
diff options
context:
space:
mode:
authordholland <dholland>2012-07-06 04:54:25 +0000
committerdholland <dholland>2012-07-06 04:54:25 +0000
commit4bb5c28384f1db163c29e8b5e750d5875e4b2d15 (patch)
tree01319349627e45d3f48a47e9e6f999778391503f /textproc/icu/patches
parent2808ea1db01206b5cfc59db2189f192311cd472b (diff)
downloadpkgsrc-4bb5c28384f1db163c29e8b5e750d5875e4b2d15.tar.gz
Functions with empty args should be declared (void), not (). Fixes build
of lang/parrot. PKGREVISION -> 1.
Diffstat (limited to 'textproc/icu/patches')
-rw-r--r--textproc/icu/patches/patch-common_unicode_uset_h15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/icu/patches/patch-common_unicode_uset_h b/textproc/icu/patches/patch-common_unicode_uset_h
new file mode 100644
index 00000000000..80d1cdc1add
--- /dev/null
+++ b/textproc/icu/patches/patch-common_unicode_uset_h
@@ -0,0 +1,15 @@
+$NetBSD: patch-common_unicode_uset_h,v 1.1 2012/07/06 04:54:25 dholland Exp $
+
+Declare functions with prototypes. (Otherwise some client packages break.)
+
+--- common/unicode/uset.h.orig 2012-06-01 14:52:36.000000000 +0000
++++ common/unicode/uset.h
+@@ -251,7 +251,7 @@ typedef struct USerializedSet {
+ * @stable ICU 4.2
+ */
+ U_STABLE USet* U_EXPORT2
+-uset_openEmpty();
++uset_openEmpty(void);
+
+ /**
+ * Creates a USet object that contains the range of characters