pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44443: netatalk build failure on DragonFly BSD



>Number:         44443
>Category:       pkg
>Synopsis:       netatalk build failure on DragonFly BSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 22 21:35:00 +0000 2011
>Originator:     Matthias Rampke
>Release:        DragonFlyBSD 2.8.2
>Organization:
>Environment:
DragonFly zz.2pktfkt.net.2pktfkt.net 2.8-RELEASE DragonFly v2.8.2-RELEASE #2: 
Fri Oct 29 08:03:52 PDT 2010     
root%test29.backplane.com@localhost:/usr/obj/usr/src-misc/sys/X86_64_GENERIC_SMP
  x86_64
>Description:
netatalk compilation stops with


In file included from dsi_attn.c:17:
../../include/atalk/dsi.h:63: error: field `server' has incomplete type
../../include/atalk/dsi.h:63: error: field `client' has incomplete type


>How-To-Repeat:
Build on DragonFlyBSD (or old FreeBSD, judging from abovementioned report)
>Fix:
This has been solved on FreeBSD:

http://www.mail-archive.com/freebsd-questions%freebsd.org@localhost/msg233746.html

These two patches makes it work (from FreeBSD ports):
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/netatalk/files/patch-include_atalk_dsi.h?rev=1.1
http://www.freebsd.org/cgi/cvsweb.cgi/ports/net/netatalk/files/patch-include_atalk_util.h?rev=1.1

--

diff --git a/net/netatalk/distinfo b/net/netatalk/distinfo
index bcd16f1..eb040e9 100644
--- a/net/netatalk/distinfo
+++ b/net/netatalk/distinfo
@@ -17,3 +17,5 @@ SHA1 (patch-ao) = 1b140d7b8fc1df6b44b15a181ddc625744610bb9
 SHA1 (patch-ap) = 642051a6b4ab5336c334ef00b19d1e0091e33f06
 SHA1 (patch-aq) = 15eea1ce4d9721cfa29959990ee014f623f816a0
 SHA1 (patch-bj) = e1e0fc2be101554a2e0d53c24d113b593556eb41
+SHA1 (patch-bk) = d4fd2489297897a20c63c26f75d449f287bf229e
+SHA1 (patch-bl) = d7ac4472636b35b43642cb673f2595c88c30910a
diff --git a/net/netatalk/patches/patch-bk b/net/netatalk/patches/patch-bk
new file mode 100644
index 0000000..7df14fa
--- /dev/null
+++ b/net/netatalk/patches/patch-bk
@@ -0,0 +1,10 @@
+--- include/atalk/util.h.orig  2010-06-09 18:45:10.000000000 -0400
++++ include/atalk/util.h       2010-06-09 18:45:22.000000000 -0400
+@@ -17,6 +17,7 @@
+ 
+ #include <sys/cdefs.h>
+ #include <sys/types.h>
++#include <sys/socket.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif /* HAVE_UNISTD_H */
diff --git a/net/netatalk/patches/patch-bl b/net/netatalk/patches/patch-bl
new file mode 100644
index 0000000..28885f0
--- /dev/null
+++ b/net/netatalk/patches/patch-bl
@@ -0,0 +1,10 @@
+--- include/atalk/dsi.h.orig   2010-06-09 18:46:15.000000000 -0400
++++ include/atalk/dsi.h        2010-06-09 18:44:22.000000000 -0400
+@@ -11,6 +11,7 @@
+ #include <sys/time.h>
+ #include <signal.h>
+ 
++#include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <atalk/afp.h>
+ #include <atalk/server_child.h>



Home | Main Index | Thread Index | Old Index