FreeBSD Bugzilla – Attachment 144885 Details for
Bug 191209
print/gutenprint and children: update to 5.2.10, add STAGE support, fix DEPENDS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix endianess detection issue with gcc - drop this into print/gutenprint-base/files/
patch_src_main_print-olympus.c (text/plain), 681 bytes, created by
Christoph Moench-Tegeder
on 2014-07-22 17:57:07 UTC
(
hide
)
Description:
fix endianess detection issue with gcc - drop this into print/gutenprint-base/files/
Filename:
MIME Type:
Creator:
Christoph Moench-Tegeder
Created:
2014-07-22 17:57:07 UTC
Size:
681 bytes
patch
obsolete
>--- src/main/print-olympus.c.orig 2014-07-22 19:33:07.000000000 +0200 >+++ src/main/print-olympus.c 2014-07-22 19:34:07.000000000 +0200 >@@ -4901,13 +4901,13 @@ > } > > if (pv.bytes_per_ink_channel > 1) { >-#if defined(__LITTLE_ENDIAN) || defined(__LITTLE_ENDIAN__) >+#if __BYTE_ORDER == __LITTLE_ENDIAN > pv.byteswap = dyesub_feature(caps, DYESUB_FEATURE_BIGENDIAN); >-#elif defined (__BIG_ENDIAN) || defined(__BIG_ENDIAN__) >+#elif __BYTE_ORDER == __BIG_ENDIAN > pv.byteswap = !dyesub_feature(caps, DYESUB_FEATURE_BIGENDIAN); > #else > #error "Unable to determine endianness, aborting compilation!" >-#endif >+#endif > } > > pv.image_data = dyesub_read_image(v, &pv, image);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191209
:
143963
|
143964
|
143965
|
143966
|
143967
|
143968
|
144695
|
144696
|
144697
|
144698
|
144699
|
144700
| 144885