diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libdnet/files/libdnet-1.14-strlcpy.patch | 10 | ||||
-rw-r--r-- | dev-libs/libdnet/libdnet-1.14.ebuild | 3 | ||||
-rw-r--r-- | dev-libs/libdnet/libdnet-9999.ebuild | 3 |
3 files changed, 16 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*/ diff --git a/dev-libs/libdnet/libdnet-1.14.ebuild b/dev-libs/libdnet/libdnet-1.14.ebuild index 122c57b6274d..8e8edf205be9 100644 --- a/dev-libs/libdnet/libdnet-1.14.ebuild +++ b/dev-libs/libdnet/libdnet-1.14.ebuild @@ -26,6 +26,9 @@ RESTRICT="test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DOCS=( README.md THANKS TODO ) S=${WORKDIR}/${PN}-${P} +PATCHES=( + "${FILESDIR}"/${PN}-1.14-strlcpy.patch +) src_prepare() { default diff --git a/dev-libs/libdnet/libdnet-9999.ebuild b/dev-libs/libdnet/libdnet-9999.ebuild index 3878f74646eb..ca4ff35ff01b 100644 --- a/dev-libs/libdnet/libdnet-9999.ebuild +++ b/dev-libs/libdnet/libdnet-9999.ebuild @@ -25,6 +25,9 @@ RDEPEND=" RESTRICT="test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" DOCS=( README.md THANKS TODO ) +PATCHES=( + "${FILESDIR}"/${PN}-1.14-strlcpy.patch +) src_prepare() { default |