aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/dvd+rw-tools/files/10-includes.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/dvd+rw-tools/files/10-includes.dpatch')
-rw-r--r--recipes/dvd+rw-tools/files/10-includes.dpatch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/dvd+rw-tools/files/10-includes.dpatch b/recipes/dvd+rw-tools/files/10-includes.dpatch
new file mode 100644
index 0000000000..6c28992170
--- /dev/null
+++ b/recipes/dvd+rw-tools/files/10-includes.dpatch
@@ -0,0 +1,19 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 10-includes.dpatch by Daniel Schepler <schepler@math.unipd.it>
+##
+## DP: Add missing include in transport.hxx, fixes FTBFS with gcc-4.2 and
+## DP: gcc-4.3 (Closes: #455276, #456551).
+
+@DPATCH@
+
+diff -Naurp dvd+rw-tools-7.1.orig/transport.hxx dvd+rw-tools-7.1/transport.hxx
+--- dvd+rw-tools-7.1.orig/transport.hxx 2008-04-01 09:04:51.000000000 +0000
++++ dvd+rw-tools-7.1/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;