From alex@armada.alexdupre.com  Tue Oct 28 05:30:07 2003
Return-Path: <alex@armada.alexdupre.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1546E16A4CE; Tue, 28 Oct 2003 05:30:07 -0800 (PST)
Received: from relay.gufi.org (civetta.gufi.org [212.110.23.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 20A3243FE5; Tue, 28 Oct 2003 05:30:06 -0800 (PST)
	(envelope-from alex@armada.alexdupre.com)
Received: from armada.alexdupre.com (host245-49.pool8288.interbusiness.it [82.88.49.245])
	by relay.gufi.org (Postfix) with ESMTP
	id DAAB020F62; Tue, 28 Oct 2003 14:30:04 +0100 (CET)
Received: from armada.alexdupre.com (localhost [127.0.0.1])
	by armada.alexdupre.com (8.12.10/8.12.10) with ESMTP id h9SEUGVa004831;
	Tue, 28 Oct 2003 15:30:16 +0100 (CET)
	(envelope-from alex@armada.alexdupre.com)
Received: (from alex@localhost)
	by armada.alexdupre.com (8.12.10/8.12.10/Submit) id h9SEUGvT004830;
	Tue, 28 Oct 2003 15:30:16 +0100 (CET)
	(envelope-from alex)
Message-Id: <200310281430.h9SEUGvT004830@armada.alexdupre.com>
Date: Tue, 28 Oct 2003 15:30:16 +0100 (CET)
From: Alex Dupre <sysadmin@alexdupre.com>
Reply-To: Alex Dupre <sysadmin@alexdupre.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: nork@freebsd.org
Subject: [Maintainer Patch] Port: net/lmd (fix build on -current)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         58619
>Category:       ports
>Synopsis:       [Maintainer Patch] Port: net/lmd (fix build on -current)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 05:40:01 PST 2003
>Closed-Date:    Tue Oct 28 06:12:32 PST 2003
>Last-Modified:  Tue Oct 28 06:12:32 PST 2003
>Originator:     Alex Dupre
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD armada.alexdupre.com 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Sat Oct 25 14:49:52 CEST 2003 alex@armada.alexdupre.com:/usr/obj/usr/src/sys/ARMADA i386


	
>Description:
s/varargs.h/stdarg.h/g
	
>How-To-Repeat:
	
>Fix:

	

--- lmd.diff begins here ---
diff -ruN lmd.orig/files/patch-chkmodules.h lmd/files/patch-chkmodules.h
--- lmd.orig/files/patch-chkmodules.h	Thu Jan  1 01:00:00 1970
+++ lmd/files/patch-chkmodules.h	Tue Oct 28 15:24:46 2003
@@ -0,0 +1,9 @@
+--- chkmodules.h.orig	Tue Oct 28 15:24:19 2003
++++ chkmodules.h	Tue Oct 28 15:24:28 2003
+@@ -1,5 +1,5 @@
+ #include <syslog.h>
+-#include <varargs.h>
++#include <stdarg.h>
+ #include <stdio.h>
+ #include <dlfcn.h>
+ 
diff -ruN lmd.orig/files/patch-main.h lmd/files/patch-main.h
--- lmd.orig/files/patch-main.h	Thu Jan  1 01:00:00 1970
+++ lmd/files/patch-main.h	Tue Oct 28 15:23:52 2003
@@ -0,0 +1,10 @@
+--- main.h.orig	Tue Oct 28 15:23:25 2003
++++ main.h	Tue Oct 28 15:23:37 2003
+@@ -1,6 +1,6 @@
+ #include <stdlib.h>
+ #include <syslog.h>
+-#include <varargs.h>
++#include <stdarg.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <stdio.h>
diff -ruN lmd.orig/files/patch-modules_check::ldd_http_module.h lmd/files/patch-modules_check::ldd_http_module.h
--- lmd.orig/files/patch-modules_check::ldd_http_module.h	Thu Jan  1 01:00:00 1970
+++ lmd/files/patch-modules_check::ldd_http_module.h	Tue Oct 28 15:25:53 2003
@@ -0,0 +1,11 @@
+--- modules_check/ldd_http_module.h.orig	Tue Oct 28 15:25:20 2003
++++ modules_check/ldd_http_module.h	Tue Oct 28 15:25:31 2003
+@@ -5,7 +5,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <syslog.h>
+-#include <varargs.h>
++#include <stdarg.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <poll.h>
--- lmd.diff ends here ---



>Release-Note:
>Audit-Trail:

From: "Sergey A. Osokin" <osa@FreeBSD.org>
To: Alex Dupre <sysadmin@alexdupre.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org, nork@FreeBSD.org
Subject: Re: ports/58619: [Maintainer Patch] Port: net/lmd (fix build on -current)
Date: Tue, 28 Oct 2003 16:49:58 +0300

 What do you think if I just add a following target into lmd/Makefile
 instead of your patch?
 
 post-patch:
         @${REINPLACE_CMD} -i.bak -e 's|varargs.h|stdarg.h|' \
                 ${WRKSRC}/chkmodules.h \
                 ${WRKSRC}/main.h \
                 ${WRKSRC}/modules_check/ldd_http_module.h
 
 -- 
 
 Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
 Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
 http://ozz.pp.ru/             X          AND NEWS
                              / \
State-Changed-From-To: open->closed 
State-Changed-By: osa 
State-Changed-When: Tue Oct 28 06:11:32 PST 2003 
State-Changed-Why:  
I'll committed my version.  Thanks for submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58619 
>Unformatted:
