diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-13 09:34:51 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-13 09:34:51 +0000 |
commit | 0cf3d324ae6bd46fbb52a2e54f9c874556ff7454 (patch) | |
tree | 0caa454f1f2fb9972beee2d6d3cc8d6b56c6ac31 /dev-libs/ibpp/files | |
parent | Stable for HPPA (bug #225185). (diff) | |
download | gentoo-2-0cf3d324ae6bd46fbb52a2e54f9c874556ff7454.tar.gz gentoo-2-0cf3d324ae6bd46fbb52a2e54f9c874556ff7454.tar.bz2 gentoo-2-0cf3d324ae6bd46fbb52a2e54f9c874556ff7454.zip |
Dropped old version and patches.
(Portage version: 2.1.5.4)
Diffstat (limited to 'dev-libs/ibpp/files')
-rw-r--r-- | dev-libs/ibpp/files/ibpp-1.0.5.2.patch | 97 | ||||
-rw-r--r-- | dev-libs/ibpp/files/ibpp-2.3.4.0-amd64.patch | 33 |
2 files changed, 0 insertions, 130 deletions
diff --git a/dev-libs/ibpp/files/ibpp-1.0.5.2.patch b/dev-libs/ibpp/files/ibpp-1.0.5.2.patch deleted file mode 100644 index 262c84f2a80b..000000000000 --- a/dev-libs/ibpp/files/ibpp-1.0.5.2.patch +++ /dev/null @@ -1,97 +0,0 @@ -diff -r -u ibpp-1.0.5.2_orig/database.cpp ibpp-1.0.5.2/database.cpp ---- ibpp-1.0.5.2_orig/database.cpp 2001-11-10 13:52:58.000000000 +0100 -+++ ibpp-1.0.5.2/database.cpp 2002-03-22 10:34:07.000000000 +0100 -@@ -354,9 +354,7 @@ - throw ExceptionImpl("Database::Create", "Database is already connected.");
- if (_DatabaseName == NULL)
- throw ExceptionImpl("Database::Create", "Unspecified database name.");
-- if (_UserName == NULL)
-- throw ExceptionImpl("Database::Create", "Unspecified user name.");
-- if (_UserPassword == NULL)
-+ if (_UserName != NULL && _UserPassword == NULL)
- throw ExceptionImpl("Database::Create", "Unspecified user password.");
-
- // Create a new database
-@@ -374,8 +372,11 @@ - else connect[0] = '\0';
- strcat(connect, _DatabaseName);
-
-- sprintf(create, "CREATE DATABASE \"%s\" USER \"%s\" PASSWORD \"%s\" ",
-- connect, _UserName, _UserPassword);
-+ if (_UserName != NULL)
-+ sprintf(create, "CREATE DATABASE \"%s\" USER \"%s\" PASSWORD \"%s\" ",
-+ connect, _UserName, _UserPassword);
-+ else
-+ sprintf(create, "CREATE DATABASE \"%s\" ", connect);
- if (_CreateParams != NULL)
- {
- strcat(create, " ");
-@@ -395,9 +396,7 @@ - throw ExceptionImpl("Database::Connect", "Database is already connected.");
- if (_DatabaseName == NULL)
- throw ExceptionImpl("Database::Connect", "Unspecified database name.");
-- if (_UserName == NULL)
-- throw ExceptionImpl("Database::Connect", "Unspecified user name.");
-- if (_UserPassword == NULL)
-+ if (_UserName != NULL && _UserPassword == NULL)
- throw ExceptionImpl("Database::Connect", "Unspecified user password.");
-
- // Attach to the database
-@@ -406,8 +405,8 @@ - char connect[1024];
-
- // Build a DPB based on the properties
-- dpb.Insert(isc_dpb_user_name, _UserName);
-- dpb.Insert(isc_dpb_password, _UserPassword);
-+ if (_UserName != NULL) dpb.Insert(isc_dpb_user_name, _UserName);
-+ if (_UserPassword != NULL) dpb.Insert(isc_dpb_password, _UserPassword);
- dpb.Insert(isc_dpb_force_write, (short)0);
- if (_RoleName != NULL) dpb.Insert(isc_dpb_sql_role_name, _RoleName);
-
-diff -r -u ibpp-1.0.5.2_orig/exception.cpp ibpp-1.0.5.2/exception.cpp ---- ibpp-1.0.5.2_orig/exception.cpp 2001-11-10 13:52:58.000000000 +0100 -+++ ibpp-1.0.5.2/exception.cpp 2002-03-22 10:34:07.000000000 +0100 -@@ -47,6 +47,7 @@ - #endif
-
- #include <stdio.h>
-+#include <stdarg.h>
-
- using namespace ibpp_internals;
-
-diff -r -u ibpp-1.0.5.2_orig/_internals.h ibpp-1.0.5.2/_internals.h ---- ibpp-1.0.5.2_orig/_internals.h 2001-11-10 13:52:58.000000000 +0100 -+++ ibpp-1.0.5.2/_internals.h 2002-03-22 10:33:07.000000000 +0100 -@@ -832,7 +832,7 @@ - // (((((((( OBJECT INTERNALS ))))))))
-
- private:
-- friend TransactionImpl;
-+ friend class TransactionImpl;
-
- isc_stmt_handle _Handle; // Référence d'accès au statement InterBase API
-
-diff -r -u ibpp-1.0.5.2_orig/Makefile ibpp-1.0.5.2/Makefile ---- ibpp-1.0.5.2_orig/Makefile 2001-06-08 18:26:30.000000000 +0200 -+++ ibpp-1.0.5.2/Makefile 2002-03-22 10:34:07.000000000 +0100 -@@ -147,7 +147,7 @@ - release:
- $(MAKE) DEBUG=0 BUILDDEPENDANCIES=1 targets
-
--targets: ctags
-+targets:
- # build targets
- if [ ! -d $(TARGETDIR)/$(PLATFORM) ]; then mkdir -p $(TARGETDIR)/$(PLATFORM); fi
-
-diff -r -u ibpp-1.0.5.2_orig/tests/Makefile ibpp-1.0.5.2/tests/Makefile ---- ibpp-1.0.5.2_orig/tests/Makefile 2001-06-08 18:26:34.000000000 +0200 -+++ ibpp-1.0.5.2/tests/Makefile 2002-03-22 10:34:07.000000000 +0100 -@@ -52,7 +52,7 @@ - #LIBS+=$(IBPPDIR)/$(TARGETDIR)/$(PLATFORM)/libibpp_core.a
- #LIBS+=$(IBPPDIR)/$(TARGETDIR)/$(PLATFORM)/libibpp_helper.a
-
-- LIBS+=-lm -lcrypt -lgds
-+ LIBS+=-lm -lcrypt -lgds -ldl
-
- ifeq ($(TARGETDIR),release)
- CXXFLAGS+= -O2
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 deleted file mode 100644 index 92c194e24d7c..000000000000 --- a/dev-libs/ibpp/files/ibpp-2.3.4.0-amd64.patch +++ /dev/null @@ -1,33 +0,0 @@ -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())
|