tag 667128 patch
thanks

Matthias Klose <d...@debian.org> (03/04/2012):
> Package: catcodec
> Version: 1.0.4-1
> Severity: important
> Tags: sid wheezy
> User: debian-...@lists.debian.org
> Usertags: ftbfs-gcc-4.7

Here's a patch for this FTBFS. No intent to NMU.

Mraw,
KiBi.
diff -Nru catcodec-1.0.4/debian/changelog catcodec-1.0.4/debian/changelog
--- catcodec-1.0.4/debian/changelog	2011-08-04 19:40:56.000000000 +0000
+++ catcodec-1.0.4/debian/changelog	2012-04-04 23:24:52.000000000 +0000
@@ -1,3 +1,11 @@
+catcodec (1.0.4-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes
+    (Closes: #667128).
+
+ -- Cyril Brulebois <k...@debian.org>  Wed, 04 Apr 2012 23:24:25 +0000
+
 catcodec (1.0.4-1) unstable; urgency=low
 
   * [482c4b7] New upstream release 1.0.4.
diff -Nru catcodec-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7 catcodec-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7
--- catcodec-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7	1970-01-01 00:00:00.000000000 +0000
+++ catcodec-1.0.4/debian/patches/fix-ftbfs-with-gcc-4.7	2012-04-04 23:25:25.000000000 +0000
@@ -0,0 +1,25 @@
+Description: Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes.
+Author: Cyril Brulebois <k...@debian.org>
+Bug-Debian: http://bugs.debian.org/667128
+
+--- catcodec-1.0.4.orig/src/io.cpp
++++ catcodec-1.0.4/src/io.cpp
+@@ -20,6 +20,8 @@
+ 
+ /** @file io.cpp Implementation of reading/writing to files */
+ 
++#include <unistd.h>
++
+ #include "stdafx.h"
+ #include "io.hpp"
+ 
+--- catcodec-1.0.4.orig/src/catcodec.cpp
++++ catcodec-1.0.4/src/catcodec.cpp
+@@ -22,6 +22,7 @@
+ 
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ #include "stdafx.h"
+ #include "io.hpp"
diff -Nru catcodec-1.0.4/debian/patches/series catcodec-1.0.4/debian/patches/series
--- catcodec-1.0.4/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ catcodec-1.0.4/debian/patches/series	2012-04-04 23:25:05.000000000 +0000
@@ -0,0 +1 @@
+fix-ftbfs-with-gcc-4.7

Attachment: signature.asc
Description: Digital signature

Reply via email to