Package: sqlite / 2.8.17-15

04-fix-sort-syntax.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: obsolete command line syntax
 As well as the tclsh issue the log also shows:
 sort: cannot read: +4: No such file or directory
 Which seems to be down to the use of an obsolete command line syntax.
 Seemingly the supported syntax is "sort -k 4".
Author: Ian Campbell <ijc@hellion.org.uk>
Bug-Debian: http://bugs.debian.org/746058
Last-Update: 2014-05-28

---

--- sqlite-2.8.17.orig/Makefile.in
+++ sqlite-2.8.17/Makefile.in
@@ -183,7 +183,7 @@ Makefile: $(TOP)/Makefile.in
 # of the most recently modified source code file
 #
 last_change:	$(SRC)
-	cat $(SRC) | grep '$$Id: ' | sort +4 | tail -1 \
+	cat $(SRC) | grep '$$Id: ' | sort -k 4 | tail -1 \
           | awk '{print $$5,$$6}' >last_change
 
 libsqlite.la:	$(LIBOBJ)