From monkey@vectors.cx  Thu Oct  3 17:53:58 2002
Return-Path: <monkey@vectors.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2B94F37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Oct 2002 17:53:58 -0700 (PDT)
Received: from vectors.cx (manifold.vectors.cx [64.163.147.229])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D9B1243E42
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  3 Oct 2002 17:53:57 -0700 (PDT)
	(envelope-from monkey@vectors.cx)
Received: from vectors.cx (d273730f9e07a8ebc785ebf5616f1c07@localhost [127.0.0.1])
	by vectors.cx (8.12.6/8.12.4) with ESMTP id g940sqho006606
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 3 Oct 2002 17:54:52 -0700 (PDT)
	(envelope-from monkey@vectors.cx)
Received: (from monkey@localhost)
	by vectors.cx (8.12.6/8.12.6/Submit) id g940sqWs006605;
	Thu, 3 Oct 2002 17:54:52 -0700 (PDT)
	(envelope-from monkey)
Message-Id: <200210040054.g940sqWs006605@vectors.cx>
Date: Thu, 3 Oct 2002 17:54:52 -0700 (PDT)
From: <adam@vectors.cx>
Reply-To: <adam@vectors.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] fix net/rfbproxy - inttypes.h
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43644
>Category:       ports
>Synopsis:       [patch] fix net/rfbproxy - inttypes.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 03 18:00:07 PDT 2002
>Closed-Date:    Sat Oct 05 09:29:45 PDT 2002
>Last-Modified:  Sat Oct 05 09:29:45 PDT 2002
>Originator:     
>Release:        FreeBSD 4.7-RC i386
>Organization:
>Environment:
System: FreeBSD smacky.vectors.cx 4.7-RC FreeBSD 4.7-RC #27: Wed Oct 2 13:15:44 PDT 2002 root@smacky.vectors.cx:/usr/src/sys/compile/smacky i386


	
>Description:
	as shown in http://bento.freebsd.org/errorlogs/4-latest/rfbproxy-0.6.5.log,
	net/rfbproxy dies because of the redefinition of int types. this patches
	the portsdir Makefile, and REINPLACEs the problem.
	
>How-To-Repeat:
	
>Fix:

	if you'd prefer, the "\1 || " can be quite safely removed.

	

--- patch-rfbproxy-makefile begins here ---
--- net/rfbproxy/Makefile.orig	Thu Oct  3 17:43:22 2002
+++ net/rfbproxy/Makefile	Thu Oct  3 17:47:53 2002
@@ -18,7 +18,12 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+USE_REINPLACE=	yes
 
 MAN1=	rfbproxy.1
 
+post-patch:
+	@${REINPLACE_CMD} -E -e 's,(HAVE_STDINT_H),\1 || defined(__FreeBSD__),g; \
+		s,stdint.h,inttypes.h,g' \
+		${WRKSRC}/rfbproxy.c
 .include <bsd.port.mk>
--- patch-rfbproxy-makefile ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sat Oct 5 09:29:13 PDT 2002 
State-Changed-Why:  
superseded by pr/43683 

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