summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-10-30 05:40:43 +0000
committerPeter Volkov <pva@gentoo.org>2008-10-30 05:40:43 +0000
commit5b275881950c09fd0df827dc8ba50d8657cdd88e (patch)
tree125bc7858ef743b003fb887f3fdad510fba7dc25 /net-analyzer/wireshark/files
parentBug #244946 - Use different syntax to pipe find output into while loops inside (diff)
downloadgentoo-2-5b275881950c09fd0df827dc8ba50d8657cdd88e.tar.gz
gentoo-2-5b275881950c09fd0df827dc8ba50d8657cdd88e.tar.bz2
gentoo-2-5b275881950c09fd0df827dc8ba50d8657cdd88e.zip
Build fails without zlib, this patch fixes it, bug #244931, thank emos696 AT hotmail.com for this work.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-openvz.git-35f41f1 i686)
Diffstat (limited to 'net-analyzer/wireshark/files')
-rw-r--r--net-analyzer/wireshark/files/wireshark-1.0.4-zlib-build.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/files/wireshark-1.0.4-zlib-build.patch b/net-analyzer/wireshark/files/wireshark-1.0.4-zlib-build.patch
new file mode 100644
index 000000000000..ccc8b60bf128
--- /dev/null
+++ b/net-analyzer/wireshark/files/wireshark-1.0.4-zlib-build.patch
@@ -0,0 +1,12 @@
+http://anonsvn.wireshark.org/viewvc?view=rev&revision=26524
+
+--- trunk-1.0/wiretap/file_access.c 2008/10/23 14:30:35 26523
++++ trunk-1.0/wiretap/file_access.c 2008/10/23 16:38:52 26524
+@@ -978,6 +978,7 @@
+ static FILE *wtap_dump_file_fdopen(wtap_dumper *wdh _U_, int fd)
+ {
+ return fdopen(fd, "wb");
++}
+ #endif
+
+ /* internally writing raw bytes (compressed or not) */