tags 667329 + pending
thanks

Dear maintainer,

I've prepared an NMU for powertop (versioned as 1.97-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Rolling Stones: Tumbling
diff -Nru powertop-1.97/debian/changelog powertop-1.97/debian/changelog
--- powertop-1.97/debian/changelog	2011-03-17 16:25:01.000000000 +0100
+++ powertop-1.97/debian/changelog	2012-05-27 14:34:14.000000000 +0200
@@ -1,3 +1,13 @@
+powertop (1.97-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+
+  [ Cyril Brulebois ]
+  * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes
+    (Closes: #667329).
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 27 May 2012 14:34:09 +0200
+
 powertop (1.97-2) unstable; urgency=low
 
   * Fix a build failure on ia64
diff -Nru powertop-1.97/debian/patches/fix_ftbfs_with_gcc_4.7.patch powertop-1.97/debian/patches/fix_ftbfs_with_gcc_4.7.patch
--- powertop-1.97/debian/patches/fix_ftbfs_with_gcc_4.7.patch	1970-01-01 01:00:00.000000000 +0100
+++ powertop-1.97/debian/patches/fix_ftbfs_with_gcc_4.7.patch	2012-05-27 14:36:00.000000000 +0200
@@ -0,0 +1,88 @@
+Description: add missing <unistd.h> includes (FTBFS with gcc 4.7)
+Origin: vendor
+Bug-Debian: http://bugs.debian.org/667329
+Forwarded: no
+Author: Cyril Brulebois <k...@debian.org>
+Reviewed-by: gregor herrmann <gre...@debian.org>
+Last-Update: 2012-05-27
+
+--- a/main.cpp
++++ b/main.cpp
+@@ -27,6 +27,7 @@
+ #include <stdio.h>
+ #include <time.h>
+ #include <sys/stat.h>
++#include <unistd.h>
+ 
+ #include "cpu/cpu.h"
+ #include "process/process.h"
+--- a/cpu/intel_cpus.cpp
++++ b/cpu/intel_cpus.cpp
+@@ -34,6 +34,7 @@
+ #include <sys/time.h>
+ #include <string.h>
+ #include <errno.h>
++#include <unistd.h>
+ 
+ #include "../lib.h"
+ #include "../parameters/parameters.h"
+--- a/devices/alsa.cpp
++++ b/devices/alsa.cpp
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <dirent.h>
++#include <unistd.h>
+ 
+ 
+ using namespace std;
+--- a/devices/i915-gpu.cpp
++++ b/devices/i915-gpu.cpp
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+ #include <dirent.h>
++#include <unistd.h>
+ 
+ 
+ using namespace std;
+--- a/devices/network.cpp
++++ b/devices/network.cpp
+@@ -33,6 +33,7 @@
+ #include <dirent.h>
+ #include <libgen.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ 
+ #include <linux/ethtool.h>
+ 
+--- a/devices/rfkill.cpp
++++ b/devices/rfkill.cpp
+@@ -29,6 +29,7 @@
+ #include <sys/types.h>
+ #include <dirent.h>
+ #include <libgen.h>
++#include <unistd.h>
+ 
+ 
+ using namespace std;
+--- a/devices/thinkpad-fan.cpp
++++ b/devices/thinkpad-fan.cpp
+@@ -29,6 +29,7 @@
+ #include <sys/types.h>
+ #include <dirent.h>
+ #include <math.h>
++#include <unistd.h>
+ 
+ #include "../lib.h"
+ 
+--- a/html.cpp
++++ b/html.cpp
+@@ -29,6 +29,7 @@
+ #include <utility>
+ #include <iostream>
+ #include <fstream>
++#include <unistd.h>
+ 
+ #include "css.h"
+ #include "lib.h"
diff -Nru powertop-1.97/debian/patches/series powertop-1.97/debian/patches/series
--- powertop-1.97/debian/patches/series	2011-03-17 16:25:01.000000000 +0100
+++ powertop-1.97/debian/patches/series	2012-05-27 14:34:05.000000000 +0200
@@ -1,3 +1,4 @@
 fix_prefix_in_manpage.patch
 fix_NR_perf_event_open_on_ia64.patch
 fix_csstoh_on_sparc
+fix_ftbfs_with_gcc_4.7.patch

Attachment: signature.asc
Description: Digital signature

Reply via email to