packages: wireshark/wireshark-gcc43.patch (NEW) - new (fixe; "static declar...

adamg adamg at pld-linux.org
Tue Jun 23 22:49:00 CEST 2009


Author: adamg                        Date: Tue Jun 23 20:49:00 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new (fixe; "static declaratiosn of .... follows non-static declarationration"

---- Files affected:
packages/wireshark:
   wireshark-gcc43.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/wireshark/wireshark-gcc43.patch
diff -u /dev/null packages/wireshark/wireshark-gcc43.patch:1.1
--- /dev/null	Tue Jun 23 22:49:00 2009
+++ packages/wireshark/wireshark-gcc43.patch	Tue Jun 23 22:48:55 2009
@@ -0,0 +1,25 @@
+apture-pcap-util.c:399: error: static declaration of 'pcap_datalink_name_to_val' follows non-static declaration
+/usr/include/pcap/pcap.h:313: note: previous declaration of 'pcap_datalink_name_to_val' was here
+capture-pcap-util.c:414: error: static declaration of 'pcap_datalink_val_to_name' follows non-static declaration
+/usr/include/pcap/pcap.h:314: note: previous declaration of 'pcap_datalink_val_to_name' was here
+
+--- wireshark-1.2.0/capture-pcap-util.c~	2009-06-16 06:04:01.000000000 +0200
++++ wireshark-1.2.0/capture-pcap-util.c	2009-06-23 01:28:10.162762368 +0200
+@@ -395,7 +395,7 @@
+ };
+ 
+ #if !defined(HAVE_PCAP_DATALINK_NAME_TO_VAL)
+-static int
++int
+ pcap_datalink_name_to_val(const char *name)
+ {
+ 	int i;
+@@ -410,7 +410,7 @@
+ #endif /* defined(HAVE_PCAP_DATALINK_NAME_TO_VAL) */
+ 
+ #if !defined(HAVE_PCAP_DATALINK_VAL_TO_NAME)
+-static const char *
++const char *
+ pcap_datalink_val_to_name(int dlt)
+ {
+ 	int i;
================================================================


More information about the pld-cvs-commit mailing list