diff -Nru libde265-1.0.15/debian/changelog libde265-1.0.15/debian/changelog --- libde265-1.0.15/debian/changelog 2023-12-21 08:02:23.000000000 +0000 +++ libde265-1.0.15/debian/changelog 2023-12-21 08:41:49.000000000 +0000 @@ -1,3 +1,9 @@ +libde265 (1.0.15-1~ppa1~ubuntu22.04.1) unstable; urgency=medium + + * Add patch to fix "Libs.private" in libde265.pc. + + -- Joachim Bauch Thu, 21 Dec 2023 09:41:49 +0100 + libde265 (1.0.15-1~ppa1~ubuntu22.04) unstable; urgency=medium * New upstream version 1.0.15 diff -Nru libde265-1.0.15/debian/patches/fix-private-libs-pc.patch libde265-1.0.15/debian/patches/fix-private-libs-pc.patch --- libde265-1.0.15/debian/patches/fix-private-libs-pc.patch 1970-01-01 00:00:00.000000000 +0000 +++ libde265-1.0.15/debian/patches/fix-private-libs-pc.patch 2023-12-21 08:41:46.000000000 +0000 @@ -0,0 +1,26 @@ +Description: Fix missing "LIBS_PRIVATE" variable for libde265.pc in + autoconf builds. +From 56d1cf52e43d734692721c99b72815c0fee1f184 Mon Sep 17 00:00:00 2001 +From: Joachim Bauch +Date: Thu, 21 Dec 2023 09:22:58 +0100 +Subject: [PATCH] Fix missing "LIBS_PRIVATE" for libde265.pc in autoconf + builds. +Forwarded: https://github.com/strukturag/libde265/pull/439 +--- + configure.ac | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 770f5025..798e9a2c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -104,6 +104,9 @@ AC_FUNC_ERROR_AT_LINE + # AC_FUNC_REALLOC + AC_FUNC_MKTIME + ++LIBS_PRIVATE="$LIBS -lstdc++" ++AC_SUBST(LIBS_PRIVATE) ++ + AM_CONDITIONAL(MINGW, expr $host : '.*-mingw' >/dev/null 2>&1) + + # Check if "__STRICT_ANSI__" is required. diff -Nru libde265-1.0.15/debian/patches/series libde265-1.0.15/debian/patches/series --- libde265-1.0.15/debian/patches/series 2020-12-16 15:06:51.000000000 +0000 +++ libde265-1.0.15/debian/patches/series 2023-12-21 08:41:46.000000000 +0000 @@ -1,2 +1,3 @@ only_export_decoder_api.patch disable_tools.patch +fix-private-libs-pc.patch