Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 12:18:51 +0100 (CET)
From:      "Michael L.Hostbaek" <mich@freebsdcluster.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46229: Fix build on -CURRENT for sysutils/ah-tty
Message-ID:  <20021213111851.DB0893A@icommerce-france.com>

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

>Number:         46229
>Category:       ports
>Synopsis:       Fix build on -CURRENT for sysutils/ah-tty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 13 03:20:06 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael L. Hostbaek
>Release:        FreeBSD 5.0-RC i386
>Organization:
FreeBSDCluster.org
>Environment:
System: FreeBSD current.itxmarket.com 5.0-RC FreeBSD 5.0-RC #0: Thu Dec 12 10:31:50 CET 2002 root@current.itxmarket.com:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	Fix build on -CURRENT.
>How-To-Repeat:
>Fix:

	
diff -u -ruN ah-tty.bak/Makefile ah-tty/Makefile
--- ah-tty.bak/Makefile	Fri Dec 13 12:03:50 2002
+++ ah-tty/Makefile	Fri Dec 13 11:34:27 2002
@@ -21,5 +21,7 @@
 post-patch:
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \
 		${WRKSRC}/dillib/vty/vtlabel.c
+	@${REINPLACE_CMD} -e 's|##x|x|' \
+		${WRKSRC}/include/platform.h
 
 .include <bsd.port.mk>
diff -u -ruN ah-tty.bak/files/patch-aa ah-tty/files/patch-aa
--- ah-tty.bak/files/patch-aa	Thu Jan  1 01:00:00 1970
+++ ah-tty/files/patch-aa	Fri Dec 13 11:55:11 2002
@@ -0,0 +1,20 @@
+--- include/LDL.h.orig	Fri Dec 13 11:54:46 2002
++++ include/LDL.h	Fri Dec 13 11:55:01 2002
+@@ -20,8 +20,6 @@
+ # endif
+ # include <string.h>
+ 
+-#if !defined(HAVE_INSQUE) && !defined(HAVE_REMQUE)
+-/* the insque, remque are not defined, we need to define the type for them */
+ typedef struct qelem
+ {
+    struct qelem* q_forw,* q_back;
+@@ -49,8 +47,6 @@
+    if (elem->q_forw) elem->q_forw->q_back = elem->q_back;
+    if (elem->q_back) elem->q_back->q_forw = elem->q_forw;
+ }
+-#endif
+-
+ #endif
+ 
+ 

>Release-Note:
>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?20021213111851.DB0893A>