Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 19:37:11 +0100 (CET)
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/132482: [MAINTAINER] devel/librcc: Unbreak after strnlen addition
Message-ID:  <200903091837.n29IbBH3073859@coyote.spoerlein.net>
Resent-Message-ID: <200903091840.n29Ie1tQ053701@freefall.freebsd.org>

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

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



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