[packages/java-jna] - updated to 5.13.0
qboosh
qboosh at pld-linux.org
Sun Feb 5 15:12:10 CET 2023
commit 050c755829f59720d1b31208d28f8d00cc935216
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 5 15:12:24 2023 +0100
- updated to 5.13.0
java-jna.spec | 6 +++---
jna-soname.patch | 11 +++++------
2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/java-jna.spec b/java-jna.spec
index 5407b0a..e33ade2 100644
--- a/java-jna.spec
+++ b/java-jna.spec
@@ -1,18 +1,18 @@
#
# Conditional build:
%bcond_without tests # unit test
-%bcond_without system_libffi # system libffi (upstream 3.0.12 or gcc >= 4.8)
+%bcond_without system_libffi # system libffi
Summary: Easy access to native shared libraries from Java
Summary(pl.UTF-8): Prosty dostęp do natywnych bibliotek współdzielonych z poziomu Javy
Name: java-jna
-Version: 5.12.1
+Version: 5.13.0
Release: 1
License: LGPL v2.1 or Apache v2.0
Group: Libraries/Java
#Source0Download: https://github.com/java-native-access/jna/tags
Source0: https://github.com/java-native-access/jna/archive/%{version}/jna-%{version}.tar.gz
-# Source0-md5: 2f68db6a2ccf6bc0db0d86cb444d3c57
+# Source0-md5: 64c00deb999f11df90a669906662d179
# Note: by default jna.jar contains versions of native libjnidispatch
# for many systems/architectures; this patch disables such packaging;
# we package libjnidispatch.so as normal native library instead
diff --git a/jna-soname.patch b/jna-soname.patch
index cf28546..6081e4a 100644
--- a/jna-soname.patch
+++ b/jna-soname.patch
@@ -1,15 +1,14 @@
-diff -dur jna-4.2.1.orig/native/Makefile jna-4.2.1/native/Makefile
---- jna-4.2.1.orig/native/Makefile 2015-10-18 14:40:13.000000000 +0200
-+++ jna-4.2.1/native/Makefile 2015-10-27 12:17:47.000000000 +0100
-@@ -69,6 +69,7 @@
- FFI_ENV=CC="$(CC)" CFLAGS="$(COPT) $(CDEBUG)" CPPFLAGS="$(CDEFINES)"
+--- jna-5.13.0/native/Makefile.orig 2023-01-14 13:33:30.000000000 +0100
++++ jna-5.13.0/native/Makefile 2023-02-05 15:04:12.717384683 +0100
+@@ -69,6 +69,7 @@ FFI_LIB=$(FFI_BUILD)/.libs/libffi$(ARSFX
+ FFI_ENV=CC="$(CC)" CFLAGS="$(COPT) $(CDEBUG) -DFFI_STATIC_BUILD" CPPFLAGS="$(CDEFINES) -DFFI_STATIC_BUILD"
FFI_CONFIG=--enable-static --disable-shared --with-pic=yes
endif
+LIBBASE=$(LIBPFX)jnidispatch$(JNISFX)
LIBRARY=$(BUILD)/$(LIBPFX)jnidispatch$(JNISFX)
TESTLIB=$(BUILD)/$(LIBPFX)testlib$(LIBSFX)
TESTLIB_JAR=$(BUILD)/$(LIBPFX)testlib-jar$(LIBSFX)
-@@ -260,10 +261,10 @@
+@@ -281,10 +282,10 @@ ARCH=$(shell uname -m | sed 's/i.86/i386
PCFLAGS+=-fPIC
CDEFINES+=-DHAVE_PROTECTION
ifeq ($(DYNAMIC_LIBFFI),true)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/java-jna.git/commitdiff/050c755829f59720d1b31208d28f8d00cc935216
More information about the pld-cvs-commit
mailing list