Add patches to fix build on 10 and head

This commit is contained in:
Max Brazhnikov 2013-12-09 15:08:42 +00:00
parent 1dc8cc310f
commit 06a93cc0b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335996
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- ./src/datasources/ascii/kst_atof.cpp.orig 2012-07-22 13:24:59.000000000 +0000
+++ ./src/datasources/ascii/kst_atof.cpp 2013-12-09 13:59:43.253923430 +0000
@@ -8,6 +8,7 @@
#include <ctype.h>
#include <QLocale>
+#include <locale.h>
#define LOGHUGE 39

View file

@ -0,0 +1,10 @@
--- ./src/libkst/ksttimezone.h.orig 2012-07-22 13:24:59.000000000 +0000
+++ ./src/libkst/ksttimezone.h 2013-12-07 17:57:37.647544068 +0000
@@ -16,6 +16,7 @@
#include "kst_export.h"
#include <QStringList>
+#include <sys/types.h>
namespace Kst {

View file

@ -0,0 +1,10 @@
--- ./src/libkstapp/logdialog.h.orig 2012-07-22 13:24:59.000000000 +0000
+++ ./src/libkstapp/logdialog.h 2013-12-09 11:39:44.250919414 +0000
@@ -17,6 +17,7 @@
#include <QDialog>
#include <QProcess>
+#include <sys/types.h>
#include "kst_export.h"
#include "kst_i18n.h"

View file

@ -0,0 +1,10 @@
--- ./plugins/stardict/lib.cpp.orig 2011-12-05 12:40:49.000000000 +0000
+++ ./plugins/stardict/lib.cpp 2013-12-09 11:22:18.738921230 +0000
@@ -9,6 +9,7 @@
#include <sys/stat.h>
#include <zlib.h>
#include <glib/gstdio.h>
+#include <stdlib.h>
#include "distance.h"
#include "file.hpp"

View file

@ -0,0 +1,10 @@
--- ./plugins/stardict/mapfile.hpp.orig 2011-12-05 12:40:49.000000000 +0000
+++ ./plugins/stardict/mapfile.hpp 2013-12-07 17:36:45.942541049 +0000
@@ -9,6 +9,7 @@
# include <sys/types.h>
# include <fcntl.h>
# include <sys/mman.h>
+# include <unistd.h>
#endif
#ifdef _WIN32
# include <windows.h>