pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/imlib2



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Mon Aug 17 02:52:52 UTC 2020

Modified Files:
        pkgsrc/graphics/imlib2: distinfo
Added Files:
        pkgsrc/graphics/imlib2/patches:
            patch-src_modules_loaders_loader__argb.c

Log Message:
imlib2: fix big-endian builds


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/graphics/imlib2/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/imlib2/patches/patch-src_modules_loaders_loader__argb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/imlib2/distinfo
diff -u pkgsrc/graphics/imlib2/distinfo:1.41 pkgsrc/graphics/imlib2/distinfo:1.42
--- pkgsrc/graphics/imlib2/distinfo:1.41        Sun Aug  9 15:44:44 2020
+++ pkgsrc/graphics/imlib2/distinfo     Mon Aug 17 02:52:52 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.41 2020/08/09 15:44:44 nia Exp $
+$NetBSD: distinfo,v 1.42 2020/08/17 02:52:52 gutteridge Exp $
 
 SHA1 (imlib2-1.7.0.tar.bz2) = 27e380e739c3c1a7c9a71a31143c2dd98da99abb
 RMD160 (imlib2-1.7.0.tar.bz2) = ebf78f4c3341452c5b8617f3e5716360c809ad72
@@ -8,3 +8,4 @@ SHA1 (patch-imlib2-config.in) = 22bd429a
 SHA1 (patch-src_bin_imlib2__view.c) = 53a7bdb2e1f8687db095b796b46945ee5a72f552
 SHA1 (patch-src_lib_amd64__blend.S) = 09e89c6b1d6fb622b3ee88f6c3a5e9b6f3ab3fad
 SHA1 (patch-src_lib_amd64__blend__cmod.S) = d533eeacd4b196086f1854c657d3e0773596790b
+SHA1 (patch-src_modules_loaders_loader__argb.c) = 11eda7493583f3338a0d72d52d68543290f40e05

Added files:

Index: pkgsrc/graphics/imlib2/patches/patch-src_modules_loaders_loader__argb.c
diff -u /dev/null pkgsrc/graphics/imlib2/patches/patch-src_modules_loaders_loader__argb.c:1.1
--- /dev/null   Mon Aug 17 02:52:53 2020
+++ pkgsrc/graphics/imlib2/patches/patch-src_modules_loaders_loader__argb.c     Mon Aug 17 02:52:52 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_modules_loaders_loader__argb.c,v 1.1 2020/08/17 02:52:52 gutteridge Exp $
+
+Fix big-endian builds.
+
+--- src/modules/loaders/loader_argb.c.orig     2020-07-28 18:13:51.000000000 +0000
++++ src/modules/loaders/loader_argb.c
+@@ -7,6 +7,10 @@ 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;
+ 



Home | Main Index | Thread Index | Old Index