svn commit: r461318 - head/games/crafty/files
Johan van Selst
johans at FreeBSD.org
Fri Feb 9 16:09:43 UTC 2018
Author: johans
Date: Fri Feb 9 16:09:42 2018
New Revision: 461318
URL: https://svnweb.freebsd.org/changeset/ports/461318
Log:
Remove profile options to fix build with Clang
PR: 220806
Submitted by: jbeich, Martin Birgmeier
Modified:
head/games/crafty/files/patch-Makefile
head/games/crafty/files/patch-option.c
Modified: head/games/crafty/files/patch-Makefile
==============================================================================
--- head/games/crafty/files/patch-Makefile Fri Feb 9 14:11:07 2018 (r461317)
+++ head/games/crafty/files/patch-Makefile Fri Feb 9 16:09:42 2018 (r461318)
@@ -1,15 +1,19 @@
---- Makefile.orig 2016-10-03 22:11:34.000000000 +0200
-+++ Makefile 2017-07-15 23:47:33.427574000 +0200
-@@ -83,9 +83,9 @@ quick:
+--- Makefile.orig 2016-10-03 20:11:34 UTC
++++ Makefile
+@@ -83,11 +83,11 @@ quick:
unix-gcc:
$(MAKE) -j target=UNIX \
- CC=gcc \
- opt='-DSYZYGY -DTEST -DCPUS=4' \
- CFLAGS='-Wall -Wno-array-bounds -pipe -O3 -fprofile-use \
+- -mpopcnt -fprofile-correction -pthread' \
+- LDFLAGS='$(LDFLAGS) -fprofile-use -pthread -lstdc++' \
+ CC=$(CC) \
+ opt='$(opt) -DSYZYGY -DTEST -DCPUS=4' \
-+ CFLAGS='$(CFLAGS) -Wall -Wno-array-bounds -pipe -O3 -fprofile-use \
- -mpopcnt -fprofile-correction -pthread' \
- LDFLAGS='$(LDFLAGS) -fprofile-use -pthread -lstdc++' \
++ CFLAGS='$(CFLAGS) -Wall -Wno-array-bounds -pipe -O3 \
++ -mpopcnt -pthread' \
++ LDFLAGS='$(LDFLAGS) -pthread -lstdc++' \
crafty-make
+
+ unix-gcc-profile:
Modified: head/games/crafty/files/patch-option.c
==============================================================================
--- head/games/crafty/files/patch-option.c Fri Feb 9 14:11:07 2018 (r461317)
+++ head/games/crafty/files/patch-option.c Fri Feb 9 16:09:42 2018 (r461318)
@@ -1,5 +1,5 @@
---- option.c.orig 2016-10-28 05:11:42.000000000 +0200
-+++ option.c 2017-07-15 23:35:58.863941000 +0200
+--- option.c.orig 2016-10-28 03:11:42 UTC
++++ option.c
@@ -978,9 +978,11 @@ int Option(TREE * RESTRICT tree) {
else if (OptionMatch("help", *args)) {
FILE *helpfile;
More information about the svn-ports-head
mailing list