pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/polyml



Module Name:    pkgsrc
Committed By:   dholland
Date:           Fri Aug 14 00:43:24 UTC 2020

Modified Files:
        pkgsrc/lang/polyml: distinfo
Added Files:
        pkgsrc/lang/polyml/patches: patch-Makefile.in

Log Message:
Need to run paxctl during the build, not just after it.

(Otherwise the runtime load, which maps memory rwx, fails.)

Not sure how this ever worked anytime in the last N years...


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/polyml/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/polyml/patches/patch-Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/polyml/distinfo
diff -u pkgsrc/lang/polyml/distinfo:1.15 pkgsrc/lang/polyml/distinfo:1.16
--- pkgsrc/lang/polyml/distinfo:1.15    Thu Aug 13 23:49:20 2020
+++ pkgsrc/lang/polyml/distinfo Fri Aug 14 00:43:24 2020
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.15 2020/08/13 23:49:20 dholland Exp $
+$NetBSD: distinfo,v 1.16 2020/08/14 00:43:24 dholland Exp $
 
 SHA1 (polyml-5.7.1.tar.gz) = 454d3827263f514004a2465a2db0cd64ebe6e561
 RMD160 (polyml-5.7.1.tar.gz) = cc0061f191783c4749ef08fee33db4c3a2a269c6
 SHA512 (polyml-5.7.1.tar.gz) = 0b597f2fc9a68b764d4621e4e6b9c69083181bdfae66f53d0033bfc9661b9c42d252a42a72123245e8a55176a673d5343d6dd7936ae806d330b5e2b81f35e4d6
 Size (polyml-5.7.1.tar.gz) = 7218131 bytes
+SHA1 (patch-Makefile.in) = 7108e0f18af8cfa55d1914419e1707084c9b9683
 SHA1 (patch-configure) = 3df85bb0adac4bfd68fffa32c41944f21eaf8c40
 SHA1 (patch-configure.ac) = 63817ba1fd42bae03da67f74b5b97dda32b02118
 SHA1 (patch-libpolyml_elfexport.cpp) = 3dfde6483eca0778504265a8e92cad8ef86d72d3

Added files:

Index: pkgsrc/lang/polyml/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/lang/polyml/patches/patch-Makefile.in:1.1
--- /dev/null   Fri Aug 14 00:43:24 2020
+++ pkgsrc/lang/polyml/patches/patch-Makefile.in        Fri Aug 14 00:43:24 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/08/14 00:43:24 dholland Exp $
+
+It's not enough to disable ASLR on the output executable. You also
+need to disable it on the thing that gets run during the build.
+
+--- Makefile.in~       2017-11-18 13:45:15.000000000 +0000
++++ Makefile.in
+@@ -579,6 +579,7 @@ poly$(EXEEXT): $(poly_OBJECTS) $(poly_DE
+ polyimport$(EXEEXT): $(polyimport_OBJECTS) $(polyimport_DEPENDENCIES) $(EXTRA_polyimport_DEPENDENCIES) 
+       @rm -f polyimport$(EXEEXT)
+       $(AM_V_CCLD)$(polyimport_LINK) $(polyimport_OBJECTS) $(polyimport_LDADD) $(LIBS)
++      paxctl +am .libs/polyimport$(EXEEXT) || true
+ install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
+       @$(NORMAL_INSTALL)
+       @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \



Home | Main Index | Thread Index | Old Index