head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2025.02.17.22.00.48; author nia; state Exp; branches; next ; commitid 5LgZhs3o92AF3SJF; desc @@ 1.1 log @libcaca: Update to 0.99.20 Special notes: - building without imlib2 is broken upstream, remove the option. - upstream switched to github. - verified to build on freebsd, netbsd, linux, macos by drecklypkg CI. Upstream changes: - IPv6 support in cacaserver - fixed a bug from 2004 that caused PDF documentation generation to fail - memory allocation functions are now more robust - numerous fixes for memory leaks and invalid memory accesses: CVE-2021-30498 CVE-2021-30499 CVE-2021-3410 CVE-2018-20546 CVE-2018-20547 CVE-2018-20545 CVE-2018-20548 CVE-2018-20549 @ text @$NetBSD$ [PATCH] Remove bashism in configure.ac Patch courtesy of Jakub Bogusz. https://github.com/cacalabs/libcaca/commit/9a0ebef8d7d78bd32737ba45afc28d260fd1616b.patch --- configure.orig 2025-02-17 20:32:40.574425308 +0000 +++ configure @@@@ -19422,7 +19422,6 @@@@ fi done CFLAGS="$save_CFLAGS" if test "${ac_cv_my_have_cocoa}" = "yes"; then - [[ "$target_os" =~ [0-9]+ ]] && darwin_ver="${BASH_REMATCH[0]}" case x${target} in xpowerpc*darwin*) # 10.3 needed to link with X11 @@@@ -19450,6 +19449,7 @@@@ done esac CC="${CC:-gcc-${GCC_VERSION}}" CXX="${CXX:-g++-${GCC_VERSION}}" + darwin_ver="$(echo "${target_os}" | sed -ne 's/[^0-9]*\([0-9]\+\).*/\1/p')" if [ "$darwin_ver" -lt "13" ]; then MACOSX_SDK_FRAMEWORKS="${MACOSX_SDK_FRAMEWORKS:--F${MACOSX_SDK}/System/Library/Frameworks}" CPPFLAGS="${CPPFLAGS} ${ARCH} ${MACOSX_SDK_FRAMEWORKS}" @