diff options
| author | nia <nia@pkgsrc.org> | 2021-06-21 14:02:47 +0000 |
|---|---|---|
| committer | nia <nia@pkgsrc.org> | 2021-06-21 14:02:47 +0000 |
| commit | 24c2c285ba286cdb6b143eb483ee540fc28eb4bd (patch) | |
| tree | 0c14f3b4cb2cd6cf9d8ef522cbfb30b959f010af /games/gemrb | |
| parent | 84c922de86b83f8402fcc30975e03abd2376ccea (diff) | |
| download | pkgsrc-24c2c285ba286cdb6b143eb483ee540fc28eb4bd.tar.gz | |
gemrb: fix broken patch
Diffstat (limited to 'games/gemrb')
| -rw-r--r-- | games/gemrb/distinfo | 4 | ||||
| -rw-r--r-- | games/gemrb/patches/patch-gemrb_core_System_String.cpp | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/games/gemrb/distinfo b/games/gemrb/distinfo index dc771f57788..873627801db 100644 --- a/games/gemrb/distinfo +++ b/games/gemrb/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2021/06/06 16:59:51 nia Exp $ +$NetBSD: distinfo,v 1.5 2021/06/21 14:02:47 nia Exp $ SHA1 (gemrb-0.8.8.tar.gz) = 62e5e19e2cd6f2c2ce5d14a23637aaa78c6ce95a RMD160 (gemrb-0.8.8.tar.gz) = c88ce8b2c604f297fa205390a21fda5f96006593 SHA512 (gemrb-0.8.8.tar.gz) = 9425d68b931663e25b449386266d0409141f40da0e79513aa52c52e3f0f8c81f14b498d816e6b8dd86ce7948b22ad94128b700c013706bf808c7f1e58f734758 Size (gemrb-0.8.8.tar.gz) = 13918948 bytes -SHA1 (patch-gemrb_core_System_String.cpp) = 3e692b69a3a334050cb10400fce276893143dd57 +SHA1 (patch-gemrb_core_System_String.cpp) = ffdaaed3ffac3048bdfc8eb4b951b497b896f613 SHA1 (patch-gemrb_plugins_TTFImporter_TTFFont.cpp) = 5d21363e3b1957f96bf20f4229ebe529909bc3da diff --git a/games/gemrb/patches/patch-gemrb_core_System_String.cpp b/games/gemrb/patches/patch-gemrb_core_System_String.cpp index 53c2b2c9e7c..a4a1c3ac084 100644 --- a/games/gemrb/patches/patch-gemrb_core_System_String.cpp +++ b/games/gemrb/patches/patch-gemrb_core_System_String.cpp @@ -1,10 +1,10 @@ -$NetBSD: patch-gemrb_core_System_String.cpp,v 1.2 2021/06/06 16:59:51 nia Exp $ +$NetBSD: patch-gemrb_core_System_String.cpp,v 1.3 2021/06/21 14:02:47 nia Exp $ Deal with old NetBSD/SunOS style iconv. --- gemrb/core/System/String.cpp.orig 2021-06-02 16:16:47.000000000 +0000 +++ gemrb/core/System/String.cpp -@@ -31,6 +31,16 @@ +@@ -31,6 +31,15 @@ #include <iconv.h> #endif @@ -16,12 +16,11 @@ Deal with old NetBSD/SunOS style iconv. +#define NETBSD_POSIX_ICONV 0 +#endif /* __NetBSD_Prereq__(9,99,17) */ +#endif /* defined(__NetBSD__) */ -+#endif + namespace GemRB { static String* StringFromEncodedData(const ieByte* string, const EncodingStruct& encoded) -@@ -123,7 +133,11 @@ char* ConvertCharEncoding(const char* st +@@ -123,7 +132,11 @@ char* ConvertCharEncoding(const char* st size_t out_len_left = out_len; char* buf = (char*) malloc(out_len); char* buf_out = buf; |
