Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 14:16:36 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178280: [update] lang/asn1c: update to 0.9.24
Message-ID:  <201305011416.r41EGaKj042248@red.freebsd.org>
Resent-Message-ID: <201305011420.r41EK0U9039235@freefall.freebsd.org>

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

>Number:         178280
>Category:       ports
>Synopsis:       [update] lang/asn1c: update to 0.9.24
>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:   Wed May 01 14:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 9.1-R amd64
>Organization:
>Environment:
FreeBSD 9.1-R amd64, Ports Tree r317009
>Description:
- Update to 0.9.24
- Convert Makefile header, remove double blank line in Makefile

Apply patch at https://github.com/vlm/asn1c/commit/47189a7e8646591399e441a8a65e81e57bef3078#diff-0 to make unber compilable with GCC 4.2 (it compiles fine with clang 3.3 with and without patching)

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 317009)
+++ Makefile	(working copy)
@@ -1,17 +1,12 @@
-# New ports collection makefile for:	asn1c
-# Date created:				10 Sep 2004
-# Whom:					Lev Walkin <vlm@lionet.info>
-#
+# Created by: Lev Walkin <vlm@lionet.info>
 # $FreeBSD$
-#
 
 PORTNAME=	asn1c
-PORTVERSION=	0.9.21
+PORTVERSION=	0.9.24
 CATEGORIES=	lang converters security
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
 		http://lionet.info/soft/
 
-
 MAINTAINER=	vlm@lionet.info
 COMMENT=	Modern ASN.1 to C compiler
 
Index: distinfo
===================================================================
--- distinfo	(revision 317009)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (asn1c-0.9.21.tar.gz) = 171e236c8768155453609d55e51f13031901907ee84d0eebff4c7b5d6be7d055
-SIZE (asn1c-0.9.21.tar.gz) = 1282580
+SHA256 (asn1c-0.9.24.tar.gz) = 2200bb45f8bc7e85d065fb0714f255861040dd8aa58fe94b4393b282b0d1295f
+SIZE (asn1c-0.9.24.tar.gz) = 1444301
Index: files/patch-asn1c__unber.c
===================================================================
--- files/patch-asn1c__unber.c	(revision 0)
+++ files/patch-asn1c__unber.c	(working copy)
@@ -0,0 +1,8 @@
+--- asn1c/unber.c.orig	2013-05-01 16:00:22.000000000 +0200
++++ asn1c/unber.c	2013-05-01 16:00:56.000000000 +0200
+@@ -776,3 +776,5 @@
+ asn_enc_rval_t OCTET_STRING_encode_uper(asn_TYPE_descriptor_t *td, asn_per_constraints_t *cts, void *sptr, asn_per_outp_t *po) { asn_enc_rval_t er = { 0, 0, 0 }; (void)td; (void)cts; (void)sptr; (void)po; return er; }
+ 
+ int xer_is_whitespace(const void *b, size_t s) { (void)b; (void)s; return 0; }
++
++size_t xer_whitespace_span(const void *chunk_buf, size_t chunk_size) {  (void)chunk_buf; (void)chunk_size; return 0; }
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 317009)
+++ pkg-plist	(working copy)
@@ -43,6 +43,7 @@
 %%DATADIR%%/ObjectDescriptor.h
 %%DATADIR%%/PrintableString.c
 %%DATADIR%%/PrintableString.h
+%%DATADIR%%/README
 %%DATADIR%%/REAL.c
 %%DATADIR%%/REAL.h
 %%DATADIR%%/RELATIVE-OID.c
@@ -97,6 +98,8 @@
 %%DATADIR%%/per_decoder.h
 %%DATADIR%%/per_encoder.c
 %%DATADIR%%/per_encoder.h
+%%DATADIR%%/per_opentype.c
+%%DATADIR%%/per_opentype.h
 %%DATADIR%%/xer_decoder.c
 %%DATADIR%%/xer_decoder.h
 %%DATADIR%%/xer_encoder.c
@@ -117,7 +120,6 @@
 %%DOCSDIR%%/FAQ
 %%DOCSDIR%%/README
 %%DOCSDIR%%/asn1c-quick.pdf
-%%DOCSDIR%%/asn1c-usage.html
 %%DOCSDIR%%/asn1c-usage.pdf
 @dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%/standard-modules


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



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