pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libpano13 libpano13: add missig patch



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58f1e127940a
branches:  trunk
changeset: 380699:58f1e127940a
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 13 07:18:08 2022 +0000

description:
libpano13: add missig patch

diffstat:

 graphics/libpano13/distinfo                 |   4 ++--
 graphics/libpano13/patches/patch-panorama.h |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 610f2de40f04 -r 58f1e127940a graphics/libpano13/distinfo
--- a/graphics/libpano13/distinfo       Mon Jun 13 07:11:33 2022 +0000
+++ b/graphics/libpano13/distinfo       Mon Jun 13 07:18:08 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.13 2022/05/30 16:32:44 adam Exp $
+$NetBSD: distinfo,v 1.14 2022/06/13 07:18:08 adam Exp $
 
 BLAKE2s (libpano13-2.9.21.tar.gz) = 1bbb32e83139b25a1ff42c1e30208ec0f3698949b61498fdfedf827f59a2e659
 SHA512 (libpano13-2.9.21.tar.gz) = d344b81b56ba6e7dd38c0826e7e085ad5e20f5d2b09b27369ffae1e30d8f5bc03ab00d656d472069429b843d2e1eeceb173eeac39ee31a3622ca851387daef04
 Size (libpano13-2.9.21.tar.gz) = 2801535 bytes
 SHA1 (patch-man_CMakeLists.txt) = 1179abddde7821d6fc52f5e2cb88d93e9c4f28c4
-SHA1 (patch-panorama.h) = f00f5182787ff5e1e6a0692dfeb621c9684ef0b7
+SHA1 (patch-panorama.h) = 57f52742e4c2bbbbee90bd3c8a4035d513cf47e8
diff -r 610f2de40f04 -r 58f1e127940a graphics/libpano13/patches/patch-panorama.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libpano13/patches/patch-panorama.h       Mon Jun 13 07:18:08 2022 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-panorama.h,v 1.1 2022/06/13 07:18:09 adam Exp $
+
+Detect endianness on Darwin.
+
+--- panorama.h.orig    2022-05-30 07:37:25.000000000 +0000
++++ panorama.h
+@@ -52,6 +52,11 @@
+ #if defined(_BYTE_ORDER) && (_BYTE_ORDER == _BIG_ENDIAN)
+ #define PT_BIGENDIAN 1
+ #endif
++#elif defined(__APPLE__)
++#include <machine/endian.h>
++#if defined(BYTE_ORDER) && (BYTE_ORDER == BIG_ENDIAN)
++#define PT_BIGENDIAN 1
++#endif
+ #else
+ #include <endian.h>
+ #endif



Home | Main Index | Thread Index | Old Index