38 lines
1.9 KiB
Diff
38 lines
1.9 KiB
Diff
|
|
diff -ur A-Tune-v1.0.0/Makefile A-Tune-v1.0.0/Makefile
|
||
|
|
--- A-Tune-v1.0.0/Makefile 2023-08-02 09:56:24.899756693 +0800
|
||
|
|
+++ A-Tune-v1.0.0/Makefile 2023-08-02 10:16:38.822243233 +0800
|
||
|
|
@@ -38,7 +38,7 @@
|
||
|
|
go build -mod=vendor -v $(GOFLAGS) -o $(PKGPATH)/atuned cmd/atuned/*.go
|
||
|
|
|
||
|
|
modules:
|
||
|
|
- cd ${CURDIR}/modules/server/profile/ && go build -mod=vendor -v $(GOFLAGS) -buildmode=plugin -o ${CURDIR}/pkg/daemon_profile_server.so *.go
|
||
|
|
+ cd ${CURDIR}/modules/server/profile/ && go build -mod=vendor -v $(GOFLAGS) -o ${CURDIR}/pkg/daemon_profile_server.so *.go
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm -rf $(PKGPATH)/*
|
||
|
|
diff -ur A-Tune-v1.0.0/modules/server/profile/profile.go A-Tune-v1.0.0/modules/server/profile/profile.go
|
||
|
|
--- A-Tune-v1.0.0/modules/server/profile/profile.go 2021-11-15 16:11:32.000000000 +0800
|
||
|
|
+++ A-Tune-v1.0.0/modules/server/profile/profile.go 2023-08-02 10:35:58.020598632 +0800
|
||
|
|
@@ -96,7 +96,8 @@
|
||
|
|
ScriptPath string
|
||
|
|
Raw *ini.File
|
||
|
|
}
|
||
|
|
-
|
||
|
|
+func main() {
|
||
|
|
+ }
|
||
|
|
func init() {
|
||
|
|
svc := SVC.ProfileService{
|
||
|
|
Name: "opt.profile",
|
||
|
|
diff -ur A-Tune-v1.0.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c A-Tune-v1.0.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c
|
||
|
|
--- A-Tune-v1.0.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c 2021-11-15 16:11:32.000000000 +0800
|
||
|
|
+++ A-Tune-v1.0.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c 2023-08-02 09:56:51.379811561 +0800
|
||
|
|
@@ -14000,7 +14000,7 @@
|
||
|
|
# if defined(i386) || defined(__i386__) || defined(_M_IX86) || \
|
||
|
|
defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || \
|
||
|
|
defined(_M_AMD64) || defined(_M_ARM) || defined(__x86) || \
|
||
|
|
- defined(__ARMEL__) || defined(__AARCH64EL__) || defined(_M_ARM64)
|
||
|
|
+ defined(__ARMEL__) || defined(__AARCH64EL__) || defined(_M_ARM64) || defined(_M_RISCV64)
|
||
|
|
# define SQLITE_BYTEORDER 1234
|
||
|
|
# elif defined(sparc) || defined(__ppc__) || \
|
||
|
|
defined(__ARMEB__) || defined(__AARCH64EB__)
|