pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/sane-backends
Module Name: pkgsrc
Committed By: gutteridge
Date: Sun Aug 16 22:42:09 UTC 2020
Modified Files:
pkgsrc/graphics/sane-backends: distinfo
Added Files:
pkgsrc/graphics/sane-backends/patches: patch-backend_genesys_low.cpp
Log Message:
sane-backends: fix big-endian builds
Patch from Gentoo, via Connor McLaughlan on pkgsrc-users. (Also tested
by me on NetBSD 8.2_STABLE/macppc.)
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/graphics/sane-backends/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/sane-backends/patches/patch-backend_genesys_low.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/sane-backends/distinfo
diff -u pkgsrc/graphics/sane-backends/distinfo:1.47 pkgsrc/graphics/sane-backends/distinfo:1.48
--- pkgsrc/graphics/sane-backends/distinfo:1.47 Sat Jun 13 20:54:32 2020
+++ pkgsrc/graphics/sane-backends/distinfo Sun Aug 16 22:42:09 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.47 2020/06/13 20:54:32 leot Exp $
+$NetBSD: distinfo,v 1.48 2020/08/16 22:42:09 gutteridge Exp $
SHA1 (sane-backends-1.0.30.tar.gz) = 4f6a2e56d92d15a58dcabcba76a36929a2fd882f
RMD160 (sane-backends-1.0.30.tar.gz) = 85c57e773d26e8c82304d3d6bce38dcda0f2b8c0
@@ -10,6 +10,7 @@ SHA1 (patch-ah) = 6e747c3b541c9ebb57db64
SHA1 (patch-ai) = 14f5467eb865406cbec00b8d47b5c23c4c89f113
SHA1 (patch-aj) = c2e0733796872f1b074d0491dea4cffa1891bccc
SHA1 (patch-ak) = f00d3773c14f9955565debc0d16231906a2bba76
+SHA1 (patch-backend_genesys_low.cpp) = 6df874fc4e4909e401db923510f802367f2377f5
SHA1 (patch-backend_pixma_pixma__bjnp.c) = c48e929910cbe33b91c919de3f47badd2bf063f0
SHA1 (patch-m4_byteorder.m4) = 23f4b0256fc9980d3472e77ab558b0e24a9495b4
SHA1 (patch-tools_umax__pp.c) = debe660184a1380a894e8a5414983f5fdb19cded
Added files:
Index: pkgsrc/graphics/sane-backends/patches/patch-backend_genesys_low.cpp
diff -u /dev/null pkgsrc/graphics/sane-backends/patches/patch-backend_genesys_low.cpp:1.1
--- /dev/null Sun Aug 16 22:42:09 2020
+++ pkgsrc/graphics/sane-backends/patches/patch-backend_genesys_low.cpp Sun Aug 16 22:42:09 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-backend_genesys_low.cpp,v 1.1 2020/08/16 22:42:09 gutteridge Exp $
+
+Fix big-endian builds. Patch from Gentoo:
+https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49491819885af7f659dafe3a116ada80fbcfe1d7
+
+--- backend/genesys/low.cpp.orig 2020-05-17 11:54:18.000000000 +0000
++++ backend/genesys/low.cpp
+@@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner
+ }
+
+ #ifdef WORDS_BIGENDIAN
+- if (depth == 16) {
++ if (session.params.depth == 16) {
+ dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
+ }
+ #endif
Home |
Main Index |
Thread Index |
Old Index