summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-07-27 18:49:44 +0000
committerwiz <wiz@pkgsrc.org>2022-07-27 18:49:44 +0000
commit7e6d6a2a5e4192b3bc368970fd0449fbf1c22558 (patch)
treecd710a2989f8c171848f0e5777bfd17e1accbc54 /multimedia
parent1328cf0f0d7da81a3cce5ff30d15ccbe5c84a165 (diff)
downloadpkgsrc-7e6d6a2a5e4192b3bc368970fd0449fbf1c22558.tar.gz
ming: fix png library name.
Bump PKGREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ming/Makefile5
-rw-r--r--multimedia/ming/distinfo4
-rw-r--r--multimedia/ming/patches/patch-configure.in16
3 files changed, 19 insertions, 6 deletions
diff --git a/multimedia/ming/Makefile b/multimedia/ming/Makefile
index a45d92ddc1c..18566e47e8b 100644
--- a/multimedia/ming/Makefile
+++ b/multimedia/ming/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2022/06/28 11:34:56 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.35 2022/07/27 18:49:44 wiz Exp $
-PKGREVISION= 5
+PKGREVISION= 6
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/_/./g}
diff --git a/multimedia/ming/distinfo b/multimedia/ming/distinfo
index c769fab489b..bfaff2b27f4 100644
--- a/multimedia/ming/distinfo
+++ b/multimedia/ming/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.22 2021/10/26 11:01:11 nia Exp $
+$NetBSD: distinfo,v 1.23 2022/07/27 18:49:44 wiz Exp $
BLAKE2s (ming-0_4_8.tar.gz) = 37d0936b989b05c8e73d628dc751634194843da4aebfb89ee08fd31eebf81a11
SHA512 (ming-0_4_8.tar.gz) = e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0
Size (ming-0_4_8.tar.gz) = 14908459 bytes
-SHA1 (patch-configure.in) = 9c231dc2e06d12e05b8e82d48f1df2aed33de697
+SHA1 (patch-configure.in) = 77faa06d09168df430d68f4de7a811202232999e
SHA1 (patch-php__ext_ming.c) = d84ed8b586b2e357481bb98b403fc40270432de4
SHA1 (patch-util_parser.c) = f41454623af76bc893d3040513dcd900f5b76a32
diff --git a/multimedia/ming/patches/patch-configure.in b/multimedia/ming/patches/patch-configure.in
index 5245bcf7833..27f4c568161 100644
--- a/multimedia/ming/patches/patch-configure.in
+++ b/multimedia/ming/patches/patch-configure.in
@@ -1,4 +1,6 @@
-$NetBSD: patch-configure.in,v 1.1 2018/11/13 10:18:26 markd Exp $
+$NetBSD: patch-configure.in,v 1.2 2022/07/27 18:49:45 wiz Exp $
+
+First chunk:
From ef3719d39e8bb7e96c6ec57d60261f1516353460 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
@@ -8,6 +10,9 @@ Subject: [PATCH] Use pkg-config to find freetype
As of freetype-2.9.1 the freetype-config script has been deprecated and
is no longer shipped by default.
+Second chunk:
+Fix png library name.
+
--- configure.in.orig 2017-04-07 08:12:56.000000000 +0000
+++ configure.in
@@ -257,26 +257,8 @@ freetype_support=yes)
@@ -39,3 +44,12 @@ is no longer shipped by default.
fi
dnl Check for the ungif or gif (new or old) libraries
+@@ -297,7 +279,7 @@ AC_CHECK_HEADERS([gif_lib.h], GIFINC="tr
+
+ dnl Check for the png library
+ dnl Solaris needs -lm on the linker line, and other platforms aren't bothered having it there. :)
+-AC_CHECK_LIB(png, png_read_image, PNGLIB="-lpng", PNGLIB="", "-lm")
++AC_CHECK_LIB(png16, png_read_image, PNGLIB="-lpng16", PNGLIB="", "-lm")
+
+ dnl Check for the zlib library
+ AC_CHECK_LIB(z, compress2,