aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-03-10 04:43:01 +0800
committermiwi <miwi@FreeBSD.org>2009-03-10 04:43:01 +0800
commitc00d5b62dc783bbdd8e62d9006210b411abc1996 (patch)
tree64576f7363a569bb9fdd71535eb2438fc31eb154 /devel
parenta27add6138d59cc884c070cc13cdd7a259e49e27 (diff)
downloadfreebsd-ports-gnome-c00d5b62dc783bbdd8e62d9006210b411abc1996.tar.gz
freebsd-ports-gnome-c00d5b62dc783bbdd8e62d9006210b411abc1996.tar.zst
freebsd-ports-gnome-c00d5b62dc783bbdd8e62d9006210b411abc1996.zip
- Unbreak after strnlen addition
PR: 132482 Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r--devel/librcc/files/patch-src-rccstring.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/librcc/files/patch-src-rccstring.h b/devel/librcc/files/patch-src-rccstring.h
new file mode 100644
index 000000000000..791e1008ad0a
--- /dev/null
+++ b/devel/librcc/files/patch-src-rccstring.h
@@ -0,0 +1,15 @@
+--- src/rccstring.h.orig 2009-03-09 13:59:14.000000000 +0100
++++ src/rccstring.h 2009-03-09 13:59:20.000000000 +0100
+@@ -18,11 +18,7 @@
+ int rccStringFixID(rcc_string string, rcc_context ctx);
+ int rccStringChangeID(rcc_string string, rcc_language_id language_id);
+
+-#ifdef HAVE_STRNLEN
+-# ifndef strnlen
+-int strnlen(const char *str, size_t size);
+-# endif /* !strnlen */
+-#else
++#ifndef HAVE_STRNLEN
+ int rccStrnlen(const char *str, size_t size);
+ #endif /* HAVE_STRNLEN */
+ int rccIsASCII(const char *str);