pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/picasm Fix obvious code bug. Bump revision.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a69b3e071478
branches: trunk
changeset: 413337:a69b3e071478
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Mar 18 17:52:39 2020 +0000
description:
Fix obvious code bug. Bump revision.
diffstat:
devel/picasm/Makefile | 3 ++-
devel/picasm/distinfo | 4 ++--
devel/picasm/patches/patch-picasm.c | 12 +++++++++++-
3 files changed, 15 insertions(+), 4 deletions(-)
diffs (51 lines):
diff -r b34e8fdf417d -r a69b3e071478 devel/picasm/Makefile
--- a/devel/picasm/Makefile Wed Mar 18 17:52:02 2020 +0000
+++ b/devel/picasm/Makefile Wed Mar 18 17:52:39 2020 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2016/06/12 20:03:45 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/18 17:52:39 joerg Exp $
#
DISTNAME= picasm114
PKGNAME= ${DISTNAME:S/picasm/picasm-/}
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://nsa.kpu-m.ac.jp/gijutu/kousaku/man-pic/
EXTRACT_SUFX= .tar.bz2
diff -r b34e8fdf417d -r a69b3e071478 devel/picasm/distinfo
--- a/devel/picasm/distinfo Wed Mar 18 17:52:02 2020 +0000
+++ b/devel/picasm/distinfo Wed Mar 18 17:52:39 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/06/12 20:03:45 kamil Exp $
+$NetBSD: distinfo,v 1.2 2020/03/18 17:52:39 joerg Exp $
SHA1 (picasm114.tar.bz2) = 137689c08ebc8e8842aa62521c47f7c88f70d239
RMD160 (picasm114.tar.bz2) = b4ed44b64b256b973814848fd7201d01f1beed72
SHA512 (picasm114.tar.bz2) = a6a8490156afe8af1fc85700890570c745c076396890491f4efe004d7dd701a324f9c7e764fcc710c8954c761f3abb4ed8e97c72ce098100192ead334b335fb7
Size (picasm114.tar.bz2) = 35429 bytes
-SHA1 (patch-picasm.c) = 5bdc64c5798e0ac100435403e5e1f16a808759e5
+SHA1 (patch-picasm.c) = 1d14ab94f988b35b14cbf05476eab9e14337ef18
diff -r b34e8fdf417d -r a69b3e071478 devel/picasm/patches/patch-picasm.c
--- a/devel/picasm/patches/patch-picasm.c Wed Mar 18 17:52:02 2020 +0000
+++ b/devel/picasm/patches/patch-picasm.c Wed Mar 18 17:52:39 2020 +0000
@@ -1,9 +1,19 @@
-$NetBSD: patch-picasm.c,v 1.1 2016/06/12 20:03:45 kamil Exp $
+$NetBSD: patch-picasm.c,v 1.2 2020/03/18 17:52:39 joerg Exp $
+Fix tautological check.
Remove unused variable.
--- picasm.c.orig 2005-06-29 07:05:34.000000000 +0000
+++ picasm.c
+@@ -895,7 +895,7 @@ gen_byte_c(int instr_code)
+ sym = lookup_symbol(token_string, symtype);
+ if(sym != NULL && sym->type != SYM_FORWARD)
+ {
+- if(sym->type != SYM_SET || sym->type != SYM_DEFINED)
++ if(sym->type != SYM_SET && sym->type != SYM_DEFINED)
+ {
+ error(1, "Invalid symbol type");
+ return FAIL;
@@ -1866,7 +1866,7 @@ int
main(int argc, char *argv[])
{
Home |
Main Index |
Thread Index |
Old Index