aboutsummaryrefslogtreecommitdiff
path: root/games/openlierox/files/patch-src_common_sex.cpp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-27 14:48:58 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-27 14:48:58 +0000
commit3480f7cb8864627ac418a1707bf79ac23109255c (patch)
treeb44bdfd01789d274f8e2763e4d5f299dd4473448 /games/openlierox/files/patch-src_common_sex.cpp
parent22436547544a2ec0f1f9fab69ad2ee8ce2165bf6 (diff)
downloadports-3480f7cb8864627ac418a1707bf79ac23109255c.tar.gz
ports-3480f7cb8864627ac418a1707bf79ac23109255c.zip
- Switch to USES=localbase
- Tweak depends - Switch to options helpers - Fix build with clang 6
Notes
Notes: svn path=/head/; revision=473445
Diffstat (limited to 'games/openlierox/files/patch-src_common_sex.cpp')
-rw-r--r--games/openlierox/files/patch-src_common_sex.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/openlierox/files/patch-src_common_sex.cpp b/games/openlierox/files/patch-src_common_sex.cpp
new file mode 100644
index 000000000000..6f23fd3af157
--- /dev/null
+++ b/games/openlierox/files/patch-src_common_sex.cpp
@@ -0,0 +1,11 @@
+--- src/common/sex.cpp.orig 2018-06-25 13:54:25 UTC
++++ src/common/sex.cpp
+@@ -242,7 +242,7 @@ static Table list[] = {
+ {his, SZ(his)}, {dongadj, SZ(dongadj)},
+ {dong, SZ(dong)}, {intoher, SZ(intoher)},
+ {twatadj, SZ(twatadj)}, {twat, SZ(twat)},
+- {(const char **)NULL, (short)NULL},
++ {(const char **)NULL, 0},
+ };
+
+ std::string sex(short wraplen) {