summaryrefslogtreecommitdiff
path: root/www/gatling/files/patch-dl.c
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2009-05-28 17:21:46 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2009-05-28 17:21:46 +0000
commit0dd5bacf80f4f04feb6b03b9eac24673cd3d06f6 (patch)
tree346807d58e42e36896aa6401fc77f254878e6ee2 /www/gatling/files/patch-dl.c
parent- Update distinfo (diff)
- Update to 0.10
PR: ports/135027 Submitted by: Thomas-Martin Seck <tmseck@netcologne.de> (maintainer)
Diffstat (limited to 'www/gatling/files/patch-dl.c')
-rw-r--r--www/gatling/files/patch-dl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/gatling/files/patch-dl.c b/www/gatling/files/patch-dl.c
new file mode 100644
index 000000000000..e2828dc78ef7
--- /dev/null
+++ b/www/gatling/files/patch-dl.c
@@ -0,0 +1,13 @@
+--- dl.c.orig 2009-04-10 17:51:59.000000000 +0200
++++ dl.c 2009-04-10 17:56:31.000000000 +0200
+@@ -37,6 +37,10 @@
+ #include <assert.h>
+ #include <ctype.h>
+ #include <string.h>
++#include "havestrndup.h"
++#ifndef LIBC_HAS_STRNDUP
++char* strndup(const char*, size_t);
++#endif
+
+ int dostats;
+