aboutsummaryrefslogtreecommitdiff
path: root/games/pokerth
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2015-04-15 08:20:27 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2015-04-15 08:20:27 +0000
commit074ea5282a00d556c73d86231bec5444990597dc (patch)
treeeec3d608e84e79f0187985e5a1e29cd4f04f13eb /games/pokerth
parent522c152d1c7b0c92982e310110fa6d59f915ffeb (diff)
downloadports-074ea5282a00d556c73d86231bec5444990597dc.tar.gz
ports-074ea5282a00d556c73d86231bec5444990597dc.zip
Notes
Diffstat (limited to 'games/pokerth')
-rw-r--r--games/pokerth/files/patch-src-core-linux-convhelper.cpp23
1 files changed, 7 insertions, 16 deletions
diff --git a/games/pokerth/files/patch-src-core-linux-convhelper.cpp b/games/pokerth/files/patch-src-core-linux-convhelper.cpp
index d5e9c574809d..8b2958408e66 100644
--- a/games/pokerth/files/patch-src-core-linux-convhelper.cpp
+++ b/games/pokerth/files/patch-src-core-linux-convhelper.cpp
@@ -1,20 +1,11 @@
---- src/core/linux/convhelper.cpp.orig 2008-01-20 13:32:07.000000000 +0100
-+++ src/core/linux/convhelper.cpp 2008-01-20 12:56:03.000000000 +0100
-@@ -39,7 +39,7 @@
- #ifdef __APPLE__
- const char *inbuf = inStr.data();
- #else
-- char *inbuf = const_cast<char *>(inStr.data());
-+ const char *inbuf = const_cast<char *>(inStr.data());
+--- src/core/linux/convhelper.cpp.orig 2014-01-10 21:18:20 UTC
++++ src/core/linux/convhelper.cpp
+@@ -36,7 +36,7 @@
+ #error This file is not for Windows.
#endif
- const size_t c_outsize = insize * 6; // max size of utf-8 char is 6 per input char
-@@ -74,7 +74,7 @@
- #ifdef __APPLE__
- const char *inbuf = inStr.data();
- #else
-- char *inbuf = const_cast<char *>(inStr.data());
-+ const char *inbuf = const_cast<char *>(inStr.data());
+-#if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__NetBSD__)
+ #define HAVE_ICONV_CONST
#endif
- const size_t c_outsize = insize;