Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=32847e6bb0f9af8f50afd46fead84bd8a09f3f44

commit 32847e6bb0f9af8f50afd46fead84bd8a09f3f44
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed Sep 24 17:50:14 2008 +0200

libpqxx-2.6.9-1-ppc

added ppc to archs()

diff --git a/source/lib-extra/libpqxx/FrugalBuild 
b/source/lib-extra/libpqxx/FrugalBuild
index a0cd927..c8f1a5e 100644
--- a/source/lib-extra/libpqxx/FrugalBuild
+++ b/source/lib-extra/libpqxx/FrugalBuild
@@ -9,10 +9,11 @@ url="http://pqxx.org";
depends=('libpq>=8.2.1' 'libstdc++')
makedepends=('postgresql>=8.2.1')
up2date="lynx -dump $url/download/software/$pkgname/|Flasttar"
-source=($url/download/software/$pkgname/$pkgname-$pkgver.tar.gz)
+source=($url/download/software/$pkgname/$pkgname-$pkgver.tar.gz \
+       libpqxx-2.6.9-gcc43.patch)
groups=('lib-extra')
-archs=('i686' 'x86_64')
+archs=('i686' 'x86_64' 'ppc')
Fconfopts="$Fconfopts --enable-shared"
-
-sha1sums=('8be9dcd0375337b170d5c94370fa896911d361f1')
+sha1sums=('8be9dcd0375337b170d5c94370fa896911d361f1' \
+          'dba613d8f9feffd604a0d6cbbb04194da15756b2')
# optimization OK
diff --git a/source/lib-extra/libpqxx/libpqxx-2.6.9-gcc43.patch 
b/source/lib-extra/libpqxx/libpqxx-2.6.9-gcc43.patch
new file mode 100644
index 0000000..3547963
--- /dev/null
+++ b/source/lib-extra/libpqxx/libpqxx-2.6.9-gcc43.patch
@@ -0,0 +1,56 @@
+diff -ub libpqxx-2.6.9-orig/src/binarystring.cxx 
libpqxx-2.6.9/src/binarystring.cxx
+--- libpqxx-2.6.9-orig/src/binarystring.cxx    2008-04-16 19:52:13.000000000 
+0200
++++ libpqxx-2.6.9/src/binarystring.cxx 2008-04-16 19:52:39.000000000 +0200
+@@ -18,6 +18,7 @@
+
+ #include <new>
+ #include <stdexcept>
++#include <cstring>
+
+ #include "libpq-fe.h"
+
+diff -ub libpqxx-2.6.9-orig/src/connection_base.cxx 
libpqxx-2.6.9/src/connection_base.cxx
+--- libpqxx-2.6.9-orig/src/connection_base.cxx 2008-04-16 19:52:13.000000000 
+0200
++++ libpqxx-2.6.9/src/connection_base.cxx      2008-04-16 19:53:10.000000000 
+0200
+@@ -22,6 +22,7 @@
+ #include <cerrno>
+ #include <cstdio>
+ #include <ctime>
++#include <cstring>
+ #include <stdexcept>
+
+ #ifdef PQXX_HAVE_SYS_SELECT_H
+diff -ub libpqxx-2.6.9-orig/src/cursor.cxx libpqxx-2.6.9/src/cursor.cxx
+--- libpqxx-2.6.9-orig/src/cursor.cxx  2008-04-16 19:52:13.000000000 +0200
++++ libpqxx-2.6.9/src/cursor.cxx       2008-04-16 19:53:30.000000000 +0200
+@@ -17,6 +17,7 @@
+  */
+ #include "pqxx/compiler-internal.hxx"
+
++#include <cstring>
+ #include <cstdlib>
+
+ #include "pqxx/cursor"
+diff -ub libpqxx-2.6.9-orig/src/result.cxx libpqxx-2.6.9/src/result.cxx
+--- libpqxx-2.6.9-orig/src/result.cxx  2008-04-16 19:52:13.000000000 +0200
++++ libpqxx-2.6.9/src/result.cxx       2008-04-16 19:54:02.000000000 +0200
+@@ -18,6 +18,8 @@
+ #include "pqxx/compiler-internal.hxx"
+
+ #include <stdexcept>
++#include <cstring>
++#include <cstdlib>
+
+ #include "libpq-fe.h"
+
+diff -ub libpqxx-2.6.9-orig/src/transaction_base.cxx 
libpqxx-2.6.9/src/transaction_base.cxx
+--- libpqxx-2.6.9-orig/src/transaction_base.cxx        2008-04-16 
19:52:13.000000000 +0200
++++ libpqxx-2.6.9/src/transaction_base.cxx     2008-04-16 19:54:20.000000000 
+0200
+@@ -19,6 +19,7 @@
+ #include "pqxx/compiler-internal.hxx"
+
+ #include <stdexcept>
++#include <cstring>
+
+ #include "pqxx/connection_base"
+ #include "pqxx/result"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to