updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / showimg / showimg-0.9.5+gcc-4.3.patch
blobc76a31cfbd23e85c23dd7692253d434c3e84e133
1 diff -Naur showimg-0.9.5-orig/showimg/kexi/kexidb/drivers/pqxx/pqxxcursor.cpp showimg-0.9.5/showimg/kexi/kexidb/drivers/pqxx/pqxxcursor.cpp
2 --- showimg-0.9.5-orig/showimg/kexi/kexidb/drivers/pqxx/pqxxcursor.cpp 2006-01-07 03:47:46.000000000 -0500
3 +++ showimg-0.9.5/showimg/kexi/kexidb/drivers/pqxx/pqxxcursor.cpp 2008-07-20 14:27:27.000000000 -0400
4 @@ -17,6 +17,7 @@
6 #include <klocale.h>
7 #include <kdebug.h>
8 +#include <cstdlib>
10 using namespace KexiDB;
12 diff -Naur showimg-0.9.5-orig/showimg/kexi/kexidb/parser/sqlparser.cpp showimg-0.9.5/showimg/kexi/kexidb/parser/sqlparser.cpp
13 --- showimg-0.9.5-orig/showimg/kexi/kexidb/parser/sqlparser.cpp 2006-01-07 03:47:45.000000000 -0500
14 +++ showimg-0.9.5/showimg/kexi/kexidb/parser/sqlparser.cpp 2008-07-20 14:26:37.000000000 -0400
15 @@ -359,6 +359,7 @@
16 #include <iostream>
17 #include <assert.h>
18 #include <limits.h>
19 +#include <cstdlib>
20 //TODO OK?
21 #ifdef Q_WS_WIN
22 //workaround for bug on msvc
23 diff -Naur showimg-0.9.5-orig/showimg/kexi/kexidb/parser/sqlparser.y showimg-0.9.5/showimg/kexi/kexidb/parser/sqlparser.y
24 --- showimg-0.9.5-orig/showimg/kexi/kexidb/parser/sqlparser.y 2006-01-07 03:47:45.000000000 -0500
25 +++ showimg-0.9.5/showimg/kexi/kexidb/parser/sqlparser.y 2008-07-20 14:26:37.000000000 -0400
26 @@ -440,6 +440,8 @@
27 #include <iostream>
28 #include <assert.h>
29 #include <limits.h>
30 +#include <alloca.h>
31 +#include <cstdlib>
32 //TODO OK?
33 #ifdef Q_WS_WIN
34 //workaround for bug on msvc
35 diff -Naur showimg-0.9.5-orig/showimg/showimg/imagelistview.cpp showimg-0.9.5/showimg/showimg/imagelistview.cpp
36 --- showimg-0.9.5-orig/showimg/showimg/imagelistview.cpp 2006-01-07 03:48:04.000000000 -0500
37 +++ showimg-0.9.5/showimg/showimg/imagelistview.cpp 2008-07-20 14:26:37.000000000 -0400
38 @@ -49,6 +49,9 @@
39 #include "imageviewer.h"
40 #include "imagemetainfo.h"
42 +#include <cstdlib>
43 +#include <climits>
45 #ifdef HAVE_KIPI
46 #include "kipiplugins/kipipluginmanager.h"
47 #endif /* HAVE_KIPI */