Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 06:37:27 -0500 (EST)
From:      Don Croyle <croyle@gelemna.ft-wayne.in.us>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7643: net/netatalk doesn't build under -current (with fix)
Message-ID:  <199808171137.GAA11315@emerson.gelemna.ft-wayne.in.us>

next in thread | raw e-mail | index | archive | help

>Number:         7643
>Category:       ports
>Synopsis:       net/netatalk doesn't build under -current (with fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 17 04:40:01 PDT 1998
>Last-Modified:
>Originator:     Don Croyle
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:
A current -current.
	

>Description:
Looks like an #includes order problem.  The build dies here:

gcc -p -DBSD4_4 -O2 -I../../include -c asp_getsess.c
In file included from asp_getsess.c:7:
/usr/include/sys/signal.h:163: parse error before `size_t'
/usr/include/sys/signal.h:163: warning: no semicolon at end of struct or union
/usr/include/sys/signal.h:165: parse error before `}'
*** Error code 1

Stop.

	

>How-To-Repeat:
Build net/netatalk on a system build with recent current sources.
	

>Fix:
Apply this patch.  It adds a new file, patches/patch-ag	
	

diff -ruN netatalk.old/patches/patch-ag netatalk/patches/patch-ag
--- netatalk.old/patches/patch-ag	Wed Dec 31 19:00:00 1969
+++ netatalk/patches/patch-ag	Sun Aug 16 14:49:31 1998
@@ -0,0 +1,14 @@
+--- libatalk/asp/asp_getsess.c.orig	Sat Oct 19 16:13:22 1996
++++ libatalk/asp/asp_getsess.c	Sun Aug 16 14:48:15 1998
+@@ -3,10 +3,10 @@
+  * All Rights Reserved.  See COPYRIGHT.
+  */
+ 
++#include <sys/types.h>
+ #include <sys/errno.h>
+ #include <sys/signal.h>
+ #include <sys/time.h>
+-#include <sys/types.h>
+ #include <sys/uio.h>
+ #include <sys/wait.h>
+ #include <sys/syslog.h>
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808171137.GAA11315>