diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-05 10:50:43 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-05 10:50:43 +0000 |
commit | 3885c235c16551dd5b46710a375e3cfd2554429f (patch) | |
tree | 1d8bf356b7d7798f4dc3e3188746e32543612382 /games/minetest | |
parent | 6ef5e751892168c9e66260dc233f767f6f4f995f (diff) | |
download | ports-3885c235c16551dd5b46710a375e3cfd2554429f.tar.gz ports-3885c235c16551dd5b46710a375e3cfd2554429f.zip |
- Remove always false condition and unneeded patch
Notes
Notes:
svn path=/head/; revision=430629
Diffstat (limited to 'games/minetest')
-rw-r--r-- | games/minetest/Makefile | 4 | ||||
-rw-r--r-- | games/minetest/files/extra-patch-src_unittest_test__serialization.cpp | 47 |
2 files changed, 0 insertions, 51 deletions
diff --git a/games/minetest/Makefile b/games/minetest/Makefile index 6d93313f0315..fd193b4d5546 100644 --- a/games/minetest/Makefile +++ b/games/minetest/Makefile @@ -86,10 +86,6 @@ CMAKE_ARGS+= -DIRRLICHT_INCLUDE_DIR:STRING="${IRRLICHT_INCLUDE_DIR}" EXTRA_PATCHES+= ${FILESDIR}/extra-patch-irrlichtdepend .endif -.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_unittest_test__serialization.cpp -.endif - post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/cmake/Modules/*.cmake diff --git a/games/minetest/files/extra-patch-src_unittest_test__serialization.cpp b/games/minetest/files/extra-patch-src_unittest_test__serialization.cpp deleted file mode 100644 index 4f35e8add133..000000000000 --- a/games/minetest/files/extra-patch-src_unittest_test__serialization.cpp +++ /dev/null @@ -1,47 +0,0 @@ ---- src/unittest/test_serialization.cpp.orig 2016-05-15 12:49:15 UTC -+++ src/unittest/test_serialization.cpp -@@ -295,7 +295,7 @@ void TestSerialization::testStreamRead() - UASSERT(readU8(is) == 0x11); - UASSERT(readU16(is) == 0x2233); - UASSERT(readU32(is) == 0x44556677); -- UASSERT(readU64(is) == 0x8899AABBCCDDEEFF); -+ UASSERT(readU64(is) == 0x8899AABBCCDDEEFFULL); - - UASSERT(readS8(is) == -128); - UASSERT(readS16(is) == 30000); -@@ -336,7 +336,7 @@ void TestSerialization::testStreamWrite( - writeU8(os, 0x11); - writeU16(os, 0x2233); - writeU32(os, 0x44556677); -- writeU64(os, 0x8899AABBCCDDEEFF); -+ writeU64(os, 0x8899AABBCCDDEEFFULL); - - writeS8(os, -128); - writeS16(os, 30000); -@@ -382,7 +382,7 @@ void TestSerialization::testVecPut() - putU8(&buf, 0x11); - putU16(&buf, 0x2233); - putU32(&buf, 0x44556677); -- putU64(&buf, 0x8899AABBCCDDEEFF); -+ putU64(&buf, 0x8899AABBCCDDEEFFULL); - - putS8(&buf, -128); - putS16(&buf, 30000); -@@ -464,7 +464,7 @@ void TestSerialization::testBufReader() - UASSERT(buf.getU8() == 0x11); - UASSERT(buf.getU16() == 0x2233); - UASSERT(buf.getU32() == 0x44556677); -- UASSERT(buf.getU64() == 0x8899AABBCCDDEEFF); -+ UASSERT(buf.getU64() == 0x8899AABBCCDDEEFFULL); - UASSERT(buf.getS8() == -128); - UASSERT(buf.getS16() == 30000); - UASSERT(buf.getS32() == -6); -@@ -576,7 +576,7 @@ void TestSerialization::testBufReader() - UASSERT(u8_data == 0x11); - UASSERT(u16_data == 0x2233); - UASSERT(u32_data == 0x44556677); -- UASSERT(u64_data == 0x8899AABBCCDDEEFF); -+ UASSERT(u64_data == 0x8899AABBCCDDEEFFULL); - UASSERT(s8_data == -128); - UASSERT(s16_data == 30000); - UASSERT(s32_data == -6); |