Bug 178280 - [update] lang/asn1c: update to 0.9.24
Summary: [update] lang/asn1c: update to 0.9.24
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 15:20 UTC by Rene Ladan
Modified: 2013-05-18 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.54 KB, patch)
2013-05-01 15:20 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer 2013-05-01 15:20:00 UTC
- 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)

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2013-05-01 15:20:06 UTC
Maintainer of lang/asn1c,

Please note that PR ports/178280 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178280

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer 2013-05-01 15:20:07 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Rene Ladan freebsd_committer 2013-05-01 15:21:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rene

Take
Comment 4 dfilter service freebsd_committer 2013-05-18 21:06:11 UTC
Author: rene
Date: Sat May 18 20:05:57 2013
New Revision: 318447
URL: http://svnweb.freebsd.org/changeset/ports/318447

Log:
  - Update to 0.9.24
  - Convert Makefile header
  
  PR:		ports/178280
  Submitted by:	myself
  Approved by:	maintainer timeout (vlm@lionet.info, 17 days)

Added:
  head/lang/asn1c/files/patch-asn1c__unber.c   (contents, props changed)
Modified:
  head/lang/asn1c/Makefile   (contents, props changed)
  head/lang/asn1c/distinfo   (contents, props changed)
  head/lang/asn1c/pkg-plist   (contents, props changed)

Modified: head/lang/asn1c/Makefile
==============================================================================
--- head/lang/asn1c/Makefile	Sat May 18 20:05:01 2013	(r318446)
+++ head/lang/asn1c/Makefile	Sat May 18 20:05:57 2013	(r318447)
@@ -2,12 +2,11 @@
 # $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
 

Modified: head/lang/asn1c/distinfo
==============================================================================
--- head/lang/asn1c/distinfo	Sat May 18 20:05:01 2013	(r318446)
+++ head/lang/asn1c/distinfo	Sat May 18 20:05:57 2013	(r318447)
@@ -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

Added: head/lang/asn1c/files/patch-asn1c__unber.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/asn1c/files/patch-asn1c__unber.c	Sat May 18 20:05:57 2013	(r318447)
@@ -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; }

Modified: head/lang/asn1c/pkg-plist
==============================================================================
--- head/lang/asn1c/pkg-plist	Sat May 18 20:05:01 2013	(r318446)
+++ head/lang/asn1c/pkg-plist	Sat May 18 20:05:57 2013	(r318447)
@@ -43,6 +43,7 @@ bin/unber
 %%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 @@ bin/unber
 %%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 @@ bin/unber
 %%DOCSDIR%%/FAQ
 %%DOCSDIR%%/README
 %%DOCSDIR%%/asn1c-quick.pdf
-%%DOCSDIR%%/asn1c-usage.html
 %%DOCSDIR%%/asn1c-usage.pdf
 @dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%/standard-modules
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Rene Ladan freebsd_committer 2013-05-18 21:06:12 UTC
State Changed
From-To: feedback->closed

Committed