From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/giflib/giflib-restore-deprecated-functions.patch | 17 +++++++++++++++++ repo/giflib/giflib.xibuild | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 repo/giflib/giflib-restore-deprecated-functions.patch create mode 100644 repo/giflib/giflib.xibuild (limited to 'repo/giflib') diff --git a/repo/giflib/giflib-restore-deprecated-functions.patch b/repo/giflib/giflib-restore-deprecated-functions.patch new file mode 100644 index 0000000..770cb16 --- /dev/null +++ b/repo/giflib/giflib-restore-deprecated-functions.patch @@ -0,0 +1,17 @@ +Source: Gentoo, written by Gary Stein +Upstream: No +Reason: restores deprecated GifQuantizeBuffer which some packages (notably libgdiplus) still use +--- a/Makefile 2019-03-28 14:57:23.000000000 -0400 ++++ b/Makefile 2019-03-31 23:38:20.700603561 -0400 +@@ -67,8 +67,8 @@ + + $(UTILS):: libgif.a libutil.a + +-libgif.so: $(OBJECTS) $(HEADERS) +- $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) ++libgif.so: $(OBJECTS) $(HEADERS) $(UOBJECTS) ++ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) $(UOBJECTS) + + libgif.a: $(OBJECTS) $(HEADERS) + $(AR) rcs libgif.a $(OBJECTS) + diff --git a/repo/giflib/giflib.xibuild b/repo/giflib/giflib.xibuild new file mode 100644 index 0000000..3206a35 --- /dev/null +++ b/repo/giflib/giflib.xibuild @@ -0,0 +1,19 @@ +#!/bin/sh + +NAME="giflib" +DESC="A library for reading and writing GIF images" + +MAKEDEPS="make " +DEPS="musl " + +PKG_VER=5.2.1 +SOURCE="https://downloads.sourceforge.net/sourceforge/giflib/giflib-$PKG_VER.tar.gz" +ADDITIONAL="giflib-restore-deprecated-functions.patch " + +build () { + make PREFIX=/usr +} + +package () { + make PREFIX=/usr DESTDIR=$PKG_DEST install +} -- cgit v1.2.1