aboutsummaryrefslogtreecommitdiff
path: root/multimedia/sabbu/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-30 11:30:20 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-30 11:30:20 +0000
commitc8c7fc2cd8b5938b94a1ba8662eb19bfad5d33ba (patch)
tree9772c11c1334593d644b24bd90edbf4ad5903660 /multimedia/sabbu/files
parent4661c0b5814e983a3857795068e06d5f5b33776f (diff)
downloadports-c8c7fc2cd8b5938b94a1ba8662eb19bfad5d33ba.tar.gz
ports-c8c7fc2cd8b5938b94a1ba8662eb19bfad5d33ba.zip
Notes
Diffstat (limited to 'multimedia/sabbu/files')
-rw-r--r--multimedia/sabbu/files/patch-Source_util.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/sabbu/files/patch-Source_util.cpp b/multimedia/sabbu/files/patch-Source_util.cpp
new file mode 100644
index 000000000000..7e1e3f7ef215
--- /dev/null
+++ b/multimedia/sabbu/files/patch-Source_util.cpp
@@ -0,0 +1,20 @@
+--- Source/util.cpp.orig 2005-08-11 14:32:00 UTC
++++ Source/util.cpp
+@@ -523,7 +523,7 @@ char *sgettext (const char *msgid)
+ char *msgval = gettext (msgid);
+ if (msgval == msgid)
+ {
+- msgval = strrchr (msgid, '|');
++ msgval = strrchr ((char *) msgid, '|');
+ if(!msgval)
+ msgval = (char *) msgid;
+ else
+@@ -536,7 +536,7 @@ char *sgettext (const char *msgid)
+
+ char *sgettext_strip(const char *msgid)
+ {
+- char *msgval = strrchr(msgid, '|');
++ char *msgval = strrchr((char *) msgid, '|');
+ if(!msgval)
+ return (char *) msgid;
+