diff options
Diffstat (limited to 'dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch')
-rw-r--r-- | dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch b/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch deleted file mode 100644 index 8cf41ec28974..000000000000 --- a/dev-python/pypcap/files/pypcap-1.2.3-mktemp.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- 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> -@@ -300,7 +300,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; |