From nobody@FreeBSD.org  Sun Sep 25 07:55:52 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 85F9C1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Sep 2011 07:55:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7631C8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Sep 2011 07:55:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8P7tpww057861
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Sep 2011 07:55:51 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8P7tpa7057860;
	Sun, 25 Sep 2011 07:55:51 GMT
	(envelope-from nobody)
Message-Id: <201109250755.p8P7tpa7057860@red.freebsd.org>
Date: Sun, 25 Sep 2011 07:55:51 GMT
From: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] sysutils/rdup: fix build with clang
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         161003
>Category:       ports
>Synopsis:       [PATCH] sysutils/rdup: fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 25 08:00:21 UTC 2011
>Closed-Date:    Sun Sep 25 15:17:30 UTC 2011
>Last-Modified:  Sun Sep 25 15:30:10 UTC 2011
>Originator:     Ruslan Mahmatkhanov
>Release:        9.0-BETA2
>Organization:
>Environment:
9.0-BETA2 i386
>Description:
- fix build with clang - this change suggested by Michel Talon <talon at lpthe dot jussieu dot fr>
- remove LDFLAGS from CONFIGURE_ENV
- whitespace fix in pkg-plist
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/Makefile b/Makefile
index cd6939f..547e53d 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,6 @@ USE_BZIP2=	yes
 
 USE_AUTOTOOLS=	autoconf
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
 
 USE_GMAKE=	yes
 MAKEFILE=	GNUmakefile
diff --git a/files/patch-rdup-tr.c b/files/patch-rdup-tr.c
new file mode 100644
index 0000000..476e41f
--- /dev/null
+++ b/files/patch-rdup-tr.c
@@ -0,0 +1,10 @@
+--- rdup-tr.c.orig	2011-02-20 01:30:07.000000000 +0300
++++ rdup-tr.c	2011-09-25 11:36:39.000000000 +0400
+@@ -202,7 +202,6 @@
+ 		if (sig != 0)
+ 			signal_abort(sig);
+ 
+-		rdup_entry = rdup_entry;
+ #ifdef HAVE_LIBNETTLE
+ 		if (opt_crypt_key)
+ 			rdup_entry = crypt_entry(rdup_entry, trhash);
diff --git a/pkg-descr b/pkg-descr
index 6b07d1c..e4537e6 100644
--- a/pkg-descr
+++ b/pkg-descr
@@ -4,7 +4,7 @@ rdup itself does not backup anything; it only prints a list of the names of
 files that have changed since the last backup. It also handles files that are
 removed, allowing for correct incremental backups.
 
-An example script named rdup-simple is included to show how to 
-implement a simple snapshot-style backup strategy.
+An example script named rdup-simple is included to show how to implement a
+simple snapshot-style backup strategy.
 
 WWW: http://miek.nl/projects/rdup


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->crees 
Responsible-Changed-By: crees 
Responsible-Changed-When: Sun Sep 25 12:24:52 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161003 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Sun Sep 25 15:17:28 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161003 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/161003: commit references a PR
Date: Sun, 25 Sep 2011 15:22:08 +0000 (UTC)

 crees       2011-09-25 15:21:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/rdup        Makefile 
   Log:
   Forced commit to note that although the referenced PR removed the CONFIGURE_ENV
   line, amdmi3 had in fact got there first. All other changes in the PR were
   committed, but didn't touch the Makefile.
   
   PR:             ports/161003
   
   Revision  Changes    Path
   1.19      +0 -0      ports/sysutils/rdup/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
