ports/174379: Temporal fix to include/sasl.h

Mamoru Sakaue sakaue.mamoru at mwghennndo.com
Tue Dec 11 22:10:01 UTC 2012


>Number:         174379
>Category:       ports
>Synopsis:       Temporal fix to include/sasl.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 11 22:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mamoru Sakaue
>Release:        FreeBSD 8.3-RELEASE-p3 i386
>Organization:
MwGhennndo
>Environment:
FreeBSD Dossier.mmg-internal 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Mon Jun 11 23:52:38 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The current version (cyrus-sasl-2.1.26) started to invoke "size_t" in include/sasl.h started to invoke but lacks a line to include stddef.h or stdlib.h.
This is a platform-independent bug and an equivalent issue has already been reported to the forum in the developer site by other person, but it may take time for the new fixed version to be up.
So I submit an equivalent patch for a temporal countermeasure.
This patch is expected to be obsolete for the next version.
>How-To-Repeat:
In the current ports tree (updated at 4:08, 11 Dec 2012, +9:00), execute

make -C /usr/ports/deskutils/kdepimlibs4

Then the build fails by complaining about the above matter.
Here the version of the example is kdepimlibs-4.8.4_1.
>Fix:
Apply the attached patch.

security:cyrus-sasl2.patch
===========================================
diff -ruN /usr/ports/security/cyrus-sasl2/files/patch-include::sasl.h /usr/ports/security/cyrus-sasl2/files/patch-include::sasl.h
--- /usr/ports/security/cyrus-sasl2/files/patch-include::sasl.h	1970-01-01 09:00:00.000000000 +0900
+++ /usr/ports/security/cyrus-sasl2/files/patch-include::sasl.h	2012-12-12 06:01:30.000000000 +0900
@@ -0,0 +1,10 @@
+--- include/sasl.h.orig	2012-10-12 23:05:48.000000000 +0900
++++ include/sasl.h	2012-12-12 05:58:01.000000000 +0900
+@@ -130,6 +130,7 @@
+ #define SASL_VERSION_FULL ((SASL_VERSION_MAJOR << 16) |\
+       (SASL_VERSION_MINOR << 8) | SASL_VERSION_STEP)
+ 
++#include <stddef.h>
+ #include "prop.h"
+ 
+ /*************
===========================================


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list