mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-gfx/pngnq: update EAPI 7 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
--- a/src/rwpng.c
|
||||
+++ b/src/rwpng.c
|
||||
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#include "png.h" /* libpng header */
|
||||
29
media-gfx/pngnq/pngnq-1.1-r1.ebuild
Normal file
29
media-gfx/pngnq/pngnq-1.1-r1.ebuild
Normal file
@@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Pngnq is a tool for quantizing PNG images in RGBA format"
|
||||
HOMEPAGE="http://pngnq.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD pngnq rwpng"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="media-libs/libpng:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0-libpng14.patch
|
||||
"${FILESDIR}"/${PN}-1.0-libpng15.patch
|
||||
"${FILESDIR}"/${PN}-1.0-Wimplicit-function-declaration.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
Reference in New Issue
Block a user