ports/132482: [MAINTAINER] devel/librcc: Unbreak after strnlen addition
Ulrich Spoerlein
uspoerlein at gmail.com
Mon Mar 9 18:40:02 UTC 2009
>Number: 132482
>Category: ports
>Synopsis: [MAINTAINER] devel/librcc: Unbreak after strnlen addition
>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: Mon Mar 09 18:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Ulrich Spoerlein
>Release: FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD coyote.spoerlein.net 7.1-STABLE FreeBSD 7.1-STABLE #0: Wed Feb 4 16:00:07 CET
>Description:
- Remove dubious code path for HAVE_STRNLEN, makes it build again
Added file(s):
- files/patch-src-rccstring.h
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- librcc-0.2.6_1.patch begins here ---
Index: files/patch-src-rccstring.h
===================================================================
RCS file: files/patch-src-rccstring.h
diff -N files/patch-src-rccstring.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-src-rccstring.h 9 Mar 2009 18:35:52 -0000
@@ -0,0 +1,15 @@
+--- src/rccstring.h.orig 2009-03-09 13:59:14.000000000 +0100
++++ src/rccstring.h 2009-03-09 13:59:20.000000000 +0100
+@@ -18,11 +18,7 @@
+ int rccStringFixID(rcc_string string, rcc_context ctx);
+ int rccStringChangeID(rcc_string string, rcc_language_id language_id);
+
+-#ifdef HAVE_STRNLEN
+-# ifndef strnlen
+-int strnlen(const char *str, size_t size);
+-# endif /* !strnlen */
+-#else
++#ifndef HAVE_STRNLEN
+ int rccStrnlen(const char *str, size_t size);
+ #endif /* HAVE_STRNLEN */
+ int rccIsASCII(const char *str);
--- librcc-0.2.6_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list