diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-11-14 13:37:42 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-11-14 13:37:42 +0000 |
commit | c264d8733292f1a1fd6d71c8fd0d0f8f257da557 (patch) | |
tree | 18dde369053067570407d2967a3859693799047f /user/imlib2 | |
parent | 575591417cfcdbc3183203faa6d55fa81c88d277 (diff) | |
download | packages-c264d8733292f1a1fd6d71c8fd0d0f8f257da557.tar.gz packages-c264d8733292f1a1fd6d71c8fd0d0f8f257da557.tar.bz2 packages-c264d8733292f1a1fd6d71c8fd0d0f8f257da557.tar.xz packages-c264d8733292f1a1fd6d71c8fd0d0f8f257da557.zip |
user/imlib2: Fix build error
Diffstat (limited to 'user/imlib2')
-rw-r--r-- | user/imlib2/APKBUILD | 7 | ||||
-rw-r--r-- | user/imlib2/loader-build.patch | 26 |
2 files changed, 31 insertions, 2 deletions
diff --git a/user/imlib2/APKBUILD b/user/imlib2/APKBUILD index 918ffcf07..698485e04 100644 --- a/user/imlib2/APKBUILD +++ b/user/imlib2/APKBUILD @@ -11,7 +11,9 @@ depends_dev="freetype-dev libxext-dev libsm-dev" makedepends="$depends_dev tiff-dev giflib-dev bzip2-dev libpng-dev libid3tag-dev libjpeg-turbo-dev zlib-dev util-linux-dev" subpackages="$pkgname-dev" -source="https://downloads.sourceforge.net/enlightenment/$pkgname-src/$pkgname-$pkgver.tar.bz2" +source="https://downloads.sourceforge.net/enlightenment/$pkgname-src/$pkgname-$pkgver.tar.bz2 + loader-build.patch + " build() { ./configure \ @@ -41,4 +43,5 @@ package() { make DESTDIR=$pkgdir install } -sha512sums="078126269565b55f4b167608ee65d558711e37c34283fb6193752b27f7fc59c738cbd38839b17203273defee20c2ffc41a495e44364089deebffbd39c67e6d72 imlib2-1.7.0.tar.bz2" +sha512sums="078126269565b55f4b167608ee65d558711e37c34283fb6193752b27f7fc59c738cbd38839b17203273defee20c2ffc41a495e44364089deebffbd39c67e6d72 imlib2-1.7.0.tar.bz2 +4f3139fa1caf64aff6f24f7fb95070b02280145119dcf5bb6f379ec1f4ded07d22317cb09eb42f911b12d90de4b84b6391ebf82305b129d6689089e5054c5e26 loader-build.patch" diff --git a/user/imlib2/loader-build.patch b/user/imlib2/loader-build.patch new file mode 100644 index 000000000..44af31f35 --- /dev/null +++ b/user/imlib2/loader-build.patch @@ -0,0 +1,26 @@ +From 92d3153fee9f915cf2bdbc92a7551e5a83985e81 Mon Sep 17 00:00:00 2001 +From: Daniel Kolesa <daniel@octaforge.org> +Date: Sun, 9 Aug 2020 21:00:46 +0200 +Subject: Fix big endian build + +--- + src/modules/loaders/loader_argb.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/modules/loaders/loader_argb.c b/src/modules/loaders/loader_argb.c +index ec58ca3..b915b7b 100644 +--- a/src/modules/loaders/loader_argb.c ++++ b/src/modules/loaders/loader_argb.c +@@ -7,6 +7,9 @@ load2(ImlibImage * im, int load_data) + int w = 0, h = 0, alpha = 0; + DATA32 *ptr; + int y; ++#ifdef WORDS_BIGENDIAN ++ int l; ++#endif + + rc = LOAD_FAIL; + +-- +cgit v1.2.1 + |