summaryrefslogtreecommitdiff
path: root/recipes/dvd+rw-tools/files/10-includes.dpatch
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2009-05-14 17:41:56 +0400
committerSergey Lapin <slapin@ossfans.org>2009-05-14 17:55:55 +0400
commitd02457b03abe27767741f709a461e8d46294dd01 (patch)
tree569f43ca829b259c020c9fe46e09d7755f78c433 /recipes/dvd+rw-tools/files/10-includes.dpatch
parent0123e67d8568dd40be07d12f5b358c8854a3b78d (diff)
dvd+rw-tools: Added new recipe
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;