1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
newsbeuter (2.5-2) unstable; urgency=low
.
* Fix build errors with gcc-4.7 (Closes: #667296)
Author: Nico Golde <nion@debian.org>
Bug-Debian: http://bugs.debian.org/667296
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: Debian
Bug-Debian: http://bugs.debian.org/667296
--- newsbeuter-2.5.orig/src/google_api.cpp
+++ newsbeuter-2.5/src/google_api.cpp
@@ -7,6 +7,8 @@
#include <config.h>
#include <utils.h>
+#include <unistd.h>
+
#include <curl/curl.h>
#define GREADER_LOGIN "https://www.google.com/accounts/ClientLogin"
--- newsbeuter-2.5.orig/src/reloadthread.cpp
+++ newsbeuter-2.5/src/reloadthread.cpp
@@ -1,5 +1,6 @@
#include <reloadthread.h>
#include <logger.h>
+#include <unistd.h>
namespace newsbeuter {
--- newsbeuter-2.5.orig/src/utils.cpp
+++ newsbeuter-2.5/src/utils.cpp
@@ -11,6 +11,7 @@
#include <libgen.h>
#include <sys/utsname.h>
+#include <unistd.h>
#include <sstream>
#include <locale>
#include <cwchar>
--- newsbeuter-2.5.orig/src/queueloader.cpp
+++ newsbeuter-2.5/src/queueloader.cpp
@@ -8,6 +8,8 @@
#include <config.h>
#include <libgen.h>
+#include <unistd.h>
+
using namespace newsbeuter;
namespace podbeuter {
--- newsbeuter-2.5.orig/src/pb_controller.cpp
+++ newsbeuter-2.5/src/pb_controller.cpp
@@ -12,6 +12,7 @@
#include <pwd.h>
#include <cstdlib>
#include <signal.h>
+#include <unistd.h>
#include <keymap.h>
#include <configcontainer.h>
--- newsbeuter-2.5.orig/src/controller.cpp
+++ newsbeuter-2.5/src/controller.cpp
@@ -30,6 +30,7 @@
#include <ctime>
#include <cassert>
#include <signal.h>
+#include <unistd.h>
#include <sys/utsname.h>
#include <langinfo.h>
#include <libgen.h>
|