pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47705: security/racoon2 20100526a build failure with clang



>Number:         47705
>Category:       pkg
>Synopsis:       security/racoon2 20100526a build failure with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 29 13:25:00 +0000 2013
>Originator:     KAMADA Ken'ichi
>Release:        NetBSD 6.0.1_PATCH
>Organization:
>Environment:
System: NetBSD hisa.nanohz.org 6.0.1_PATCH NetBSD 6.0.1_PATCH (HISA) #9: Thu 
Jan 31 12:04:28 JST 2013 
ken%hisa.nanohz.org@localhost:/usr/src/sys/arch/amd64/compile/HISA amd64
Architecture: x86_64
Machine: amd64
>Description:
security/racoon2 20100526a does not build with PKGSRC_COMPILER=clang.

>How-To-Repeat:

>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/racoon2/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    15 Dec 2012 08:10:59 -0000      1.2
+++ distinfo    29 Mar 2013 13:18:59 -0000
@@ -8,5 +8,6 @@
 SHA1 (patch-ac) = 081a2d3d694d4c20cf1fa2d9718577577280288e
 SHA1 (patch-ad) = 0d04dc7027c100de6bc04db00eddb30a12fd8715
 SHA1 (patch-ae) = 937cf84a2b6f1e8f8d288703a0556faf500bab95
+SHA1 (patch-lib_cfparse.y) = 9e0b8ec9c09c315edde171103b97a8c403ba748e
 SHA1 (patch-lib_cfsetup.c) = 70c2409bc69ff85cef6d2e2b4e222e12537c323e
 SHA1 (patch-lib_if__pfkeyv2.c) = 9eb969ff0f289bc7c4aa1fa234c221b4d70d1da7
Index: patches/patch-lib_cfparse.y
===================================================================
RCS file: patches/patch-lib_cfparse.y
diff -N patches/patch-lib_cfparse.y
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_cfparse.y 29 Mar 2013 13:18:59 -0000
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix type mismatch to avoid compilation error.
+
+--- lib/cfparse.y.orig 2009-02-02 17:49:18.000000000 +0900
++++ lib/cfparse.y      2013-03-29 21:31:04.000000000 +0900
+@@ -1712,7 +1712,7 @@
+       int n;
+       char *bp;
+       struct cf_list *new;
+-      rcf_t type;
++      rc_type type;
+ 
+       n = strtoll(str, &bp, 10);
+ 



Home | Main Index | Thread Index | Old Index