imlib2: update from 1.6.1 to 1.7.0
This commit is contained in:
parent
3b24737dc2
commit
8475463d7c
@ -2,12 +2,12 @@ diff -uNr imlib2-1.6.1/src/modules/loaders/loader_bz2.c imlib2-1.6.1.mod/src/mod
|
|||||||
--- imlib2-1.6.1/src/modules/loaders/loader_bz2.c 2019-12-12 17:33:39.000000000 +0200
|
--- imlib2-1.6.1/src/modules/loaders/loader_bz2.c 2019-12-12 17:33:39.000000000 +0200
|
||||||
+++ imlib2-1.6.1.mod/src/modules/loaders/loader_bz2.c 2019-12-16 14:57:48.727610807 +0200
|
+++ imlib2-1.6.1.mod/src/modules/loaders/loader_bz2.c 2019-12-16 14:57:48.727610807 +0200
|
||||||
@@ -52,7 +52,7 @@
|
@@ -52,7 +52,7 @@
|
||||||
FILE *fp;
|
ImlibLoader *loader;
|
||||||
int dest, res;
|
int dest, res;
|
||||||
const char *s, *p, *q;
|
const char *s, *p, *q;
|
||||||
- char tmp[] = "/tmp/imlib2_loader_bz2-XXXXXX";
|
- char tmp[] = "/tmp/imlib2_loader_bz2-XXXXXX";
|
||||||
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_bz2-XXXXXX";
|
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_bz2-XXXXXX";
|
||||||
char *file, *real_ext;
|
char *real_ext;
|
||||||
|
|
||||||
/* make sure this file ends in ".bz2" and that there's another ext
|
/* make sure this file ends in ".bz2" and that there's another ext
|
||||||
diff -uNr imlib2-1.6.1/src/modules/loaders/loader_id3.c imlib2-1.6.1.mod/src/modules/loaders/loader_id3.c
|
diff -uNr imlib2-1.6.1/src/modules/loaders/loader_id3.c imlib2-1.6.1.mod/src/modules/loaders/loader_id3.c
|
||||||
@ -17,8 +17,8 @@ diff -uNr imlib2-1.6.1/src/modules/loaders/loader_id3.c imlib2-1.6.1.mod/src/mod
|
|||||||
|
|
||||||
if (loader)
|
if (loader)
|
||||||
{
|
{
|
||||||
- char *ofile, tmp[] = "/tmp/imlib2_loader_id3-XXXXXX";
|
- char tmp[] = "/tmp/imlib2_loader_id3-XXXXXX";
|
||||||
+ char *ofile, tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_id3-XXXXXX";
|
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_id3-XXXXXX";
|
||||||
int dest;
|
int dest;
|
||||||
|
|
||||||
if ((dest = mkstemp(tmp)) < 0)
|
if ((dest = mkstemp(tmp)) < 0)
|
||||||
@ -44,11 +44,11 @@ diff -uNr imlib2-1.6.1/src/modules/loaders/loader_zlib.c imlib2-1.6.1.mod/src/mo
|
|||||||
--- imlib2-1.6.1/src/modules/loaders/loader_zlib.c 2019-12-12 17:33:39.000000000 +0200
|
--- imlib2-1.6.1/src/modules/loaders/loader_zlib.c 2019-12-12 17:33:39.000000000 +0200
|
||||||
+++ imlib2-1.6.1.mod/src/modules/loaders/loader_zlib.c 2019-12-16 14:59:48.137154277 +0200
|
+++ imlib2-1.6.1.mod/src/modules/loaders/loader_zlib.c 2019-12-16 14:59:48.137154277 +0200
|
||||||
@@ -45,7 +45,7 @@
|
@@ -45,7 +45,7 @@
|
||||||
FILE *fp;
|
ImlibLoader *loader;
|
||||||
int dest, res;
|
int dest, res;
|
||||||
const char *s, *p, *q;
|
const char *s, *p, *q;
|
||||||
- char tmp[] = "/tmp/imlib2_loader_zlib-XXXXXX";
|
- char tmp[] = "/tmp/imlib2_loader_zlib-XXXXXX";
|
||||||
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_zlib-XXXXXX";
|
+ char tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_zlib-XXXXXX";
|
||||||
char *file, *real_ext;
|
char *real_ext;
|
||||||
|
|
||||||
/* make sure this file ends in ".gz" and that there's another ext
|
/* make sure this file ends in ".gz" and that there's another ext
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/enlightenment/
|
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/enlightenment/
|
||||||
TERMUX_PKG_DESCRIPTION="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
|
TERMUX_PKG_DESCRIPTION="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
|
||||||
TERMUX_PKG_LICENSE="BSD"
|
TERMUX_PKG_LICENSE="BSD"
|
||||||
TERMUX_PKG_VERSION=1.6.1
|
TERMUX_PKG_VERSION=1.7.0
|
||||||
TERMUX_PKG_REVISION=1
|
|
||||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/enlightenment/imlib2-${TERMUX_PKG_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/enlightenment/imlib2-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=668696d0a8961bb57353fe96669f44bbdf1696221a65da563408a5010c5bd735
|
TERMUX_PKG_SHA256=fde6cc188a35e34eff251ee249d2b5624aa0d85f83a689237ec2fe90ceca718a
|
||||||
TERMUX_PKG_DEPENDS="freetype, giflib, libandroid-shmem, libbz2, libid3tag, libjpeg-turbo, libpng, libtiff, libxext, zlib"
|
TERMUX_PKG_DEPENDS="freetype, giflib, libandroid-shmem, libbz2, libid3tag, libjpeg-turbo, libpng, libtiff, libxext, zlib"
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="LIBS=-landroid-shmem"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="LIBS=-landroid-shmem"
|
||||||
|
Loading…
Reference in New Issue
Block a user