Package: pvm Severity: important Version: 3.4.5-7 Tags: patch
Hi, the current version fails to build on GNU/kFreeBSD. It needs small tweaks, see attached patch. It would be nice if it could be included in the next upload. Thanks in advance, Petr
diff -u pvm-3.4.5/debian/getpvmarch pvm-3.4.5/debian/getpvmarch --- pvm-3.4.5/debian/getpvmarch +++ pvm-3.4.5/debian/getpvmarch @@ -2,7 +2,7 @@ eval `dpkg-architecture` -case $DEB_BUILD_ARCH in +case $DEB_HOST_ARCH_CPU in i386) echo LINUX ;; unchanged: --- pvm-3.4.5.orig/src/host.c +++ pvm-3.4.5/src/host.c @@ -1005,7 +1005,11 @@ } /* On some FreeBSD systems: */ /* if (IFF_UP & req.ifr_flags) { */ +#ifdef __FreeBSD_kernel__ + if (IFF_UP & req.ifr_flags) { +#else if (IFF_UP & req.ifr_ifru.ifru_flags) { +#endif if (nip > 0 && !(nip % 10)) iplist = TREALLOC(iplist, (nip + 10), struct in_addr); iplist[nip++] =