aboutsummaryrefslogtreecommitdiff
path: root/multimedia/naludump
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 /multimedia/naludump
parent522c152d1c7b0c92982e310110fa6d59f915ffeb (diff)
downloadports-074ea5282a00d556c73d86231bec5444990597dc.tar.gz
ports-074ea5282a00d556c73d86231bec5444990597dc.zip
Notes
Diffstat (limited to 'multimedia/naludump')
-rw-r--r--multimedia/naludump/files/patch-libsi-si.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/multimedia/naludump/files/patch-libsi-si.c b/multimedia/naludump/files/patch-libsi-si.c
index 770e8c704a82..d5595ba94d31 100644
--- a/multimedia/naludump/files/patch-libsi-si.c
+++ b/multimedia/naludump/files/patch-libsi-si.c
@@ -10,15 +10,3 @@
#include <stdlib.h> // for broadcaster stupidity workaround
#include <string.h>
#include "descriptor.h"
-@@ -381,7 +383,11 @@ bool convertCharacterTable(const char *f
- if (SystemCharacterTable) {
- iconv_t cd = iconv_open(SystemCharacterTable, fromCode);
- if (cd != (iconv_t)-1) {
-+#ifdef __FreeBSD__
-+ const char *fromPtr = from;
-+#else
- char *fromPtr = (char *)from;
-+#endif
- while (fromLength > 0 && toLength > 1) {
- if (iconv(cd, &fromPtr, &fromLength, &to, &toLength) == size_t(-1)) {
- if (errno == EILSEQ) {