aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dvd+rw-tools/files/08-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dvd+rw-tools/files/08-includes.patch')
-rw-r--r--packages/dvd+rw-tools/files/08-includes.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/dvd+rw-tools/files/08-includes.patch b/packages/dvd+rw-tools/files/08-includes.patch
new file mode 100644
index 0000000000..9dd68cad87
--- /dev/null
+++ b/packages/dvd+rw-tools/files/08-includes.patch
@@ -0,0 +1,14 @@
+Author: Daniel Schepler <schepler@math.unipd.it>
+Description: Add missing include in transport.hxx, fixes FTBFS with gcc-4.2 and gcc-4.3 (Closes: #455276, #456551).
+
+diff -Naurp dvd+rw-tools.orig/transport.hxx dvd+rw-tools/transport.hxx
+--- dvd+rw-tools.orig/transport.hxx 2008-04-01 09:04:51.000000000 +0000
++++ dvd+rw-tools/transport.hxx 2008-04-01 09:23:09.000000000 +0000
+@@ -16,6 +16,7 @@
+ #include <fcntl.h>
+ #include <poll.h>
+ #include <sys/time.h>
++#include <limits.h>
+
+ inline long getmsecs()
+ { struct timeval tv;