pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
findcrcs: fix build with clang (remove -mcrc32)
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Sat Feb 29 10:11:05 2020 +0100
Changeset: 3ed6d00d566fa099c5de65a3c27ee46d91c091ab
Modified Files:
findcrcs/distinfo
findcrcs/patches/patch-Makefile
Log Message:
findcrcs: fix build with clang (remove -mcrc32)
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3ed6d00d566fa099c5de65a3c27ee46d91c091ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
findcrcs/distinfo | 2 +-
findcrcs/patches/patch-Makefile | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs:
diff --git a/findcrcs/distinfo b/findcrcs/distinfo
index 923babce33..aa92b408e2 100644
--- a/findcrcs/distinfo
+++ b/findcrcs/distinfo
@@ -4,5 +4,5 @@ SHA1 (findcrcs-0.3.tar.gz) = 5144f3d17c318706b3e8113242bccfc59b62bfb7
RMD160 (findcrcs-0.3.tar.gz) = 05e6c25a15f1cfa78bad06a76e8862ffaf25e897
SHA512 (findcrcs-0.3.tar.gz) = b55a59fc3b2d11f10c87cb05d428409043bdcaaefc42a10c456f5fffc3ede18cc02f09397399cc60a6295666872776eb10662ec089d315f512129faac26b7d4f
Size (findcrcs-0.3.tar.gz) = 3981565 bytes
-SHA1 (patch-Makefile) = 9d7784dcc6e44fbb70625b5b658604f7a41e87ed
+SHA1 (patch-Makefile) = 39cae0bee0e4507fe7afa25371b35c44bd3e3568
SHA1 (patch-findcrcs.cc) = 80cc824ca3e3470050f488cdf35e136886922825
diff --git a/findcrcs/patches/patch-Makefile b/findcrcs/patches/patch-Makefile
index 49eb778bf6..ddbfb17b9f 100644
--- a/findcrcs/patches/patch-Makefile
+++ b/findcrcs/patches/patch-Makefile
@@ -4,7 +4,7 @@ Honor LDFLAGS (fixes RELRO).
--- Makefile.orig 2015-05-24 22:26:34.000000000 +0000
+++ Makefile
-@@ -69,7 +68,7 @@ test: $(BINARY) test.bin
+@@ -69,12 +69,12 @@ test: $(BINARY) test.bin
@sh -c "time ./$(BINARY) test.bin 1000000 13fbda0d"
$(BINARY): findcrcs.cc md5.c md5.h crcutil-1.0 crcutil.a
@@ -13,3 +13,9 @@ Honor LDFLAGS (fixes RELRO).
$(BINPREFIX)strip -s $@
crcutil.a: crcutil-1.0
+ rm -rf *.o
+- $(BINPREFIX)g++ -O3 -Wall -mcrc32 -c crcutil-1.0/examples/interface.cc crcutil-1.0/code/*.cc -Icrcutil-1.0/code -Icrcutil-1.0/tests -Icrcutil-1.0/examples
++ $(BINPREFIX)g++ -O3 -Wall -c crcutil-1.0/examples/interface.cc crcutil-1.0/code/*.cc -Icrcutil-1.0/code -Icrcutil-1.0/tests -Icrcutil-1.0/examples
+ $(BINPREFIX)ar r crcutil.a *.o
+ rm -rf *.o
+
Home |
Main Index |
Thread Index |
Old Index