giflib: Update from 5.1.4 to 5.1.9
This commit is contained in:
parent
5487c06a6b
commit
aea432098e
12
packages/giflib/Makefile.patch
Normal file
12
packages/giflib/Makefile.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -u -r ../giflib-5.1.9/Makefile ./Makefile
|
||||
--- ../giflib-5.1.9/Makefile 2019-03-28 18:57:23.000000000 +0000
|
||||
+++ ./Makefile 2019-03-29 22:55:30.125971028 +0000
|
||||
@@ -14,7 +14,7 @@
|
||||
TAR = tar
|
||||
INSTALL = install
|
||||
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX ?= /usr/local
|
||||
BINDIR = $(PREFIX)/bin
|
||||
INCDIR = $(PREFIX)/include
|
||||
LIBDIR = $(PREFIX)/lib
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/giflib/
|
||||
TERMUX_PKG_DESCRIPTION="A library for reading and writing gif images"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
||||
TERMUX_PKG_VERSION=5.1.4
|
||||
TERMUX_PKG_REVISION=6
|
||||
TERMUX_PKG_VERSION=5.1.9
|
||||
TERMUX_PKG_SHA256=36ccab06aa43e5d608cdd74902f89c47fd55c348009798434ba5798967454057
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/giflib/giflib-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=34a7377ba834397db019e8eb122e551a49c98f49df75ec3fcc92b9a794a4f6d1
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- src/lib/egif_lib.c.orig 2017-12-09 15:46:41.761228962 +0000
|
||||
+++ src/lib/egif_lib.c 2017-12-09 15:47:16.631668749 +0000
|
||||
@@ -25,6 +25,14 @@
|
||||
#include "gif_lib.h"
|
||||
#include "gif_lib_private.h"
|
||||
|
||||
+#ifndef S_IREAD
|
||||
+#define S_IREAD 00400
|
||||
+#endif
|
||||
+
|
||||
+#ifndef S_IWRITE
|
||||
+#define S_IWRITE 00200
|
||||
+#endif
|
||||
+
|
||||
/* Masks given codes to BitsPerPixel, to make sure all codes are in range: */
|
||||
/*@+charint@*/
|
||||
static const GifPixelType CodeMask[] = {
|
Loading…
Reference in New Issue
Block a user