Your message dated Wed, 08 Aug 2007 21:52:27 +0200
with message-id <[EMAIL PROTECTED]>
and subject line traceroute: FTBFS on GNU/kFreeBSD
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: traceroute
Severity: important
Version: 1.4a12-21
Tags: patch


Hi,

the current version fails to build on GNU/kFreeBSD.

It needs small tweak to debian packaging,
configure.in/configure and for compliance with gcc-4.1 .
Please find attached patch with that.

It would also be nice if you can ask upstream
to include this changes.

Thanks in advance

                        Petr

diff -u traceroute-1.4a12/debian/rules traceroute-1.4a12/debian/rules
--- traceroute-1.4a12/debian/rules
+++ traceroute-1.4a12/debian/rules
@@ -17,7 +17,7 @@
 
        # Building package
        if [ ! -f Makefile ]; then ./configure; fi
-       $(MAKE) CCOPT="$(CFLAGS) -D_GNU_SOURCE"
+       $(MAKE) CCOPT="$(CFLAGS) -D_BSD_SOURCE"
 
        touch build-stamp
 
diff -u traceroute-1.4a12/configure.in traceroute-1.4a12/configure.in
--- traceroute-1.4a12/configure.in
+++ traceroute-1.4a12/configure.in
@@ -39,7 +39,7 @@
        AC_DEFINE(HAVE_RAW_OPTIONS)
        ;;
 
-freebsd*)
+freebsd*|kfreebsd*)
        AC_DEFINE(HAVE_RAW_OPTIONS)
        ;;
 
diff -u traceroute-1.4a12/configure traceroute-1.4a12/configure
--- traceroute-1.4a12/configure
+++ traceroute-1.4a12/configure
@@ -4312,7 +4312,7 @@
 
        ;;
 
-freebsd*)
+freebsd*|kfreebsd*)
        cat >>confdefs.h <<\_ACEOF
 #define HAVE_RAW_OPTIONS 1
 _ACEOF
diff -u traceroute-1.4a12/findsaddr-socket.c 
traceroute-1.4a12/findsaddr-socket.c
--- traceroute-1.4a12/findsaddr-socket.c
+++ traceroute-1.4a12/findsaddr-socket.c
@@ -216,7 +216,7 @@
                                }
                                break;
 
-                       default:
+                       default:;
                                /* empty */
                        }
 

--- End Message ---
--- Begin Message ---
Version: 2.0.7-1

Hi,

bug was present to the previous used implementation from BSD, hence
closing this bug.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          [EMAIL PROTECTED]
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply via email to