pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/vlc vlc: use pkgsrc png library name



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36d1f9933535
branches:  trunk
changeset: 382431:36d1f9933535
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 27 19:53:16 2022 +0000

description:
vlc: use pkgsrc png library name

diffstat:

 multimedia/vlc/distinfo                   |   4 ++--
 multimedia/vlc/patches/patch-configure.ac |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 01fce172ecc3 -r 36d1f9933535 multimedia/vlc/distinfo
--- a/multimedia/vlc/distinfo   Wed Jul 27 19:41:57 2022 +0000
+++ b/multimedia/vlc/distinfo   Wed Jul 27 19:53:16 2022 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.86 2022/05/11 09:23:48 jperkin Exp $
+$NetBSD: distinfo,v 1.87 2022/07/27 19:53:16 wiz Exp $
 
 BLAKE2s (vlc-3.0.17.4.tar.xz) = 33035b5a032653fa6eefc0972fb0e65e738911f47e369ecdafd8eb1909412719
 SHA512 (vlc-3.0.17.4.tar.xz) = dac14c6586603c064294672eb878253e52b3a7bef431fb10303345e5400591b5c1f2d452a2af03f503db0ca186582a84be06fdf05ab011c33f7b0bd5389c51fb
 Size (vlc-3.0.17.4.tar.xz) = 26567148 bytes
 SHA1 (patch-compat_Makefile.am) = 1c3e0a7c4610c55c3ec9ba80d66b9959661139b3
-SHA1 (patch-configure.ac) = c869f5e43c2d3bed5c376fdb7e751e071326e6b0
+SHA1 (patch-configure.ac) = d30a00fe67c95f42f9838a7d5c1a5b694b44a91c
 SHA1 (patch-lib_core.c) = 8ec5557424e6ddc05cc365aacd1ec847d9a94605
 SHA1 (patch-lib_video.c) = 362aaf7977c264bb70a79e98cf18da923ae62e39
 SHA1 (patch-m4_dolt.m4) = 6cf8ef04cc09510132a12df16b95a13e90019878
diff -r 01fce172ecc3 -r 36d1f9933535 multimedia/vlc/patches/patch-configure.ac
--- a/multimedia/vlc/patches/patch-configure.ac Wed Jul 27 19:41:57 2022 +0000
+++ b/multimedia/vlc/patches/patch-configure.ac Wed Jul 27 19:53:16 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-configure.ac,v 1.7 2022/05/11 09:23:48 jperkin Exp $
+$NetBSD: patch-configure.ac,v 1.8 2022/07/27 19:53:16 wiz Exp $
 
 Fix pkg-config'ing for lua.
+Fix png library name.
 
 --- configure.ac.orig  2022-04-18 22:10:15.000000000 +0000
 +++ configure.ac
@@ -37,3 +38,12 @@
        [ have_lua=yes ],
        [
        AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua >= 5.1 instead])
+@@ -2843,7 +2843,7 @@ AS_IF([test "${enable_png}" != "no"], [
+ AC_CHECK_HEADERS(png.h, [
+   VLC_SAVE_FLAGS
+   LDFLAGS="${LDFLAGS} -lz $LIBM"
+-  AC_CHECK_LIB(png, png_set_alpha_mode, [
++  AC_CHECK_LIB(png16, png_set_alpha_mode, [
+     VLC_ADD_PLUGIN([png])
+   ], [], [-lz $LIBM])
+   VLC_RESTORE_FLAGS



Home | Main Index | Thread Index | Old Index