git: 36c6012a8e65 - main - print/libmspub01: update to 0.1.5 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Mon, 13 Jul 2026 14:26:19 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36c6012a8e659342e9d2102b79c64e8636861457

commit 36c6012a8e659342e9d2102b79c64e8636861457
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-07-13 14:14:22 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-07-13 14:26:08 +0000

    print/libmspub01: update to 0.1.5 release (+)
    
    libmspub 0.1.5
    * Memory safety fixes
    * Minor cleanups
---
 print/libmspub01/Makefile                          |  3 +-
 print/libmspub01/distinfo                          |  6 +--
 print/libmspub01/files/patch-configure             | 45 +++++++++++++---------
 .../libmspub01/files/patch-src_lib_MSPUBMetaData.h |  4 +-
 print/libmspub01/pkg-plist                         |  2 +-
 5 files changed, 34 insertions(+), 26 deletions(-)

diff --git a/print/libmspub01/Makefile b/print/libmspub01/Makefile
index f0ae63491daf..cecc588d97e0 100644
--- a/print/libmspub01/Makefile
+++ b/print/libmspub01/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	libmspub
-PORTVERSION=	0.1.4
-PORTREVISION=	25
+PORTVERSION=	0.1.5
 CATEGORIES=	print graphics devel
 MASTER_SITES=	LODEV/${PORTNAME}
 PKGNAMESUFFIX=	01
diff --git a/print/libmspub01/distinfo b/print/libmspub01/distinfo
index a2411138a20a..6eaea881f780 100644
--- a/print/libmspub01/distinfo
+++ b/print/libmspub01/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1519868413
-SHA256 (libmspub-0.1.4.tar.xz) = ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba
-SIZE (libmspub-0.1.4.tar.xz) = 377472
+TIMESTAMP = 1783951726
+SHA256 (libmspub-0.1.5.tar.xz) = 3671095f5a10bee8a755052a30576952c5b16d8b0f2ba9f2fb998338c18cb119
+SIZE (libmspub-0.1.5.tar.xz) = 393340
diff --git a/print/libmspub01/files/patch-configure b/print/libmspub01/files/patch-configure
index 44c9a1679326..9764e181faa6 100644
--- a/print/libmspub01/files/patch-configure
+++ b/print/libmspub01/files/patch-configure
@@ -1,52 +1,61 @@
---- configure.orig	2018-02-28 12:02:05 UTC
+--- configure.orig	2026-05-26 09:22:27 UTC
 +++ configure
-@@ -18856,12 +18856,12 @@ if test -n "$ICU_CFLAGS"; then
+@@ -21960,19 +21960,19 @@ pkg_failed=no
+ # ========
+ 
+ pkg_failed=no
+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icu-i18n" >&5
+-printf %s "checking for icu-i18n... " >&6; }
++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for icu-i18n icu-uc" >&5
++printf %s "checking for icu-i18n icu-uc... " >&6; }
+ 
+ if test -n "$ICU_CFLAGS"; then
      pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
   elif test -n "$PKG_CONFIG"; then
      if test -n "$PKG_CONFIG" && \
--    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5
+-    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5
 -  ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5
-+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5
++    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5
 +  ($PKG_CONFIG --exists --print-errors "icu-i18n icu-uc") 2>&5
    ac_status=$?
-   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    test $ac_status = 0; }; then
 -  pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n" 2>/dev/null`
 +  pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n icu-uc" 2>/dev/null`
  		      test "x$?" != "x0" && pkg_failed=yes
  else
    pkg_failed=yes
-@@ -18873,12 +18873,12 @@ if test -n "$ICU_LIBS"; then
+@@ -21984,12 +21984,12 @@ if test -n "$ICU_LIBS"; then
      pkg_cv_ICU_LIBS="$ICU_LIBS"
   elif test -n "$PKG_CONFIG"; then
      if test -n "$PKG_CONFIG" && \
--    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5
+-    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5
 -  ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5
-+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5
++    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n icu-uc\""; } >&5
 +  ($PKG_CONFIG --exists --print-errors "icu-i18n icu-uc") 2>&5
    ac_status=$?
-   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    test $ac_status = 0; }; then
 -  pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n" 2>/dev/null`
 +  pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n icu-uc" 2>/dev/null`
  		      test "x$?" != "x0" && pkg_failed=yes
  else
    pkg_failed=yes
-@@ -18899,14 +18899,14 @@ fi
+@@ -22010,14 +22010,14 @@ fi
          _pkg_short_errors_supported=no
  fi
          if test $_pkg_short_errors_supported = yes; then
--	        ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n" 2>&1`
-+	        ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1`
+-                ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n" 2>&1`
++                ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1`
          else
--	        ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n" 2>&1`
-+	        ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1`
+-                ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n" 2>&1`
++                ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n icu-uc" 2>&1`
          fi
- 	# Put the nasty error message in config.log where it belongs
- 	echo "$ICU_PKG_ERRORS" >&5
+         # Put the nasty error message in config.log where it belongs
+         echo "$ICU_PKG_ERRORS" >&5
  
--	as_fn_error $? "Package requirements (icu-i18n) were not met:
-+	as_fn_error $? "Package requirements (icu-i18n icu-uc) were not met:
+-        as_fn_error $? "Package requirements (icu-i18n) were not met:
++        as_fn_error $? "Package requirements (icu-i18n icu-uc) were not met:
  
  $ICU_PKG_ERRORS
  
diff --git a/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h b/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h
index 9ff4c0b77164..a085facc07e0 100644
--- a/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h
+++ b/print/libmspub01/files/patch-src_lib_MSPUBMetaData.h
@@ -1,6 +1,6 @@
---- src/lib/MSPUBMetaData.h.orig	2021-02-22 20:49:29 UTC
+--- src/lib/MSPUBMetaData.h.orig	2026-05-26 09:20:32 UTC
 +++ src/lib/MSPUBMetaData.h
-@@ -13,6 +13,7 @@
+@@ -14,6 +14,7 @@
  #include <map>
  #include <utility>
  #include <vector>
diff --git a/print/libmspub01/pkg-plist b/print/libmspub01/pkg-plist
index c29bc1996754..bbc50131a179 100644
--- a/print/libmspub01/pkg-plist
+++ b/print/libmspub01/pkg-plist
@@ -4,5 +4,5 @@ include/libmspub-0.1/libmspub/MSPUBDocument.h
 include/libmspub-0.1/libmspub/libmspub.h
 lib/libmspub-0.1.so
 lib/libmspub-0.1.so.1
-lib/libmspub-0.1.so.1.0.4
+lib/libmspub-0.1.so.1.0.5
 libdata/pkgconfig/libmspub-0.1.pc