diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-05 14:34:36 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-05 14:34:36 +0200 |
commit | 01a804d9f20a17d7a48eaace87ca1dea15ceb2e0 (patch) | |
tree | c6787b777ef147b974154b69f0a68b5fcc95f90f /dev-python/pypcap/files | |
parent | x11-misc/dmenu: Version bump. (diff) | |
download | gentoo-01a804d9f20a17d7a48eaace87ca1dea15ceb2e0.tar.gz gentoo-01a804d9f20a17d7a48eaace87ca1dea15ceb2e0.tar.bz2 gentoo-01a804d9f20a17d7a48eaace87ca1dea15ceb2e0.zip |
dev-python/pypcap: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
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; |