summaryrefslogtreecommitdiff
path: root/recipes/dvd+rw-tools/files/10-includes.dpatch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-05-16 00:32:43 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-05-16 00:32:43 +0400
commit41a385a587cb693894c966e58b4e88b4dc11023c (patch)
tree529b7168fd92b51f662bd011d596da395ac62a51 /recipes/dvd+rw-tools/files/10-includes.dpatch
parent39836a5818e2e0f1915b053137d60c96c608e82c (diff)
parent16d94b6b28b86657678b78d1f57c666c391c4688 (diff)
Merge branch 'org.openembedded.dev' of git://git.openembedded.org/openembedded into org.openembedded.dev
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;