[packages/libplist] - updated to 2.4.0

qboosh qboosh at pld-linux.org
Sun Feb 25 20:55:22 CET 2024


commit 47693eae46b96fe5cd1f99a58aa006ca668ad676
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 25 20:43:09 2024 +0100

    - updated to 2.4.0

 libplist-sh.patch | 25 ++++++++++++++++++-------
 libplist.spec     |  4 ++--
 2 files changed, 20 insertions(+), 9 deletions(-)
---
diff --git a/libplist.spec b/libplist.spec
index e56ae1c..a5b604c 100644
--- a/libplist.spec
+++ b/libplist.spec
@@ -10,13 +10,13 @@
 Summary:	Library for manipulating Apple Property Lists
 Summary(pl.UTF-8):	Biblioteka do manipulowania Apple Property Lists
 Name:		libplist
-Version:	2.3.0
+Version:	2.4.0
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 # Source0Download: https://libimobiledevice.org/
 Source0:	https://github.com/libimobiledevice/libplist/releases/download/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5:	d6e2b9f713f18ae0a0f3353c03315bfd
+# Source0-md5:	56b7892151b72ea0cfbf3ef785ffbc82
 Patch0:		%{name}-sh.patch
 Patch1:		%{name}-link.patch
 URL:		https://libimobiledevice.org/
diff --git a/libplist-sh.patch b/libplist-sh.patch
index eb36e70..c8e953d 100644
--- a/libplist-sh.patch
+++ b/libplist-sh.patch
@@ -1,6 +1,6 @@
---- libplist-2.3.0/configure.ac.orig	2023-04-21 14:07:43.000000000 +0200
-+++ libplist-2.3.0/configure.ac	2023-11-25 21:12:09.871666005 +0100
-@@ -179,7 +179,7 @@ esac],
+--- libplist-2.4.0/configure.ac.orig	2024-02-21 01:49:54.000000000 +0100
++++ libplist-2.4.0/configure.ac	2024-02-25 08:40:35.228846020 +0100
+@@ -189,16 +189,16 @@ esac],
  
  if (test "x$debug" = "xyes"); then
         AC_DEFINE(DEBUG, 1, [Define if debug message output code should be built.])
@@ -8,8 +8,19 @@
 +       GLOBAL_CFLAGS="$GLOBAL_CFLAGS -g"
  fi
  
+ if test "x$enable_static" = "xyes" -a "x$enable_shared" = "xno"; then
+-	GLOBAL_CFLAGS+=" -DLIBPLIST_STATIC"
++	GLOBAL_CFLAGS="$GLOBAL_CFLAGS -DLIBPLIST_STATIC"
+ fi
+ 
+ GLOBAL_CXXFLAGS=$GLOBAL_CFLAGS
+ AS_COMPILER_FLAG([-fvisibility=hidden], [
+-  GLOBAL_CFLAGS+=" -fvisibility=hidden"
++  GLOBAL_CFLAGS="$GLOBAL_CFLAGS -fvisibility=hidden"
+ ], [])
+ 
  AC_SUBST(GLOBAL_CFLAGS)
-@@ -211,23 +211,23 @@ fi
+@@ -237,23 +237,23 @@ fi
  
  if test "x$build_sanitizers" = "xyes"; then
      AS_COMPILER_FLAG([-fsanitize=address], [
@@ -38,7 +49,7 @@
      fi
  
      if test -z "$SANITIZER_FLAGS"; then
-@@ -240,13 +240,13 @@ if test "x$build_sanitizers" = "xyes"; t
+@@ -266,13 +266,13 @@ if test "x$build_sanitizers" = "xyes"; t
              if test -z "$SAN_COV_FLAGS"; then
                  SAN_COV_FLAGS="$COV_CHECK"
              else
@@ -55,7 +66,7 @@
      else
          AC_MSG_WARN([No sanitizer coverage supported by compiler])
      fi
-@@ -254,20 +254,20 @@ if test "x$build_sanitizers" = "xyes"; t
+@@ -280,20 +280,20 @@ if test "x$build_sanitizers" = "xyes"; t
      CFLAGS="-O1"
  
      AS_COMPILER_FLAG([-fno-omit-frame-pointer], [
@@ -81,7 +92,7 @@
      CXXFLAGS="$CFLAGS -std=c++11"
  fi
  
-@@ -281,9 +281,9 @@ if test "x$build_fuzzers" = "xyes"; then
+@@ -307,9 +307,9 @@ if test "x$build_fuzzers" = "xyes"; then
          ;;
      esac
  
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libplist.git/commitdiff/47693eae46b96fe5cd1f99a58aa006ca668ad676



More information about the pld-cvs-commit mailing list