pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/cad/py-MyHDL
Module Name: pkgsrc
Committed By: nia
Date: Tue May 3 17:38:34 UTC 2022
Modified Files:
pkgsrc/cad/py-MyHDL: distinfo
Added Files:
pkgsrc/cad/py-MyHDL/patches: patch-cosimulation_cver_Makefile.lnx
Log Message:
py-MyHDL: Respect CFLAGS/LDFLAGS. Fixes MyHDL-gplcver build with RELRO.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/cad/py-MyHDL/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/cad/py-MyHDL/patches/patch-cosimulation_cver_Makefile.lnx
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/cad/py-MyHDL/distinfo
diff -u pkgsrc/cad/py-MyHDL/distinfo:1.13 pkgsrc/cad/py-MyHDL/distinfo:1.14
--- pkgsrc/cad/py-MyHDL/distinfo:1.13 Tue Oct 26 10:04:15 2021
+++ pkgsrc/cad/py-MyHDL/distinfo Tue May 3 17:38:34 2022
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:04:15 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/05/03 17:38:34 nia Exp $
BLAKE2s (myhdl-0.10.tar.gz) = b32a10dcfdf4cead07e948d53615655e38bfa20aeaad2ab711e0493851818d21
SHA512 (myhdl-0.10.tar.gz) = b250c8b09a2cfbd2a70da60d567c8bcb09747c3e8df536cdd28ad49a8a6fbe5a28395295a6ed6046ced745b617fb3804ceb0f83d9b34db7c70701148ae7db25b
Size (myhdl-0.10.tar.gz) = 1205466 bytes
+SHA1 (patch-cosimulation_cver_Makefile.lnx) = 64508943117d23f1564c23642dda5843545d741e
SHA1 (patch-myhdl___always__seq.py) = 2ba91a28a40f5582a7ab509ee8e619ce92333e92
SHA1 (patch-myhdl_conversion___toVHDL.py) = 85651035475d908749306dfd57895060582a2051
Added files:
Index: pkgsrc/cad/py-MyHDL/patches/patch-cosimulation_cver_Makefile.lnx
diff -u /dev/null pkgsrc/cad/py-MyHDL/patches/patch-cosimulation_cver_Makefile.lnx:1.1
--- /dev/null Tue May 3 17:38:34 2022
+++ pkgsrc/cad/py-MyHDL/patches/patch-cosimulation_cver_Makefile.lnx Tue May 3 17:38:34 2022
@@ -0,0 +1,27 @@
+$NetBSD: patch-cosimulation_cver_Makefile.lnx,v 1.1 2022/05/03 17:38:34 nia Exp $
+
+Use LDFLAGS (more standard than 'LFLAGS', allows pkgsrc to pass
+security hardening flags). Don't override CFLAGS.
+
+--- cosimulation/cver/Makefile.lnx.orig 2018-04-02 07:30:11.000000000 +0000
++++ cosimulation/cver/Makefile.lnx
+@@ -6,8 +6,8 @@ INCS=-I$(HOME)/Tools/gplcver-2.12a.src/p
+
+ # maybe want -O<something> and/or -g
+ # -fno-stack-protector apparently needed with newer gcc's
+-CFLAGS= -fPIC -fno-stack-protector -Wall -g $(INCS)
+-LFLAGS= -G -shared -export-dynamic
++CFLAGS+= -fPIC -fno-stack-protector -Wall -g $(INCS)
++LDFLAGS+= -G -shared -export-dynamic
+
+ # change to your compiler
+ CC=gcc
+@@ -19,7 +19,7 @@ myhdl_vpi.o: myhdl_vpi.c
+
+ # make rules for dynamic libaries
+ myhdl_vpi.so: myhdl_vpi.o
+- $(LD) $(LFLAGS) myhdl_vpi.o -o myhdl_vpi.so
++ $(LD) $(LDFLAGS) myhdl_vpi.o -o myhdl_vpi.so
+
+ clean:
+ -rm *.o *.so
Home |
Main Index |
Thread Index |
Old Index