~ubuntu-branches/ubuntu/karmic/dvd+rw-tools/karmic

« back to all changes in this revision

Viewing changes to debian/patches/10-includes.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-02-05 10:06:00 UTC
  • mfrom: (0.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090205100600-m37w7v182r6zsy5m
Tags: 7.1-4
* Correcting spelling mistake in rpl8 manpage, thanks to James
  Youngman <jay@gnu.org> (Closes: #474038).
* Updating vcs fields in control file.
* Using patch-stamp rather than patch in rules file.
* Replacing obsolete dh_clean -k with dh_prep.
* Updating rules to current state of the art.
* Updating year in copyright file.
* Using quilt rather than dpatch.
* Prefixing debhelper files with package name.
* Adding patch from Kees Cook <kees@debian.org> to fix wctomb called
  with too small a buffer, patch originally taken from fedora (Closes:
  #497833).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh /usr/share/dpatch/dpatch-run
2
 
## 10-includes.dpatch by Daniel Schepler <schepler@math.unipd.it>
3
 
##
4
 
## DP: Add missing include in transport.hxx, fixes FTBFS with gcc-4.2 and
5
 
## DP: gcc-4.3 (Closes: #455276, #456551).
6
 
 
7
 
@DPATCH@
8
 
 
9
 
diff -Naurp dvd+rw-tools-7.1.orig/transport.hxx dvd+rw-tools-7.1/transport.hxx
10
 
--- dvd+rw-tools-7.1.orig/transport.hxx 2008-04-01 09:04:51.000000000 +0000
11
 
+++ dvd+rw-tools-7.1/transport.hxx      2008-04-01 09:23:09.000000000 +0000
12
 
@@ -16,6 +16,7 @@
13
 
 #include <fcntl.h>
14
 
 #include <poll.h>
15
 
 #include <sys/time.h>
16
 
+#include <limits.h>
17
 
 
18
 
 inline long getmsecs()
19
 
 { struct timeval tv;