SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View 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()