Bug#341598: libdumbnet: FTBFS on GNU/kFreeBSD

2005-12-01 Thread Petr Salinger
Package: libdumbnet 
Severity: important

Version: 1.8-1.3
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD.
Please find a small tweak to configure.in/configure bellow.

Thanks in advance

Petr


diff -u libdumbnet-1.8/configure.in libdumbnet-1.8/configure.in
--- libdumbnet-1.8/configure.in
+++ libdumbnet-1.8/configure.in
@@ -244,7 +244,7 @@
 elif test $ac_cv_header_netinet_ip_fw_h = yes ; then
  dnl XXX - ipfw2 support later...
  case $host_os in
- *freebsd5*)
+ *freebsd5* | *kfreebsd*)
AC_LIBOBJ([fw-none]) ;;
  *)
AC_LIBOBJ([fw-ipfw]) ;;
diff -u libdumbnet-1.8/configure libdumbnet-1.8/configure
--- libdumbnet-1.8/configure
+++ libdumbnet-1.8/configure
@@ -22048,7 +22048,7 @@

 elif test $ac_cv_header_netinet_ip_fw_h = yes ; then
   case $host_os in
- *freebsd5*)
+ *freebsd5* | *kfreebsd*)
case $LIBOBJS in
 fw-none.$ac_objext   | \
   * fw-none.$ac_objext   | \



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



Bug#341598: libdumbnet: FTBFS on GNU/kFreeBSD

2005-12-01 Thread Simon Law
On Thu, Dec 01, 2005 at 05:20:27PM +0100, Petr Salinger wrote:
 Package: libdumbnet 
 Severity: important
 Version: 1.8-1.3
 Tags: patch
 
 Hi,
 
 the current version fails to build on GNU/kFreeBSD.
 Please find a small tweak to configure.in/configure bellow.

Woah.

Your patch will totally get eaten the next time I run autoconf.  Could
you not get the autoconf maintainers to accept a global patch that fixes
this?

-- 
Simon Law http://www.law.yi.org/~sfllaw/


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



Bug#341598: libdumbnet: FTBFS on GNU/kFreeBSD

2005-12-01 Thread Petr Salinger
Hello Simon,

thanks for your quick reply.

 Your patch will totally get eaten the next time I run autoconf.  

I don't think so - the patch has two parts:

- one line fix for configure.in
- corresponding one line fix for configure - equal to rerun autoconf

 Could you not get the autoconf maintainers to accept 
 a global patch that fixes this?

I am sorry, but this is not possible,
because kfreebsd is not equal to freebsd5.
kfreebsd5 have almost the same (but not totally) kernel as freebsd5, 
but completely different userspace.

In libdumbnet configure(.in) context, the host_os is used instead 
of more sophisticated test whether fw-ipfw.c should be build.

Please, could you reconsider adding this one line fix ?
Thanks in advance. 

Petr



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



Bug#341598: libdumbnet: FTBFS on GNU/kFreeBSD

2005-12-01 Thread Simon Law
On Thu, Dec 01, 2005 at 09:58:12PM +0100, Petr Salinger wrote:
 Please, could you reconsider adding this one line fix ?

Sorry about that.  I completely read your patch wrong.

I will apply this to libdumbnet, yes.

Thanks for your contribution.

-- 
Simon Law http://www.law.yi.org/~sfllaw/


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