summaryrefslogtreecommitdiffstats
path: root/testing/dvd+rw-tools/transport.hxx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dvd+rw-tools/transport.hxx.patch')
-rw-r--r--testing/dvd+rw-tools/transport.hxx.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/dvd+rw-tools/transport.hxx.patch b/testing/dvd+rw-tools/transport.hxx.patch
new file mode 100644
index 000000000..d2f4f04b3
--- /dev/null
+++ b/testing/dvd+rw-tools/transport.hxx.patch
@@ -0,0 +1,19 @@
+--- dvd+rw-tools-7.1/transport.hxx
++++ dvd+rw-tools-7.1/transport.hxx.changed
+@@ -16,6 +16,7 @@
+ #include <fcntl.h>
+ #include <poll.h>
+ #include <sys/time.h>
++#include <limits.h>
+
+ inline long getmsecs()
+ { struct timeval tv;
+@@ -123,7 +124,7 @@
+ extern "C" char *plusminus_locale()
+ { static class __plusminus {
+ private:
+- char str[4];
++ char str[MB_LEN_MAX];
+ public:
+ __plusminus() { setlocale(LC_CTYPE,ENV_LOCALE);
+ int l = wctomb(str,(wchar_t)(unsigned char)'');