SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
databases/py-apsw/patches/patch-tests_py
Normal file
18
databases/py-apsw/patches/patch-tests_py
Normal file
|
@ -0,0 +1,18 @@
|
|||
>>> print apsw.sqlite3_sourceid()
|
||||
OpenBSD
|
||||
|
||||
Index: tests.py
|
||||
--- tests.py.orig
|
||||
+++ tests.py
|
||||
@@ -8694,9 +8694,9 @@ def setup(write=write):
|
||||
if getattr(memdb, "enableloadextension", None) and not os.path.exists(LOADEXTENSIONFILENAME):
|
||||
write("Not doing LoadExtension test. You need to compile the extension first\n")
|
||||
if sys.platform.startswith("darwin"):
|
||||
- write(" gcc -fPIC -bundle -o " + LOADEXTENSIONFILENAME + " -I. -Isqlite3 src/testextension.c\n")
|
||||
+ write(" cc -fPIC -bundle -o " + LOADEXTENSIONFILENAME + " -I. -Isqlite3 src/testextension.c\n")
|
||||
else:
|
||||
- write(" gcc -fPIC -shared -o " + LOADEXTENSIONFILENAME + " -I. -Isqlite3 src/testextension.c\n")
|
||||
+ write(" cc -fPIC -shared -o " + LOADEXTENSIONFILENAME + " -I. -Isqlite3 src/testextension.c\n")
|
||||
del APSW.testLoadExtension
|
||||
sys.stdout.flush()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue