summaryrefslogtreecommitdiff
path: root/community/newsbeuter/newsbeuter-2.5-gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/newsbeuter/newsbeuter-2.5-gcc47.patch')
-rw-r--r--community/newsbeuter/newsbeuter-2.5-gcc47.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/community/newsbeuter/newsbeuter-2.5-gcc47.patch b/community/newsbeuter/newsbeuter-2.5-gcc47.patch
new file mode 100644
index 000000000..48ed1682a
--- /dev/null
+++ b/community/newsbeuter/newsbeuter-2.5-gcc47.patch
@@ -0,0 +1,61 @@
+--- newsbeuter-2.5/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>
+--- newsbeuter-2.5/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/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/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/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/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>