forked from pool/sqlite-jdbc
Accepting request 1197131 from Java:packages
fix build with gcc 14 OBS-URL: https://build.opensuse.org/request/show/1197131 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sqlite-jdbc?expand=0&rev=20
This commit is contained in:
commit
be7274997e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:56420b364f228f9145a720e2cc27c2b587b4e7aa077e8086132a13de52338659
|
||||
size 17573873
|
3
sqlite-jdbc-3.46.0.1.tar.gz
Normal file
3
sqlite-jdbc-3.46.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f9a25366a5b421211bef474393fed4df2499a9710eecc13d4e72823767e74056
|
||||
size 18074703
|
68
sqlite-jdbc-no-implicit-function-declaration.patch
Normal file
68
sqlite-jdbc-no-implicit-function-declaration.patch
Normal file
@ -0,0 +1,68 @@
|
||||
--- sqlite-jdbc-3.46.0.1/Makefile.common 2024-08-28 20:14:17.830336051 +0200
|
||||
+++ sqlite-jdbc-3.46.0.1/Makefile.common 2024-08-28 20:15:48.184378367 +0200
|
||||
@@ -66,42 +66,42 @@
|
||||
|
||||
Default_CC := $(CROSS_PREFIX)gcc
|
||||
Default_STRIP := $(CROSS_PREFIX)strip
|
||||
-Default_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden
|
||||
+Default_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Default_LINKFLAGS := -shared -static-libgcc -pthread -lm
|
||||
Default_LIBNAME := libsqlitejdbc.so
|
||||
Default_SQLITE_FLAGS :=
|
||||
|
||||
Linux-x86_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-x86_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-x86_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -m32 -fvisibility=hidden
|
||||
+Linux-x86_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -m32 -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-x86_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-x86_LIBNAME := libsqlitejdbc.so
|
||||
Linux-x86_SQLITE_FLAGS :=
|
||||
|
||||
Linux-x86_64_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-x86_64_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-x86_64_CCFLAGS := -Ilib/inc_linux -I$(JAVA_HOME)/include -Os -fPIC -m64 -fvisibility=hidden
|
||||
+Linux-x86_64_CCFLAGS := -Ilib/inc_linux -I$(JAVA_HOME)/include -Os -fPIC -m64 -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-x86_64_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-x86_64_LIBNAME := libsqlitejdbc.so
|
||||
Linux-x86_64_SQLITE_FLAGS :=
|
||||
|
||||
Linux-arm_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-arm_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-arm_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -mfloat-abi=soft -fvisibility=hidden
|
||||
+Linux-arm_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -mfloat-abi=soft -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-arm_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-arm_LIBNAME := libsqlitejdbc.so
|
||||
Linux-arm_SQLITE_FLAGS :=
|
||||
|
||||
Linux-armv6_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-armv6_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-armv6_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -mfloat-abi=hard -mfpu=vfp -fPIC -fvisibility=hidden
|
||||
+Linux-armv6_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -mfloat-abi=hard -mfpu=vfp -fPIC -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-armv6_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-armv6_LIBNAME := libsqlitejdbc.so
|
||||
Linux-armv6_SQLITE_FLAGS :=
|
||||
|
||||
Linux-armv7_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-armv7_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-armv7_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -mfloat-abi=hard -mfpu=vfp -fPIC -fvisibility=hidden
|
||||
+Linux-armv7_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -mfloat-abi=hard -mfpu=vfp -fPIC -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-armv7_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-armv7_LIBNAME := libsqlitejdbc.so
|
||||
Linux-armv7_SQLITE_FLAGS :=
|
||||
@@ -136,14 +136,14 @@
|
||||
|
||||
Linux-ppc64_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-ppc64_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-ppc64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden
|
||||
+Linux-ppc64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-ppc64_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-ppc64_LIBNAME := libsqlitejdbc.so
|
||||
Linux-ppc64_SQLITE_FLAGS :=
|
||||
|
||||
Linux-riscv64_CC := $(CROSS_PREFIX)gcc
|
||||
Linux-riscv64_STRIP := $(CROSS_PREFIX)strip
|
||||
-Linux-riscv64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden
|
||||
+Linux-riscv64_CCFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_linux -Os -fPIC -fvisibility=hidden -Wno-implicit-function-declaration
|
||||
Linux-riscv64_LINKFLAGS := $(Default_LINKFLAGS)
|
||||
Linux-riscv64_LIBNAME := libsqlitejdbc.so
|
||||
Linux-riscv64_SQLITE_FLAGS :=
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 17:09:03 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* sqlite-jdbc-no-implicit-function-declaration.patch
|
||||
+ fix build with gcc 14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 12:32:25 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
- Update to v3.46.0.1
|
||||
* Features
|
||||
~ add riscv64 binaries (a4a5d48)
|
||||
* Fixes
|
||||
~ jdbc
|
||||
+ generated columns with stored in SQLite are not marked as
|
||||
generated (429bbe4), closes #1132
|
||||
~ unscoped
|
||||
+ never return arch as aarch64 when running in a 32-bit JVM
|
||||
(0c3db0b), closes #1127
|
||||
+ throw java.lang.ExceptionInInitializerError when calling
|
||||
SQLiteConfig.Pragma.values() (ec0a524), closes #1123
|
||||
* Build
|
||||
~ deps
|
||||
+ bump org.apache.maven.plugins:maven-javadoc-plugin
|
||||
(c375a40)
|
||||
+ bump org.graalvm.sdk:nativeimage from 24.0.1 to 24.0.2
|
||||
(d50d5e6)
|
||||
+ bump org.codehaus.mojo:versions-maven-plugin (14e07d4)
|
||||
+ bump surefire.version from 3.3.0 to 3.3.1 (edac56b)
|
||||
+ bump org.codehaus.mojo:versions-maven-plugin (f411591)
|
||||
+ bump org.jreleaser:jreleaser-maven-plugin (2376d03)
|
||||
+ bump org.apache.maven.plugins:maven-jar-plugin (d5394ea)
|
||||
+ bump andymckay/cancel-action from 0.4 to 0.5 (99aa8d9)
|
||||
+ bump surefire.version from 3.2.5 to 3.3.0 (b64f8fb)
|
||||
+ bump org.apache.maven.plugins:maven-help-plugin (235143b)
|
||||
+ bump org.apache.maven.plugins:maven-javadoc-plugin
|
||||
(50ef887)
|
||||
+ bump org.apache.maven.plugins:maven-enforcer-plugin
|
||||
(efd5449)
|
||||
+ bump org.sonatype.plugins:nexus-staging-maven-plugin
|
||||
(dbbf4e0)
|
||||
~ deps-dev
|
||||
+ bump org.assertj:assertj-core from 3.26.0 to 3.26.3
|
||||
(7293f78)
|
||||
+ bump org.junit.jupiter:junit-jupiter (b80a294)
|
||||
+ bump org.assertj:assertj-core from 3.25.3 to 3.26.0
|
||||
(6188b48)
|
||||
* Documentation
|
||||
~ add riscv64 in the supported OS table (2b72c94)
|
||||
~ mention temporary databases (0035ec4)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 27 09:31:22 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
||||
%global version 3.46.0.0
|
||||
%global version 3.46.0.1
|
||||
%global amalgamation_version 3460000
|
||||
%global debug_package %{nil}
|
||||
Name: sqlite-jdbc
|
||||
@ -29,6 +29,7 @@ Group: Development/Libraries/Java
|
||||
URL: https://github.com/xerial/%{name}
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: https://sqlite.org/2024/sqlite-amalgamation-%{amalgamation_version}.zip
|
||||
Patch0: sqlite-jdbc-no-implicit-function-declaration.patch
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
@ -61,6 +62,7 @@ API documentation for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 0 -p1
|
||||
|
||||
find src/main/resources \
|
||||
\( -name \*.so -or -name \*.dylib -or -name \*.dll \) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user