diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pypcap/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pypcap/files')
-rw-r--r-- | dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch b/dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch new file mode 100644 index 000000000000..9bc3f3639c9f --- /dev/null +++ b/dev-python/pypcap/files/pypcap-1.1.6-mktemp.patch @@ -0,0 +1,19 @@ +--- a/pcap_ex.c ++++ b/pcap_ex.c +@@ -11,6 +11,7 @@ + # include <string.h> + # include <signal.h> + # include <unistd.h> ++# include <stdlib.h> + #endif + + #include <pcap.h> +@@ -290,7 +291,7 @@ + char ebuf[PCAP_ERRBUF_SIZE]; + int ret = -1; + +- mktemp(path); ++ mkstemp(path); + if ((f = fopen(path, "w")) != NULL) { + hdr.magic = 0xa1b2c3d4; + hdr.version_major = PCAP_VERSION_MAJOR; |