Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 19:03:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217054] [patch] dns/void-zones-tools: update to e38ba1e (adds ARM support)
Message-ID:  <bug-217054-13-vXQl63uk74@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217054-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217054-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217054

--- Comment #3 from mikael.urankar@gmail.com ---
It mostly works on armv6 :)

There is a bug (copy/paste error) in domainlen for !x86 arch: some files ar=
en't
'parsed' correcly and it results in an empty host/zone local-void.zones.

hosts2zones /tmp/local-void.zones /usr/local/etc/void-zones/x_void_list.txt
Number of Hosts: 0
Number of Zones: 0

--- binutils.h.orig     2017-02-14 19:55:10.775822000 +0100
+++ binutils.h  2017-02-14 19:54:57.719906000 +0100
@@ -365,7 +365,7 @@ typedef long long     llong;
          return 0;

       int l;
-      for (l =3D 0; domain[l] && domain[l] !=3D '|'; l++)
+      for (l =3D 0; domain[l] && domain[l] !=3D '.'; l++)
          ;
       return l;
    }

I submitted a PR:
https://github.com/cyclaero/void-zones-tools/pull/2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217054-13-vXQl63uk74>