[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#667282: mklibs: ftbfs with GCC-4.7



tag 667282 patch
thanks

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

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

Mraw,
KiBi.
diff -Nru mklibs-0.1.33/debian/changelog mklibs-0.1.33+nmu1/debian/changelog
--- mklibs-0.1.33/debian/changelog	2011-03-18 14:26:37.000000000 +0000
+++ mklibs-0.1.33+nmu1/debian/changelog	2012-04-05 00:15:59.000000000 +0000
@@ -1,3 +1,10 @@
+mklibs (0.1.33+nmu1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 4.7 due to missing <unistd.h> include (Closes: #667282).
+
+ -- Cyril Brulebois <kibi@debian.org>  Thu, 05 Apr 2012 00:15:27 +0000
+
 mklibs (0.1.33) unstable; urgency=low
 
   * Adjust the libc_pic directory for multiarch as well.
diff -Nru mklibs-0.1.33/src/mklibs-readelf/elf.cpp mklibs-0.1.33+nmu1/src/mklibs-readelf/elf.cpp
--- mklibs-0.1.33/src/mklibs-readelf/elf.cpp	2011-01-18 00:41:29.000000000 +0000
+++ mklibs-0.1.33+nmu1/src/mklibs-readelf/elf.cpp	2012-04-05 00:15:09.000000000 +0000
@@ -25,6 +25,7 @@
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <sys/stat.h>
+#include <unistd.h>
 
 using namespace Elf;
 

Attachment: signature.asc
Description: Digital signature


Reply to: