http://www.oracle.com/technetwork/products/berkeleydb/patch-082767.html
Problem: DB 1.85 compiles on Linux but fails to load, displaying an error
message that there's no lorder command.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
${LIBDB}: ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC}
rm -f $@
- ar cq $@ \
- `lorder ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC} | tsort`
+ ar cq $@ ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC}
ranlib $@
clean:
Release: 11
Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
# db-1.85 upstream patches
-Patch10: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.1
Patch11: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.2
Patch12: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.3
Patch13: http://www.oracle.com/technology/products/berkeley-db/db/update/1.85/patch.1.4
%prep
%setup -q -n db-%{version}
-pushd db.1.85/PORT/linux
-%patch10 -p0 -b .1.1
-popd
pushd db.1.85
%patch11 -p0 -b .1.2
%patch12 -p0 -b .1.3
+++ /dev/null
-*** Makefile.orig Wed Jul 13 21:43:16 1994
---- Makefile Wed Dec 31 19:00:00 1969
-***************
-*** 15,22 ****
-
- ${LIBDB}: ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC}
- rm -f $@
-! ar cq $@ \
-! `lorder ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC} | tsort`
- ranlib $@
-
- clean:
---- 15,21 ----
-
- ${LIBDB}: ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC}
- rm -f $@
-! ar cq $@ ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4} ${OBJ5} ${MISC}
- ranlib $@
-
- clean: