pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/baci (lang/baci) Add adhoc patch (mv to cp) to fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56f74d14726c
branches:  trunk
changeset: 439688:56f74d14726c
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Sep 26 11:24:17 2020 +0000

description:
(lang/baci) Add adhoc patch (mv to cp) to fix build problem

diffstat:

 lang/baci/distinfo                       |   3 ++-
 lang/baci/patches/patch-pascomp_Makefile |  26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (44 lines):

diff -r 16fe85044b86 -r 56f74d14726c lang/baci/distinfo
--- a/lang/baci/distinfo        Sat Sep 26 10:33:25 2020 +0000
+++ b/lang/baci/distinfo        Sat Sep 26 11:24:17 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2015/12/29 23:34:43 dholland Exp $
+$NetBSD: distinfo,v 1.11 2020/09/26 11:24:17 mef Exp $
 
 SHA1 (bacisrc.tar.gz) = 3b655bcbd2823047f3f92e6f2d3d12bc7eaa772d
 RMD160 (bacisrc.tar.gz) = c484e3c05734cac1dd394d9b09b256e2a2626897
@@ -23,3 +23,4 @@
 SHA1 (patch-am) = 3db7ead6cd08f0aa172ad62d2b8ef1b6b2a5fe63
 SHA1 (patch-include_computil.h) = 2c1c48e3ff6be7a79e4990ad8f1adf0f8f92c1e8
 SHA1 (patch-lib_computil.c) = 7b3bd08b60986a97c4490a8c06b5f78c977fde62
+SHA1 (patch-pascomp_Makefile) = 765e4630697e0b9e8bf82c3810f8c8114bfef5ec
diff -r 16fe85044b86 -r 56f74d14726c lang/baci/patches/patch-pascomp_Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/baci/patches/patch-pascomp_Makefile  Sat Sep 26 11:24:17 2020 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-pascomp_Makefile,v 1.1 2020/09/26 11:24:18 mef Exp $
+
+------------------------
+gcc -g -Wall -c date.c
+bison -tvd bapascal.y
+mv -f bapascal.tab.c gram.c
+mv -f bapascal.tab.h ytab.h
+chmod 444 gram.c ytab.h
+gcc -g -Wall -c gram.c
+bapascal.tab.c:217:10: fatal error: bapascal.tab.h: No such file or directory
+compilation terminated.
+------------------------
+Above is a liitle bit strange, change mv to cp
+
+
+--- pascomp/Makefile.orig      1999-08-31 16:19:13.000000000 +0000
++++ pascomp/Makefile
+@@ -23,7 +23,7 @@ date.o:
+ gram.o ytab.h:  bapascal.y $(INCLS)
+       bison -tvd bapascal.y
+       mv -f bapascal.tab.c gram.c
+-      mv -f bapascal.tab.h ytab.h
++      cp -f bapascal.tab.h ytab.h
+       chmod 444 gram.c ytab.h
+       $(CC) $(CFLAGS) -c gram.c
+ 



Home | Main Index | Thread Index | Old Index