Package: scrub
Version: 2.4-1
Tags: patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/00-fix-includes.patch:
    - Add missing include in src/getsize.c, fixes FTBFS (LP: #674187).

We thought you might be interested in doing the same.

Kind regards
diff -Nru scrub-2.4/debian/changelog scrub-2.4/debian/changelog
--- scrub-2.4/debian/changelog	2010-11-07 09:07:47.000000000 +0100
+++ scrub-2.4/debian/changelog	2010-11-12 00:17:06.000000000 +0100
@@ -1,3 +1,10 @@
+scrub (2.4-1ubuntu1) natty; urgency=low
+
+  * debian/patches/00-fix-includes.patch:
+    - Add missing include in src/getsize.c, fixes FTBFS (LP: #674187).
+
+ -- Roy Jamison <xtee...@googlemail.com>  Thu, 11 Nov 2010 19:14:49 +0000
+
 scrub (2.4-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru scrub-2.4/debian/control scrub-2.4/debian/control
--- scrub-2.4/debian/control	2010-11-07 08:48:33.000000000 +0100
+++ scrub-2.4/debian/control	2010-11-12 00:15:32.000000000 +0100
@@ -1,7 +1,8 @@
 Source: scrub
 Section: utils 
 Priority: extra 
-Maintainer: Chris Taylor <ctay...@debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Chris Taylor <ctay...@debian.org>
 Build-Depends: debhelper (>= 7), autotools-dev, quilt
 Standards-Version: 3.9.1
 Homepage: http://code.google.com/p/diskscrub/ 
diff -Nru scrub-2.4/debian/patches/00-fix-includes.patch scrub-2.4/debian/patches/00-fix-includes.patch
--- scrub-2.4/debian/patches/00-fix-includes.patch	1970-01-01 01:00:00.000000000 +0100
+++ scrub-2.4/debian/patches/00-fix-includes.patch	2010-11-12 00:16:09.000000000 +0100
@@ -0,0 +1,13 @@
+Description: Fixes missing inttypes.h include in src/getsize.c
+Author: Roy Jamison <xtee...@googlemail.com>
+Bug-Ubuntu: https://launchpad.net/bugs/674187
+--- a/src/getsize.c
++++ b/src/getsize.c
+@@ -45,6 +45,7 @@
+ /* scrub-1.7 tested linux 2.6.11-1.1369_FC4 */
+ /* scrub-1.8 tested Fedora Core 5 */
+ #include <sys/ioctl.h>
++#include <inttypes.h>
+ #include <linux/fs.h>
+ #include <sys/utsname.h>
+ typedef unsigned long long u64; /* for BLKGETSIZE64 (slackware) */
diff -Nru scrub-2.4/debian/patches/series scrub-2.4/debian/patches/series
--- scrub-2.4/debian/patches/series	2010-11-07 09:18:43.000000000 +0100
+++ scrub-2.4/debian/patches/series	2010-11-12 00:15:32.000000000 +0100
@@ -1 +1,2 @@
 01-Manpage
+00-fix-includes.patch

Reply via email to