<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ee79398a8489664cf9827268eedeed40288a2ac8">https://github.com/macports/macports-ports/commit/ee79398a8489664cf9827268eedeed40288a2ac8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ee79398a848 sqlean: update the patch for legacy systems so that it works again
</span>ee79398a848 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ee79398a8489664cf9827268eedeed40288a2ac8
</span>Author: Sergey Fedorov <barracuda@macos-powerpc.org>
AuthorDate: Tue Sep 3 13:34:47 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> sqlean: update the patch for legacy systems so that it works again
</span>---
databases/sqlean/files/patch-no-time-ext.diff | 37 +++++++++++++++++++++++----
1 file changed, 32 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/sqlean/files/patch-no-time-ext.diff b/databases/sqlean/files/patch-no-time-ext.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 609fafbf234..69bf331284c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/sqlean/files/patch-no-time-ext.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/sqlean/files/patch-no-time-ext.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig 2024-08-29 07:13:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile 2024-08-29 07:13:53.000000000 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -125,7 +125,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2024-09-03 13:28:26.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -142,11 +142,10 @@
</span> $(CC) -O3 $(MACOS_FLAGS) -include src/regexp/constants.h src/sqlite3-regexp.c src/regexp/*.c src/regexp/pcre2/*.c -o dist/regexp.dylib
$(CC) -O3 $(MACOS_FLAGS) src/sqlite3-stats.c src/stats/*.c -o dist/stats.dylib -lm
$(CC) -O3 $(MACOS_FLAGS) src/sqlite3-text.c src/text/*.c src/text/*/*.c -o dist/text.dylib
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,12 @@
</span> $(CC) -O3 $(MACOS_FLAGS) src/sqlite3-unicode.c src/unicode/*.c -o dist/unicode.dylib
$(CC) -O3 $(MACOS_FLAGS) src/sqlite3-uuid.c src/uuid/*.c -o dist/uuid.dylib
$(CC) -O3 $(MACOS_FLAGS) src/sqlite3-vsv.c src/vsv/*.c -o dist/vsv.dylib -lm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -178,7 +177,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(CC) -O1 $(MACOS_FLAGS) -include src/regexp/constants.h src/sqlite3-sqlean.c src/crypto/*.c src/define/*.c src/fileio/*.c src/fuzzy/*.c src/ipaddr/*.c src/math/*.c src/regexp/*.c src/regexp/pcre2/*.c src/stats/*.c src/text/*.c src/text/*/*.c src/time/*.c src/unicode/*.c src/uuid/*.c src/vsv/*.c -o dist/sqlean.dylib -lm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(CC) -O1 $(MACOS_FLAGS) -include src/regexp/constants.h src/sqlite3-sqlean.c src/crypto/*.c src/define/*.c src/fileio/*.c src/fuzzy/*.c src/ipaddr/*.c src/math/*.c src/regexp/*.c src/regexp/pcre2/*.c src/stats/*.c src/text/*.c src/text/*/*.c src/unicode/*.c src/uuid/*.c src/vsv/*.c -o dist/sqlean.dylib -lm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compile-macos-x86:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkdir -p dist/x86
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -195,7 +194,6 @@
</span> make test suite=math
make test suite=regexp
make test suite=stats
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,7 +21,7 @@
</span> make test suite=text
make test suite=unicode
make test suite=uuid
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -198,10 +196,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -215,10 +213,6 @@
</span> make ctest package=text module=rstring
gcc $(CTEST_FLAGS) test/text/utf8.test.c src/text/utf8/*.c -o text.utf8
make ctest package=text module=utf8
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,3 +32,25 @@
</span>
ctest:
@chmod +x $(package).$(module)
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/sqlite3-sqlean.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/sqlite3-sqlean.c 2024-09-03 13:23:38.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,7 +18,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "regexp/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "stats/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "text/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "time/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "unicode/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "uuid/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "vsv/extension.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -49,7 +51,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp_init(db);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stats_init(db);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ text_init(db);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if !defined(_WIN32) || defined(_WIN64)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (!defined(_WIN32) || defined(_WIN64)) && !defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ time_init(db);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unicode_init(db);
</span></pre><pre style='margin:0'>
</pre>