bd93fe53c6
Copy from server:database/sqlite3 based on submit request 25281 from user rmax OBS-URL: https://build.opensuse.org/request/show/25281 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite3?expand=0&rev=20
31 lines
934 B
Diff
31 lines
934 B
Diff
--- sqlite-tcl/configure.in
|
|
+++ sqlite-tcl/configure.in
|
|
@@ -73,8 +73,8 @@
|
|
|
|
TEA_ADD_SOURCES([tclsqlite3.c])
|
|
TEA_ADD_HEADERS([])
|
|
-TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}/generic`\"])
|
|
-TEA_ADD_LIBS([])
|
|
+TEA_ADD_INCLUDES([-I\"`\${CYGPATH} \${srcdir}/generic`\" -I\"`\${CYGPATH} \${srcdir}/..`\"])
|
|
+TEA_ADD_LIBS([-L\"`\${CYGPATH} \${srcdir}/../.libs`\" -lsqlite3])
|
|
TEA_ADD_CFLAGS([-DSQLITE_ENABLE_FTS3=1])
|
|
TEA_ADD_STUB_SOURCES([])
|
|
TEA_ADD_TCL_SOURCES([])
|
|
diff '--exclude=configure' -ruBb sqlite-3_6_20-tea/generic/tclsqlite3.c sqlite-3.6.20-amalgamation/tcl/generic/tclsqlite3.c
|
|
--- sqlite-tcl/generic/tclsqlite3.c
|
|
+++ sqlite-tcl/generic/tclsqlite3.c
|
|
@@ -33,10 +33,12 @@
|
|
** appended to the amalgamation.
|
|
*/
|
|
#ifndef SQLITE_AMALGAMATION
|
|
-# include "sqliteInt.h"
|
|
+# include "sqlite3.h"
|
|
# include <stdlib.h>
|
|
# include <string.h>
|
|
# include <assert.h>
|
|
+# include <stdint.h>
|
|
+ typedef uint8_t u8;
|
|
#endif
|
|
#include <ctype.h>
|
|
|