-DIST farbfeld-3.tar.gz 10169 BLAKE2B 8d548cb33950d1b8f94f79ea5e8dbff445f2378f1c75cb4945f8f48ae9fec8075d38bc83a6bc99184182f3b1920b15454853c0a899de2e0756f2614bc3f684aa SHA512 4f1e44282810bd2724f78857bcde401b82945375c5472b31e39250d660efffd425e0a2da5aecf0133ad3d414c31214d073d00f519bc83960b5bbfd53df3b1c49
DIST farbfeld-4.tar.gz 10340 BLAKE2B 0ef13baabe70f0be485746602a77eb4002c8611d1ccb0468de512b687eb9a5c48dafb81c12274e29377697bc70d3586f4a71b47e82ffd3f6238398741565c1b9 SHA512 5139dd81cf1e3cb7a32108c0acad0e4ae0de13e86b997f1a759aa1b1f7be6c1ad2a93a69af7126e3512a7c9b1669a2a301ff60171b098b3450f1da0594e3b6ac
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit toolchain-funcs
-
-DESCRIPTION="farbfeld simple image format tools"
-HOMEPAGE="https://tools.suckless.org/farbfeld/"
-SRC_URI="https://dl.suckless.org/${PN}/${P}.tar.gz"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- media-libs/libjpeg-turbo
- media-libs/libpng:*
-"
-DEPEND="
- ${RDEPEND}
-"
-PATCHES=(
- "${FILESDIR}"/${PN}-3-as-needed.patch
-)
-
-src_prepare() {
- default
-
- sed -i \
- -e '/^CC/d' \
- -e 's|/usr/local|/usr|g' \
- -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall -Wextra $(INCS) $(CPPFLAGS)|g' \
- -e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \
- -e 's|{|(|g;s|}|)|g' \
- config.mk || die
-}
-
-src_compile() {
- emake CC=$(tc-getCC)
-}
-
-src_install() {
- emake DESTDIR="${D}" install MANPREFIX=/usr/share/man
-}
+++ /dev/null
---- a/Makefile
-+++ b/Makefile
-@@ -23,7 +23,7 @@
- $(BIN:=.o): config.mk $(HDR) $(REQ:=.h)
-
- .o:
-- $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o)
-+ $(CC) $(LDFLAGS) -o $@ $< $(REQ:=.o) $($*-LDFLAGS)
-
- clean:
- rm -f $(BIN) $(BIN:=.o) $(REQ:=.o)