summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2007-05-01 18:23:58 +0000
committervd <vd@FreeBSD.org>2007-05-01 18:23:58 +0000
commit46443cdda58decbf466a15c8546663b1377105c1 (patch)
tree0c50a62520a3a999feefd07be0677c2b4444dad6 /textproc
parenta7c3d01a9b0d3987a0d8ee9b72ba43a90a1f73fa (diff)
downloadFreeBSD-ports-46443cdda58decbf466a15c8546663b1377105c1.zip
FreeBSD-ports-46443cdda58decbf466a15c8546663b1377105c1.tar.gz
Remove patch-src_plugins_pngextractor.c: libextractor now has its own
implementation of strnlen().
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libextractor/files/patch-src_plugins_pngextractor.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/textproc/libextractor/files/patch-src_plugins_pngextractor.c b/textproc/libextractor/files/patch-src_plugins_pngextractor.c
deleted file mode 100644
index 4109d81..0000000
--- a/textproc/libextractor/files/patch-src_plugins_pngextractor.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/plugins/pngextractor.c.orig Tue Oct 4 22:36:11 2005
-+++ src/plugins/pngextractor.c Tue Oct 4 22:36:40 2005
-@@ -23,6 +23,13 @@
- #include <zlib.h>
- #include "convert.h"
-
-+size_t
-+strnlen (const char *string, size_t maxlen)
-+{
-+ const char *end = memchr (string, '\0', maxlen);
-+ return end ? (size_t) (end - string) : maxlen;
-+}
-+
- static char * stndup(const char * str,
- size_t n) {
- char * tmp;
OpenPOWER on IntegriCloud