ports/161003: [PATCH] sysutils/rdup: fix build with clang
Ruslan Mahmatkhanov
cvs-src at yandex.ru
Sun Sep 25 08:00:21 UTC 2011
>Number: 161003
>Category: ports
>Synopsis: [PATCH] sysutils/rdup: fix build with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 25 08:00:21 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list