2010-04-06 Brian Lu <[email protected]>
authorhawklu
Tue, 06 Apr 2010 03:15:44 +0000
changeset 17794 2d8032924667
parent 17793 208207fdc93f
child 17795 c92618c168c1
2010-04-06 Brian Lu <[email protected]> * base-specs/sqlite.spec: * patches/sqlite3-02-using-libcurses.diff: Fix bug d.o.o 15412
ChangeLog
base-specs/sqlite.spec
patches/sqlite3-02-using-libcurses.diff
--- a/ChangeLog	Sat Apr 03 22:43:19 2010 +0000
+++ b/ChangeLog	Tue Apr 06 03:15:44 2010 +0000
@@ -1,3 +1,9 @@
+2010-04-06  Brian Lu  <[email protected]>
+
+	* base-specs/sqlite.spec:
+	* patches/sqlite3-02-using-libcurses.diff:
+	  Fix bug d.o.o 15412
+
 2010-04-03  Christian Kelly  <[email protected]>
 
 	* base-specs/ORBit2.spec: Bump to 2.14.18.
--- a/base-specs/sqlite.spec	Sat Apr 03 22:43:19 2010 +0000
+++ b/base-specs/sqlite.spec	Tue Apr 06 03:15:44 2010 +0000
@@ -27,6 +27,9 @@
 # owner:hawklu date:2008-10-10 type:bug bugster:6750518
 Patch1: sqlite3-01-using-mapfile.diff
 
+# owner:hawklu date:2010-04-01 type:bug d.o.o 15412
+Patch2: sqlite3-02-using-libcurses.diff
+
 URL:          http://www.sqlite.org
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
 Docdir:       %{_defaultdocdir}
@@ -51,6 +54,7 @@
 %setup -q
 
 %patch1 -p1
+%patch2 -p1
 
 %build
 %ifos linux
@@ -121,6 +125,8 @@
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Mon Apr 06 2010 - [email protected]
+- Fix bug d.o.o 15412
 * Tue Mar 02 2010 - [email protected]
 - Change license to public domain
 * Fri Jan 15 2010 - [email protected]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/sqlite3-02-using-libcurses.diff	Tue Apr 06 03:15:44 2010 +0000
@@ -0,0 +1,11 @@
+--- sqlite-3.6.22/Makefile.in.old	2010-04-01 10:13:05.598353118 +0800
++++ sqlite-3.6.22/Makefile.in	2010-04-01 10:39:40.808794452 +0800
+@@ -475,7 +475,7 @@
+ sqlite3$(TEXE):	$(TOP)/src/shell.c libsqlite3.la sqlite3.h
+ 	$(LTLINK) $(READLINE_FLAGS) \
+ 		-o $@ $(TOP)/src/shell.c libsqlite3.la \
+-		$(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
++		-z record $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
+ 
+ # This target creates a directory named "tsrc" and fills it with
+ # copies of all of the C source code and header files needed to