pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/picoc Use a pointer to the void type, not a enum ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/993323ea374b
branches:  trunk
changeset: 627894:993323ea374b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Dec 17 23:23:38 2013 +0000

description:
Use a pointer to the void type, not a enum value that turns out to be 0.
Bump revision.

diffstat:

 lang/picoc/Makefile            |   3 ++-
 lang/picoc/distinfo            |   3 ++-
 lang/picoc/patches/patch-lex.c |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (43 lines):

diff -r c654a62edc83 -r 993323ea374b lang/picoc/Makefile
--- a/lang/picoc/Makefile       Tue Dec 17 23:22:35 2013 +0000
+++ b/lang/picoc/Makefile       Tue Dec 17 23:23:38 2013 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2013/07/15 02:02:24 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2013/12/17 23:23:38 joerg Exp $
 
 DISTNAME=              picoc-2.1
+PKGREVISION=           1
 CATEGORIES=            lang
 MASTER_SITES=          http://picoc.googlecode.com/files/
 EXTRACT_SUFX=          .tar.bz2
diff -r c654a62edc83 -r 993323ea374b lang/picoc/distinfo
--- a/lang/picoc/distinfo       Tue Dec 17 23:22:35 2013 +0000
+++ b/lang/picoc/distinfo       Tue Dec 17 23:23:38 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/04/27 04:48:44 agc Exp $
+$NetBSD: distinfo,v 1.2 2013/12/17 23:23:38 joerg Exp $
 
 SHA1 (picoc-2.1.tar.bz2) = 24fdc3c8302915d663fcaefaf878ab5ad5a2d69b
 RMD160 (picoc-2.1.tar.bz2) = 9d65bcee54a6d7fa28a66afdd09d3b7554315f68
@@ -7,3 +7,4 @@
 SHA1 (patch-ab) = 616fb42d4bc08f4500d607e33ece112e87ecdd0b
 SHA1 (patch-ac) = 879e978d0f2542e5841d5279aa034ec4a7209147
 SHA1 (patch-ad) = e976c920fa6807ab773f6c505e88a5b3ed7e990a
+SHA1 (patch-lex.c) = c98b6fa30ebacc31f922e8a20dd9268e31eaec24
diff -r c654a62edc83 -r 993323ea374b lang/picoc/patches/patch-lex.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/picoc/patches/patch-lex.c    Tue Dec 17 23:23:38 2013 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-lex.c,v 1.1 2013/12/17 23:23:38 joerg Exp $
+
+--- lex.c.orig 2013-12-15 18:41:56.000000000 +0000
++++ lex.c
+@@ -26,7 +26,7 @@
+ #define MAX_CHAR_VALUE 255      /* maximum value which can be represented by a "char" data type */
+ 
+ static union AnyValue LexAnyValue;
+-static struct Value LexValue = { TypeVoid, &LexAnyValue, FALSE, FALSE };
++static struct Value LexValue = { &VoidType, &LexAnyValue, FALSE, FALSE };
+ 
+ struct ReservedWord
+ {



Home | Main Index | Thread Index | Old Index