forked from NetBSD/pkgsrc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
7 Apr 2017 - Ming 0.4.8 * Add PHP7 compatibility * Fix C++ output of disassembler * Fix heap overflows in parser.c (CVE-2017-7578) * Avoid division by zero in listmp3 when no valid frame was found * Don't try printing unknown block. * Parse Protect tag's Password as string * Check values before deriving malloc parameters from them in parser.c * Make readString() stop reading string past buffer's end * Return EOF when reading unsigned values hits end of memory backed buffer * Exit immediately when unexpected EOF is by fgetc() in utility programs * Fix using EOF marker -1 value as a valid flag byte * Fix division by zero sample rate due to global buffer overflow. 15 May 2015 - Ming 0.4.7 * Restore support for giflib 4.1.x 14 May 2015 - Ming 0.4.6 * Add support for building against giflib 5.1.1+ * Fix support for bison 2.6+ * Fix build on GNU/Hurd(PR NetBSD#39). * Fix possible buffer overflow in makeswf * Change php bindings license from PHP to LGPL-2.1+ * Fix build of python binding with libgif (rather than libungif)
- Loading branch information
markd
committed
Nov 13, 2018
1 parent
9d88f39
commit 4304d6a
Showing
11 changed files
with
207 additions
and
715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# $NetBSD: Makefile,v 1.27 2018/08/22 09:45:49 wiz Exp $ | ||
# $NetBSD: Makefile,v 1.28 2018/11/13 10:18:26 markd Exp $ | ||
# | ||
|
||
.include "Makefile.common" | ||
|
||
PKGREVISION= 7 | ||
PKGNAME= ${DISTNAME:S/_/./g} | ||
CATEGORIES= multimedia | ||
|
||
MAINTAINER= [email protected] | ||
|
@@ -13,6 +13,7 @@ LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 | |
|
||
GNU_CONFIGURE= yes | ||
USE_TOOLS+= pkg-config bison flex | ||
USE_TOOLS+= aclocal autoconf automake autoheader | ||
USE_LANGUAGES= c c++ | ||
USE_LIBTOOL= yes | ||
|
||
|
@@ -34,6 +35,9 @@ TEST_TARGET= check | |
# XXX: "man" is not in SUBDIRS of "docs" | ||
INSTALL_DIRS= . docs/man | ||
|
||
pre-configure: | ||
cd ${WRKSRC}; sh ./autogen.sh | ||
|
||
.include "../../devel/zlib/buildlink3.mk" | ||
.include "../../graphics/freetype2/buildlink3.mk" | ||
.include "../../graphics/giflib/buildlink3.mk" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# $NetBSD: Makefile.common,v 1.7 2013/06/14 09:00:19 obache Exp $ | ||
# $NetBSD: Makefile.common,v 1.8 2018/11/13 10:18:26 markd Exp $ | ||
# | ||
# used by multimedia/php-ming/Makefile | ||
# used by multimedia/py-ming/Makefile | ||
|
||
MING_VERSION= 0.4.5 | ||
DISTNAME= ming-${MING_VERSION} | ||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ming/} | ||
MING_VERSION= 0.4.8 | ||
DISTNAME= ming-${MING_VERSION:S/./_/g} | ||
MASTER_SITES= ${MASTER_SITE_GITHUB:=libming/libming/archive/} | ||
|
||
DISTINFO_FILE= ${.CURDIR}/../../multimedia/ming/distinfo | ||
PATCHDIR= ${.CURDIR}/../../multimedia/ming/patches | ||
|
||
WRKSRC= ${WRKDIR}/libming-ming-${MING_VERSION:S/./_/g} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
$NetBSD: distinfo,v 1.17 2015/11/03 23:54:30 agc Exp $ | ||
$NetBSD: distinfo,v 1.18 2018/11/13 10:18:26 markd Exp $ | ||
|
||
SHA1 (ming-0.4.5.tar.gz) = 97c201040729917bf7c62da9616a87f4a920f473 | ||
RMD160 (ming-0.4.5.tar.gz) = 9ef9cf769a03c6e356dca299c85e06a2cdd6a155 | ||
SHA512 (ming-0.4.5.tar.gz) = c7b8ef7769fabfde792ad58d9d72fea380dd3091b4ef52d4779a2b28ec742ddcbeb6c69ed119cd19543554f4c1d01aa4e50e87509f495e83272a33b3c4b920c0 | ||
Size (ming-0.4.5.tar.gz) = 15029578 bytes | ||
SHA1 (patch-ae) = 614e322330d2d2ab1e0ef1beadf1395014ecd880 | ||
SHA1 (patch-php__ext_ming.c) = a6f0231a602e39b638c5c8f369e2747c978f9762 | ||
SHA1 (patch-src_blocks_gifdbl.c) = 212535b773d373a9836facb9bbc248749ca9d552 | ||
SHA1 (patch-src_libming.h) = bba5e6f93913359b7109e3b18177f819989be98f | ||
SHA1 (patch-util_gif2dbl.c) = bd897674d5146ac6d6c2b4df6399f18e283c22e6 | ||
SHA1 (patch-util_gif2mask.c) = b98e2bcbbf6e3237acf71aaa02f3e36f6fb62dfd | ||
SHA1 (ming-0_4_8.tar.gz) = ef94923ea4f71fca0950c4a9ff1eb33e1712c17b | ||
RMD160 (ming-0_4_8.tar.gz) = 4110608567c768bb67338c4bd3967322e63c32d4 | ||
SHA512 (ming-0_4_8.tar.gz) = e395acde9119ad32f4cedd500bcceee70bdd563222a41dda899cc318d5e34eb580abc38ac39c6dec7821913a0a70d2f953fc81f52255b623e34f7c3aaafbc9c0 | ||
Size (ming-0_4_8.tar.gz) = 14908459 bytes | ||
SHA1 (patch-configure.in) = 9c231dc2e06d12e05b8e82d48f1df2aed33de697 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
$NetBSD: patch-configure.in,v 1.1 2018/11/13 10:18:26 markd Exp $ | ||
|
||
From ef3719d39e8bb7e96c6ec57d60261f1516353460 Mon Sep 17 00:00:00 2001 | ||
From: Lars Wendler <[email protected]> | ||
Date: Fri, 4 May 2018 17:40:04 +0200 | ||
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. | ||
|
||
--- configure.in.orig 2017-04-07 08:12:56.000000000 +0000 | ||
+++ configure.in | ||
@@ -257,26 +257,8 @@ freetype_support=yes) | ||
|
||
if test "$freetype_support" = "yes"; then | ||
dnl Check for the freetype library | ||
- AC_ARG_WITH(freetype-config, [ --with-freetype-config=PROG Use FreeType configuration program PROG], freetype_config=$withval, freetype_config=yes) | ||
- if test "$freetype_config" = "yes"; then | ||
- AC_PATH_PROG(ft_config,freetype-config,no) | ||
- if test "$ft_config" = "no"; then | ||
- echo "To compile ming please install freetype:" | ||
- echo " as .deb user: sudo apt-get install libfreetype6 libfreetype6-dev" | ||
- echo "" | ||
- echo "or disable the freetype configuration option:" | ||
- echo " --disable-freetype" | ||
- AC_MSG_ERROR([Could not detect freetype-config!]) | ||
- fi | ||
- else | ||
- ft_config="$freetype_config" | ||
- fi | ||
- | ||
- FREETYPE_CFLAGS="`$ft_config --cflags`" | ||
- FREETYPE_LIBS="`$ft_config --libs`" | ||
- | ||
- AC_SUBST(FREETYPE_LIBS) | ||
- AC_SUBST(FREETYPE_CFLAGS) | ||
+ PKG_PROG_PKG_CONFIG | ||
+ PKG_CHECK_MODULES(FREETYPE, freetype2,, AC_MSG_ERROR([Could not find freetype])) | ||
fi | ||
|
||
dnl Check for the ungif or gif (new or old) libraries |
Oops, something went wrong.