Your message dated Sun, 24 May 2015 09:52:06 +0000
with message-id <[email protected]>
and subject line Bug#753405: fixed in haskell-network-info 0.2.0.5-4
has caused the Debian Bug report #753405,
regarding haskell-network-info: FTBFS on hurd-i386 (again)
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
753405: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753405
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-network-info
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd
Forwarded: https://github.com/jystic/network-info/pull/12
Dear maintainer,
attached patch fixes FTBFS on hurd.
Thanks for considering.
--- haskell-network-info-0.2.0.5.orig/cbits/network-unix.c
+++ haskell-network-info-0.2.0.5/cbits/network-unix.c
@@ -18,10 +18,12 @@
# define AF_PACKET AF_LINK
# endif
# endif
-# ifdef __sun
+# if defined(__sun) || defined(__GNU__)
# include <net/if_arp.h>
-# include <unistd.h>
# include <stropts.h>
+# endif
+# ifdef __sun
+# include <unistd.h>
# include <sys/sockio.h>
# endif
#endif
@@ -33,7 +35,7 @@
#include "network.h"
#include "common.h"
-#if defined(__sun) || !defined(AF_PACKET)
+#if defined(__sun) || (!defined(AF_PACKET) && defined(SIOCGARP))
int maccopy_arp(unsigned char *dst, struct sockaddr *addr)
{
// SOURCE DERIVED FROM: http://www.pauliesworld.org/project/getmac.c
@@ -130,14 +132,14 @@ int c_get_network_interfaces(struct netw
family = addr->sa_family;
if (family == AF_INET) {
ipv4copy(&n->ip_address, addr);
-#if defined(__sun) || !defined(AF_PACKET)
+#if defined(__sun) || (!defined(AF_PACKET) && defined(SIOCGARP))
if ((ifa->ifa_flags & IFF_LOOPBACK) == 0) {
maccopy_arp(n->mac_address, addr);
}
#endif
} else if (family == AF_INET6) {
ipv6copy(&n->ip6_address, addr);
-#if defined(__sun) || !defined(AF_PACKET)
+#if defined(__sun) || (!defined(AF_PACKET) && defined(SIOCGARP))
if ((ifa->ifa_flags & IFF_LOOPBACK) == 0) {
maccopy_arp(n->mac_address, addr);
}
--- End Message ---
--- Begin Message ---
Source: haskell-network-info
Source-Version: 0.2.0.5-4
We believe that the bug you reported is fixed in the latest version of
haskell-network-info, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joachim Breitner <[email protected]> (supplier of updated haskell-network-info
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 24 May 2015 11:37:45 +0200
Source: haskell-network-info
Binary: libghc-network-info-dev libghc-network-info-prof libghc-network-info-doc
Architecture: source amd64 all
Version: 0.2.0.5-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group
<[email protected]>
Changed-By: Joachim Breitner <[email protected]>
Description:
libghc-network-info-dev - listing network interfaces in
Haskell${haskell:ShortBlurb}
libghc-network-info-doc - listing network interfaces in
Haskell${haskell:ShortBlurb}
libghc-network-info-prof - listing network interfaces in
Haskell${haskell:ShortBlurb}
Closes: 753405
Changes:
haskell-network-info (0.2.0.5-4) unstable; urgency=medium
.
* Add hurd compat patch by Gabriele Giacone (Closes: 753405
Checksums-Sha1:
1b10541e849d9cb50d790eaf2d1206bcdded717a 2300
haskell-network-info_0.2.0.5-4.dsc
e45866e0ec7fca5bf124f22e105e8552ceaa56cc 3120
haskell-network-info_0.2.0.5-4.debian.tar.xz
3a819776ae6f44827d62dbc646459689f57aa977 41026
libghc-network-info-dev_0.2.0.5-4_amd64.deb
88b7e8ee3b09640cfb36c77ee1fc9fd1b5674ee0 31038
libghc-network-info-doc_0.2.0.5-4_all.deb
2d8c083c8993de243cf342d6625597e8c19b82d0 35374
libghc-network-info-prof_0.2.0.5-4_amd64.deb
Checksums-Sha256:
b833b4726a43b44a175087c1c411b69508a51d25ffb6303d3efb54fe36a046a7 2300
haskell-network-info_0.2.0.5-4.dsc
8aa85d081808f6f8dbe08d9e278eee8be73f879507f351440f6199f7d619a484 3120
haskell-network-info_0.2.0.5-4.debian.tar.xz
93d22fe0aae86547887fca63ee939923f14889d18fdf86e9b15cabcd0c0fe814 41026
libghc-network-info-dev_0.2.0.5-4_amd64.deb
b983b674a071de4336bb0a5b75692471fed564131ee3e86d4e5e2ed5c96bd351 31038
libghc-network-info-doc_0.2.0.5-4_all.deb
882f3c0ce85e6cc4fbfd15fa1cb0967c41c3a5faa0ebe1e14d1cbc326e1e5dd0 35374
libghc-network-info-prof_0.2.0.5-4_amd64.deb
Files:
c3bd09f2b31183f317b8fc271bac562c 2300 haskell extra
haskell-network-info_0.2.0.5-4.dsc
1c60356811a74ea056325bc850b01f8e 3120 haskell extra
haskell-network-info_0.2.0.5-4.debian.tar.xz
befc304ddd52ef6a99a01a929c7fc984 41026 haskell extra
libghc-network-info-dev_0.2.0.5-4_amd64.deb
bfc1f70e0acf85c76c868541508243ec 31038 doc extra
libghc-network-info-doc_0.2.0.5-4_all.deb
08c3843b8b5388389eee61f6b24ca3b6 35374 haskell extra
libghc-network-info-prof_0.2.0.5-4_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVYZzMAAoJED2QirPw+/Ufzh0P/0VsvSqNDtJWrx3I6Q2WbSdQ
R/zv69u5QquQcrJI/Jjgfxn7jbg0A4T93y5Y7gCkO0SYBPsvPZQcuQRYdInkvBxW
/TfFLXCHuz/cgw6yWlaIF/zW8HrtkIA7oOkG9NRrPJIcQli2HWaIK9F00YdSVoWy
de4rgm/pPRitKvVED9RMGmVSoo+QhT1hMqgdlrrLeDzQOYV8CQUlKCJTzYvRm2h0
YTW9IqMyb6U7W4eUaM2WgDawOSiyl/Sc/vH3Doj6oRACvp5HlnzAL0AxtVDNb6Ib
danaslVpNqL631oA/FWBGzfHJ1KeNBcgcOKmRFqdVcorcvjokFR+24Z/I/j/eRjT
QiRfpjvlYfmnwkL1G//K5vb8GQWoO/PMXVux8WeYUKbzPawRWryCNTsswXMvfik3
VbdWdmivdOlSzBIuXBQsBm1fTSFOHVMhOj+KGklPyfCrX8NLsEMaQRlYSG87dd/M
MrWqj3Zstj5q5z71VpTmYGhAYhL48JLeEZozy3rxum2bo22HYE1vHpza+zsRrRLX
Qcm3IQ4F0mds47M4ylVD2OZ0QdvfT192/MYmin0rAu7t4NuE6QX/i7LvOg917is2
Tg/+fUjvCsh5O0mUoMVtJ0C6TSw5XJeF2PGMLno1Ond7o7Sb2FR3dbdBZvuTegkp
HiWzz1loD/aZt1OABMJK
=IU84
-----END PGP SIGNATURE-----
--- End Message ---