pkgsrc-WIP-changes archive

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

plink2: Patch out assumptions about cpu features



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Fri May 4 09:50:36 2018 -0500
Changeset:	475128e9c821c4fd3c4de93e45f8d986290f783b

Modified Files:
	plink2/Makefile
	plink2/distinfo
Added Files:
	plink2/patches/patch-Makefile

Log Message:
plink2: Patch out assumptions about cpu features

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=475128e9c821c4fd3c4de93e45f8d986290f783b

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

diffstat:
 plink2/Makefile               |  4 ----
 plink2/distinfo               |  1 +
 plink2/patches/patch-Makefile | 13 +++++++++++++
 3 files changed, 14 insertions(+), 4 deletions(-)

diffs:
diff --git a/plink2/Makefile b/plink2/Makefile
index ab07cfbe87..e007fd5f05 100644
--- a/plink2/Makefile
+++ b/plink2/Makefile
@@ -17,10 +17,6 @@ COMMENT=	Whole genome association analysis toolset
 # Check this
 LICENSE=	gnu-gpl-v2
 
-# Test and change if necessary.
-# MAKE_JOBS_SAFE=	no
-
-# Just assuming C and C++: Adjust this!
 USE_LANGUAGES=	c c++ fortran
 USE_TOOLS+=	gmake
 GCC_REQD+=	5.0
diff --git a/plink2/distinfo b/plink2/distinfo
index f97b908702..f7141cd103 100644
--- a/plink2/distinfo
+++ b/plink2/distinfo
@@ -4,4 +4,5 @@ SHA1 (plink-ng-0.0.0.20180503-e81056a32d67cd73a69579e2dbb374d16196f305.tar.gz) =
 RMD160 (plink-ng-0.0.0.20180503-e81056a32d67cd73a69579e2dbb374d16196f305.tar.gz) = 3a064362785e5193070df2a7027f714912a671c2
 SHA512 (plink-ng-0.0.0.20180503-e81056a32d67cd73a69579e2dbb374d16196f305.tar.gz) = c6dc6d187f1664e3489817dbe6ba0a19c548a9b9e42b7033cb751f2254b6a66ebd0b562663924bcca351db0d4bcabb2683a79cfd1339777fea7ac8d3f2965650
 Size (plink-ng-0.0.0.20180503-e81056a32d67cd73a69579e2dbb374d16196f305.tar.gz) = 2363822 bytes
+SHA1 (patch-Makefile) = 6b3a3e639922fdb430b76e06a608dd25df6e528c
 SHA1 (patch-plink2__base.h) = 08cc1710f2824985dc132149ca102f82e0488bf1
diff --git a/plink2/patches/patch-Makefile b/plink2/patches/patch-Makefile
new file mode 100644
index 0000000000..636dac0b20
--- /dev/null
+++ b/plink2/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD$
+
+# Remove assumptions about advanced cpu features
+
+--- Makefile.orig	2018-05-04 14:35:29.570866273 +0000
++++ Makefile
+@@ -1,4 +1,5 @@
+-BASEFLAGS=-mavx2 -mbmi -mbmi2 -mlzcnt -DNDEBUG -DZSTD_MULTITHREAD
++BASEFLAGS=-DNDEBUG -DZSTD_MULTITHREAD
++# BASEFLAGS=-mavx2 -mbmi -mbmi2 -mlzcnt -DNDEBUG -DZSTD_MULTITHREAD
+ # BASEFLAGS=-mavx2 -mbmi -mbmi2 -mlzcnt -DZSTD_MULTITHREAD
+ # BASEFLAGS=-msse4.2 -DNDEBUG -DZSTD_MULTITHREAD
+ 


Home | Main Index | Thread Index | Old Index