ports/143748: [PATCH] security/cyrus-sasl2 Fix build with new GCC
Rob Farmer
rfarmer at predatorlabs.net
Thu Feb 11 01:41:39 UTC 2010
>Number: 143748
>Category: ports
>Synopsis: [PATCH] security/cyrus-sasl2 Fix build with new GCC
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 11 01:41:32 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD coretwo.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203695: Tue Feb 9 03:02:13 PST 2010 rfarmer at coretwo.predatorlabs.net:/usr/obj/usr/src/sys/CORETWO amd64
>Description:
The port does not define WITH_DES which results in #elif's without any expression, which newer versions of GCC don't like. So, remove these sections.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: files/patch-plugins-digestmd5.c
===================================================================
RCS file: files/patch-plugins-digestmd5.c
diff -N files/patch-plugins-digestmd5.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-plugins-digestmd5.c 10 Feb 2010 07:52:25 -0000
@@ -0,0 +1,20 @@
+--- plugins/digestmd5.c.orig 2010-02-09 23:48:06.939497857 -0800
++++ plugins/digestmd5.c 2010-02-09 23:51:47.707549383 -0800
+@@ -2715,8 +2715,6 @@
+ "DIGEST-MD5", /* mech_name */
+ #ifdef WITH_RC4
+ 128, /* max_ssf */
+-#elif WITH_DES
+- 112,
+ #else
+ 1,
+ #endif
+@@ -4034,8 +4032,6 @@
+ "DIGEST-MD5",
+ #ifdef WITH_RC4 /* mech_name */
+ 128, /* max ssf */
+-#elif WITH_DES
+- 112,
+ #else
+ 1,
+ #endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list