On Wed, Mar 18, 2009 at 10:33:23PM +0100, Petr Salinger wrote:
>Package: pciutils
>Severity: important
>Version: 1:3.1.2-1
>Tags: patch
>User: [email protected]
>Usertags: kfreebsd
>
>Hi,
>
>the current version fails to build on GNU/kFreeBSD.
>
>It needs tweak to lib/configure, see bellow.
>
>It would also be nice if you can ask upstream to include similar
>change.

Martin, please merge Petr's patch.

>Thanks in advance
>
>                        Petr
>
>
>--- lib/configure~      2009-01-30 14:06:25.000000000 +0100
>+++ lib/configure       2009-03-18 22:01:56.000000000 +0100
>@@ -33,6 +33,7 @@
>        fi
>        if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ]
>        then
>+               realsys=$sys
>                sys=freebsd
>        fi
>        if [ "$sys" = "CYGWIN_NT-5.1" -o "$sys" = "CYGWIN_NT-6.0" ]
>@@ -89,7 +90,10 @@
>                echo_n " fbsd-device"
>                echo >>$c '#define PCI_HAVE_PM_FBSD_DEVICE'
>                echo >>$c '#define PCI_PATH_FBSD_DEVICE "/dev/pci"'
>-               LIBRESOLV=
>+               if [ "$realsys" != "GNU/kFreeBSD" ]
>+               then
>+                 LIBRESOLV=
>+               fi
>                ;;
>         openbsd)
>                echo_n " obsd-device"



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

Reply via email to