summaryrefslogtreecommitdiff
path: root/net/aria2/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'net/aria2/patches/patch-af')
-rw-r--r--net/aria2/patches/patch-af17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/aria2/patches/patch-af b/net/aria2/patches/patch-af
new file mode 100644
index 00000000000..3aab85774bc
--- /dev/null
+++ b/net/aria2/patches/patch-af
@@ -0,0 +1,17 @@
+$NetBSD: patch-af,v 1.3 2007/11/07 08:08:20 bjs Exp $
+
+--- src/strptime.c.orig 2007-08-28 12:36:33.000000000 -0400
++++ src/strptime.c
+@@ -43,7 +43,12 @@
+ #endif // HAVE_TIMEGM
+
+ #include <stddef.h>
++#if defined(HAVE_NBCOMPAT_H)
++#include <nbcompat/cdefs.h>
++#include <nbcompat/stdio.h>
++#else
+ #include <stdio.h>
++#endif
+ #include <time.h>
+ #include <string.h>
+ #include <ctype.h>