Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 23:02:14 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143748: [PATCH] security/cyrus-sasl2 Fix build with new GCC
Message-ID:  <201002102302.o1AN2EHb040319@www.freebsd.org>
Resent-Message-ID: <201002110141.o1B1fXLF060469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002102302.o1AN2EHb040319>