I've just uploaded an NMU to resolve this issue, debdiff follows.

diff -u wireshark-0.99.7/debian/changelog wireshark-0.99.7/debian/changelog
--- wireshark-0.99.7/debian/changelog
+++ wireshark-0.99.7/debian/changelog
@@ -1,3 +1,11 @@
+wireshark (0.99.7-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/18_strptime_proto.dpatch: Define __USE_XOPEN when
+    using the strptime function.  (closes: #452772)
+
+ -- dann frazier <[EMAIL PROTECTED]>  Mon, 10 Mar 2008 14:16:45 -0600
+
 wireshark (0.99.7-1) unstable; urgency=high
 
   * New upstream release.
diff -u wireshark-0.99.7/debian/patches/00list 
wireshark-0.99.7/debian/patches/00list
--- wireshark-0.99.7/debian/patches/00list
+++ wireshark-0.99.7/debian/patches/00list
@@ -14,0 +15 @@
+18_strptime_proto
only in patch2:
unchanged:
--- wireshark-0.99.7.orig/debian/patches/18_strptime_proto.dpatch
+++ wireshark-0.99.7/debian/patches/18_strptime_proto.dpatch
@@ -0,0 +1,45 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 18_striptime-include-fix.dpatch by Pavol Rusnak
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+--- a/text2pcap.c
++++ b/text2pcap.c
+@@ -77,6 +77,19 @@
+  * snaplength is automatically set to 64K.
+  */
+ 
++/*
++ * Just make sure we include the prototype for strptime as well
++ * (needed for glibc 2.2) but make sure we do this only if not
++ * yet defined.
++ */
++
++#ifndef __USE_XOPEN
++#  define __USE_XOPEN
++#endif
++#ifndef _XOPEN_SOURCE
++#  define _XOPEN_SOURCE
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ # include "config.h"
+ #endif
+@@ -87,15 +100,6 @@
+ #include <string.h>
+ #include <wiretap/file_util.h>
+ 
+-/*
+- * Just make sure we include the prototype for strptime as well
+- * (needed for glibc 2.2) but make sure we do this only if not
+- * yet defined.
+- */
+-#ifndef __USE_XOPEN
+-#  define __USE_XOPEN
+-#endif
+-
+ #include <time.h>
+ #include <glib.h>
+ 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to