svn commit: r544503 - head/graphics/imlib2/files
Piotr Kubaj
pkubaj at FreeBSD.org
Sat Aug 8 15:42:55 UTC 2020
Author: pkubaj
Date: Sat Aug 8 15:42:55 2020
New Revision: 544503
URL: https://svnweb.freebsd.org/changeset/ports/544503
Log:
graphics/imlib2: fix build on big-endian architectures
l, used in big-endian ifdef, is not declared by default:
loader_argb.c:55: error: 'l' undeclared (first use in this function)
Added:
head/graphics/imlib2/files/
head/graphics/imlib2/files/patch-src_modules_loaders_loader__argb.c (contents, props changed)
Added: head/graphics/imlib2/files/patch-src_modules_loaders_loader__argb.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/imlib2/files/patch-src_modules_loaders_loader__argb.c Sat Aug 8 15:42:55 2020 (r544503)
@@ -0,0 +1,12 @@
+--- src/modules/loaders/loader_argb.c.orig 2020-08-08 14:27:16 UTC
++++ 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;
+
More information about the svn-ports-all
mailing list