]> git.pld-linux.org Git - packages/db5.3.git/commitdiff
Merge branch 'master' of git://git.pld-linux.org/packages/db5.3
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Jun 2013 09:00:22 +0000 (11:00 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Jun 2013 09:00:22 +0000 (11:00 +0200)
db5.3-link.patch [new file with mode: 0644]
db5.3-sql-features.patch [new file with mode: 0644]
db5.3.spec

diff --git a/db5.3-link.patch b/db5.3-link.patch
new file mode 100644 (file)
index 0000000..a205476
--- /dev/null
@@ -0,0 +1,11 @@
+--- db-5.2.42/dist/Makefile.in.orig    2013-06-09 07:40:47.715060826 +0200
++++ db-5.2.42/dist/Makefile.in 2013-06-09 08:06:06.361695837 +0200
+@@ -882,7 +882,7 @@
+ # Shared SQL library.
+ $(libsqlso_target): $(SQL_OBJS)
+-      $(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(SQL_OBJS) $(LIBCSO_LIBS)
++      $(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(SQL_OBJS) $(LIBCSO_LIBS) -ldl
+       $(RM) $(libsql)
+       $(LN) -s .libs/$(libsql_version) $(libsql)
diff --git a/db5.3-sql-features.patch b/db5.3-sql-features.patch
new file mode 100644 (file)
index 0000000..1c52b89
--- /dev/null
@@ -0,0 +1,11 @@
+--- db-5.3.21/dist/Makefile.in.orig    2012-05-11 19:57:48.000000000 +0200
++++ db-5.3.21/dist/Makefile.in 2013-06-09 10:32:16.358179710 +0200
+@@ -106,7 +106,7 @@
+ # SQL support is optional, and can be built with static or shared libraries.
+ ##################################################
+ SQLFLAGS=     -I$(builddir) -I$(builddir)/sql -I$(langdir)/sql/generated \
+-              -D_HAVE_SQLITE_CONFIG_H @SQL_FLAGS@
++              -D_HAVE_SQLITE_CONFIG_H @SQL_FLAGS@ -DSQLITE_ENABLE_COLUMN_METADATA=1
+ libsql_base=  libdb_sql
+ libsql=               $(libsql_base).a
index 365605810b755977f9326f7e70432f41465eeae1..32563e00aaa985aac6225db860424ee8dc106fac 100644 (file)
@@ -23,6 +23,8 @@ Group:                Libraries
 #Source0Download: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
 Source0:       http://download.oracle.com/berkeley-db/db-%{ver}.tar.gz
 # Source0-md5: 3fda0b004acdaa6fa350bfc41a3b95ca
+Patch0:                %{name}-link.patch
+Patch1:                %{name}-sql-features.patch
 URL:           http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
 BuildRequires: automake
 %if %{with java}
@@ -368,6 +370,8 @@ poleceÅ„.
 
 %prep
 %setup -q -n db-%{ver}
+%patch0 -p1
+%patch1 -p1
 
 %build
 cp -f /usr/share/automake/config.sub dist
This page took 0.078051 seconds and 4 git commands to generate.