summaryrefslogtreecommitdiffstats
path: root/app-i18n/librcc/files/librcc-strnlen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/librcc/files/librcc-strnlen.patch')
-rw-r--r--app-i18n/librcc/files/librcc-strnlen.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-i18n/librcc/files/librcc-strnlen.patch b/app-i18n/librcc/files/librcc-strnlen.patch
new file mode 100644
index 0000000..5c2cec7
--- /dev/null
+++ b/app-i18n/librcc/files/librcc-strnlen.patch
@@ -0,0 +1,11 @@
+--- orig/src/rccstring.h
++++ mod/src/rccstring.h
+@@ -40,7 +40,7 @@
+
+ #ifdef HAVE_STRNLEN
+ # ifndef strnlen
+-int strnlen(const char *str, size_t size);
++size_t strnlen(const char *str, size_t size);
+ # endif /* !strnlen */
+ #else
+ int rccStrnlen(const char *str, size_t size);