summaryrefslogtreecommitdiff
path: root/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch')
-rw-r--r--dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch b/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch
new file mode 100644
index 000000000000..abc3a6b0f2d3
--- /dev/null
+++ b/dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch
@@ -0,0 +1,10 @@
+--- a/python/dnet.c
++++ b/python/dnet.c
+@@ -22,6 +22,7 @@
+ #endif
+ __PYX_EXTERN_C double pow(double, double);
+ #include "dnet.h"
++#include "config.h"
+
+
+ typedef struct {const char *s; const void **p;} __Pyx_CApiTabEntry; /*proto*/