summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-06-18 19:02:56 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-06-18 19:02:56 +0000
commit1c87c4b645fa8c3e619a42239778738af5718ef7 (patch)
treecf33d27a893f5db2ef0812b15ee3cb3b04204526
parentFix gcc-4.3/glibc-2.8 compilation problems (diff)
downloadsunrise-1c87c4b645fa8c3e619a42239778738af5718ef7.tar.gz
sunrise-1c87c4b645fa8c3e619a42239778738af5718ef7.tar.bz2
sunrise-1c87c4b645fa8c3e619a42239778738af5718ef7.zip
Fix gcc-4.3/glibc-2.8 compilation problems
svn path=/sunrise/; revision=6340
-rw-r--r--dev-cpp/litesql/ChangeLog4
-rw-r--r--dev-cpp/litesql/Manifest5
-rw-r--r--dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch37
-rw-r--r--dev-cpp/litesql/litesql-0.3.2.ebuild6
4 files changed, 48 insertions, 4 deletions
diff --git a/dev-cpp/litesql/ChangeLog b/dev-cpp/litesql/ChangeLog
index 695b65398..2f7fcda98 100644
--- a/dev-cpp/litesql/ChangeLog
+++ b/dev-cpp/litesql/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 18 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> litesql-0.3.2.ebuild,
+ +files/litesql-0.3.2-gcc43_glibc28.patch:
+ Fix gcc-4.3/glibc-2.8 compilation problems
+
07 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> litesql-0.3.2.ebuild:
Changed dependency from dev-db/libpq to virtual/postgresql-base
diff --git a/dev-cpp/litesql/Manifest b/dev-cpp/litesql/Manifest
index 3f30fc944..596349aff 100644
--- a/dev-cpp/litesql/Manifest
+++ b/dev-cpp/litesql/Manifest
@@ -1,6 +1,7 @@
AUX litesql-0.3.2-extra_qualifier.patch 840 RMD160 260b38e210cdbd492363b9a136ff89755af94ab6 SHA1 3c5ae043a9cf2039e4ec9749db50489d41c35602 SHA256 7e88809a99273a22f1d2791959a1d63b5c306ba47d48d04bea24da8e18665995
+AUX litesql-0.3.2-gcc43_glibc28.patch 1355 RMD160 952a6b99bb932ca9c06124a7afca070a5e16d567 SHA1 6f806cc9d3ff578d5747479ad7de6c20edfb4c1b SHA256 fdc2820a5adaa144a2d8125d250bb13469029c4725b4dc4c79b6ea8bec2d7ae4
AUX litesql-0.3.2-pkg_makefile_am.patch 492 RMD160 f36970b30755e4dfacf3366d2bcb4afbe2d3368f SHA1 c4aecee20e9215cf247977575b222dbfa625be87 SHA256 c9ee443edf0c1f6ffd79593eafb30cb06a103e78e3845429ccff07e7ce7999a4
DIST litesql-0.3.2.tar.gz 825703 RMD160 13cf61db4994b13b98456abf86c737cbaf5f954d SHA1 4e725f2ed361224ff15a970970c82f82ede47e44 SHA256 b00cadb4cda881d65534515d40e20fa7cba234e67a5600d580c0a58e289daeed
-EBUILD litesql-0.3.2.ebuild 1776 RMD160 a30d8cea1d06362f6d97918ce1020ad1ecc87d0a SHA1 6eb24751684108aa4d16089f71f8c6d7a26ead9e SHA256 f6a6dd62c05b22219f547d4002432bc0b065aff03683ab807c57df5de4a3078a
-MISC ChangeLog 1226 RMD160 90505c761d88e985a14b1ec36c5c84fe1de80097 SHA1 e268845e00224f35bf77f20cbb66025c31e03bf3 SHA256 428ced2301aba7c17e830747a73eb599a3482e4664f5db5ba37796734348f894
+EBUILD litesql-0.3.2.ebuild 1819 RMD160 a8f4eec3e41d314d63cfc0732b5b17a27d286447 SHA1 b79332a5d9d8e7c5307539ecb3fb5e9eb8780ee6 SHA256 a57947d057ee4898c5ce06bfe67999fea0d8bcebca3af97c0fe70df2a746ac76
+MISC ChangeLog 1391 RMD160 3acb002931449e4b4b8d5c2c69abcdb99bd9ffd3 SHA1 4ddb66def40c0fc04f37e4b07a3419c0d7ee475b SHA256 f7afe57a04ea85506bd9dccdd1f6f9712b06c08bace3eaa626ef9ab6ce5fbf63
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch b/dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch
new file mode 100644
index 000000000..76dd55eb4
--- /dev/null
+++ b/dev-cpp/litesql/files/litesql-0.3.2-gcc43_glibc28.patch
@@ -0,0 +1,37 @@
+diff -Naur litesql-0.3.2.orig/src/library/field.cpp litesql-0.3.2/src/library/field.cpp
+--- litesql-0.3.2.orig/src/library/field.cpp 2008-06-18 18:54:42.000000000 +0200
++++ litesql-0.3.2/src/library/field.cpp 2008-06-18 18:59:39.000000000 +0200
+@@ -5,6 +5,8 @@
+ * See LICENSE for copyright information. */
+ #include "compatibility.hpp"
+ #include "litesql.hpp"
++#include <cstdlib>
++
+ namespace litesql {
+ using namespace std;
+ In FieldType::in(const string& set) const {
+diff -Naur litesql-0.3.2.orig/src/library/split.cpp litesql-0.3.2/src/library/split.cpp
+--- litesql-0.3.2.orig/src/library/split.cpp 2008-06-18 18:54:42.000000000 +0200
++++ litesql-0.3.2/src/library/split.cpp 2008-06-18 18:55:10.000000000 +0200
+@@ -6,8 +6,9 @@
+ #include "compatibility.hpp"
+ #include "litesql/split.hpp"
+ #include <string>
+-#include <string.h>
+ #include <cstring>
++#include <cstring>
++#include <cstdlib>
+
+ namespace litesql {
+ using namespace std;
+diff -Naur litesql-0.3.2.orig/src/library/string.cpp litesql-0.3.2/src/library/string.cpp
+--- litesql-0.3.2.orig/src/library/string.cpp 2008-06-18 18:54:42.000000000 +0200
++++ litesql-0.3.2/src/library/string.cpp 2008-06-18 18:58:30.000000000 +0200
+@@ -8,6 +8,7 @@
+ #include "litesql/utils.hpp"
+ #include "litesql/field.hpp"
+ #include <ctype.h>
++#include <cstdlib>
+
+ namespace litesql {
+ using namespace std;
diff --git a/dev-cpp/litesql/litesql-0.3.2.ebuild b/dev-cpp/litesql/litesql-0.3.2.ebuild
index 5a00c19ec..c80f0de1c 100644
--- a/dev-cpp/litesql/litesql-0.3.2.ebuild
+++ b/dev-cpp/litesql/litesql-0.3.2.ebuild
@@ -31,8 +31,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-extra_qualifier.patch"
- epatch "${FILESDIR}/${P}-pkg_makefile_am.patch"
+ epatch \
+ "${FILESDIR}/${P}-extra_qualifier.patch" \
+ "${FILESDIR}/${P}-pkg_makefile_am.patch" \
+ "${FILESDIR}/${P}-gcc43_glibc28.patch"
sed -i \
-e 's/docs//' \