diff options
author | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-10-25 23:15:48 +0000 |
---|---|---|
committer | Karol Wojtaszek <sekretarz@gentoo.org> | 2004-10-25 23:15:48 +0000 |
commit | a5b1e4362a9840a2f86d16dc92ac3936921c297f (patch) | |
tree | 406181137d0938c092ac4afb6bdf0c0bd105d08d | |
parent | ~amd64, #64772 (Manifest recommit) (diff) | |
download | gentoo-2-a5b1e4362a9840a2f86d16dc92ac3936921c297f.tar.gz gentoo-2-a5b1e4362a9840a2f86d16dc92ac3936921c297f.tar.bz2 gentoo-2-a5b1e4362a9840a2f86d16dc92ac3936921c297f.zip |
Version bump. Added ~amd64
-rw-r--r-- | dev-libs/ibpp/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/ibpp/files/digest-ibpp-2.3.4.0 | 1 | ||||
-rw-r--r-- | dev-libs/ibpp/files/ibpp-2.3.4.0-amd64.patch | 33 | ||||
-rw-r--r-- | dev-libs/ibpp/ibpp-2.3.4.0.ebuild | 39 | ||||
-rw-r--r-- | dev-libs/ibpp/metadata.xml | 9 |
5 files changed, 89 insertions, 1 deletions
diff --git a/dev-libs/ibpp/ChangeLog b/dev-libs/ibpp/ChangeLog index 4a67fee7d5a3..1505ec8c65a0 100644 --- a/dev-libs/ibpp/ChangeLog +++ b/dev-libs/ibpp/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/ibpp # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/ibpp/ChangeLog,v 1.10 2004/06/24 23:12:43 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ibpp/ChangeLog,v 1.11 2004/10/25 23:15:48 sekretarz Exp $ + +*ibpp-2.3.4.0 (26 Oct 2004) + + 26 Oct 2004; Karol Wojtaszek <sekretarz@gentoo.org> +metadata.xml, + +ibpp-2.3.4.0.ebuild: + Version bump, bug #68464. Added ~amd64 and metadata.xml 14 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> ibpp-1.0.5.2-r1.ebuild: Don't assign default to S; header fix diff --git a/dev-libs/ibpp/files/digest-ibpp-2.3.4.0 b/dev-libs/ibpp/files/digest-ibpp-2.3.4.0 new file mode 100644 index 000000000000..741df3b4e9a3 --- /dev/null +++ b/dev-libs/ibpp/files/digest-ibpp-2.3.4.0 @@ -0,0 +1 @@ +MD5 212002f41947d6db7bf69fae5f4bfd35 ibpp-2-3-4-0-src.zip 124945 diff --git a/dev-libs/ibpp/files/ibpp-2.3.4.0-amd64.patch b/dev-libs/ibpp/files/ibpp-2.3.4.0-amd64.patch new file mode 100644 index 000000000000..92c194e24d7c --- /dev/null +++ b/dev-libs/ibpp/files/ibpp-2.3.4.0-amd64.patch @@ -0,0 +1,33 @@ +diff -Naur ibpp.orig/Makefile ibpp/Makefile +--- ibpp.orig/Makefile 2004-09-27 14:08:44.000000000 +0200 ++++ ibpp/Makefile 2004-10-25 22:53:52.000000000 +0200 +@@ -164,7 +164,7 @@ + # building on linux (any flavour, I suppose)
+ ifeq ($(PLATFORM),linux)
+ CXXOUTPUT = -o
+- CXXFLAGS =-DIBPP_LINUX
++ CXXFLAGS =-DIBPP_LINUX -fPIC
+ CXXFLAGS+=-DIBPP_GCC
+ CXXFLAGS+=-I./ -I./fbheaders
+ #
+diff -Naur ibpp.orig/array.cpp ibpp/array.cpp +--- ibpp.orig/array.cpp 2004-09-23 17:34:08.000000000 +0200 ++++ ibpp/array.cpp 2004-10-25 22:51:01.000000000 +0200 +@@ -289,7 +289,7 @@ + throw ExceptionImpl("Array::ReadTo", "Wrong count of array elements");
+
+ IBS status;
+- long lenbuf = mBufferSize;
++ ISC_LONG lenbuf = mBufferSize;
+ (*gds.Call()->m_array_get_slice)(status.Self(), mDatabase->GetHandlePtr(),
+ mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
+ if (status.Errors())
+@@ -1088,7 +1088,7 @@ + }
+
+ IBS status;
+- long lenbuf = mBufferSize;
++ ISC_LONG lenbuf = mBufferSize;
+ (*gds.Call()->m_array_put_slice)(status.Self(), mDatabase->GetHandlePtr(),
+ mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
+ if (status.Errors())
diff --git a/dev-libs/ibpp/ibpp-2.3.4.0.ebuild b/dev-libs/ibpp/ibpp-2.3.4.0.ebuild new file mode 100644 index 000000000000..2b9c8139429e --- /dev/null +++ b/dev-libs/ibpp/ibpp-2.3.4.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/ibpp/ibpp-2.3.4.0.ebuild,v 1.1 2004/10/25 23:15:48 sekretarz Exp $ + +inherit eutils + +MY_P=${P//./-}-src + +DESCRIPTION="IBPP, a C++ client API for firebird 1.0" +HOMEPAGE="http://www.ibpp.org/" +SRC_URI="mirror://sourceforge/ibpp/${MY_P}.zip" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-db/firebird-1.5.1" + +src_unpack() { + mkdir ${P} + cd ${P} + unpack ${A} + cd ${S} + + use amd64 && epatch ${FILESDIR}/${P}-amd64.patch +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + insinto /usr/include + doins ibpp.h || die "doins failed" + cd release/linux + dolib.so libibpp.so || die "dolib.so failed" + dolib.a libibpp.a || die "dolib.a failed" +} diff --git a/dev-libs/ibpp/metadata.xml b/dev-libs/ibpp/metadata.xml new file mode 100644 index 000000000000..bbf6e20d9bd8 --- /dev/null +++ b/dev-libs/ibpp/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>sekretarz@gentoo.org</email> + <name>Karol Wojtaszek</name> +</maintainer> +</pkgmetadata> |