pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/musicpd also look in <machine/endian.h> on netbs...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b627dbccf16
branches: trunk
changeset: 649613:2b627dbccf16
user: mrg <mrg%pkgsrc.org@localhost>
date: Mon Apr 06 00:08:34 2015 +0000
description:
also look in <machine/endian.h> on netbsd for endian info (fixes
non x86, mipsel and armel builds.)
probably could add other *bsd here, but i don't know them well
enough to be sure.
this doesn't change the build anywhere it was working already.
diffstat:
audio/musicpd/distinfo | 3 ++-
audio/musicpd/patches/patch-src_system_ByteOrder.hxx | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 619c57d2e0d9 -r 2b627dbccf16 audio/musicpd/distinfo
--- a/audio/musicpd/distinfo Sun Apr 05 23:26:27 2015 +0000
+++ b/audio/musicpd/distinfo Mon Apr 06 00:08:34 2015 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.62 2015/02/08 16:22:34 wiz Exp $
+$NetBSD: distinfo,v 1.63 2015/04/06 00:08:34 mrg Exp $
SHA1 (mpd-0.19.9.tar.xz) = 6683bee5f132eda318c5a61ec14b2df8d9164d60
RMD160 (mpd-0.19.9.tar.xz) = 1860665c1b75a372b46892df4307ed0346419bbb
Size (mpd-0.19.9.tar.xz) = 701480 bytes
SHA1 (patch-src_output_plugins_httpd_HttpdOutputPlugin.cxx) = b47d79cc49a27d732a7531e23d666bf9df748bec
+SHA1 (patch-src_system_ByteOrder.hxx) = 955af2aacf1c0a98c4c57728e1283eba81b457e7
diff -r 619c57d2e0d9 -r 2b627dbccf16 audio/musicpd/patches/patch-src_system_ByteOrder.hxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicpd/patches/patch-src_system_ByteOrder.hxx Mon Apr 06 00:08:34 2015 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_system_ByteOrder.hxx,v 1.4 2015/04/06 00:08:34 mrg Exp $
+
+--- src/system/ByteOrder.hxx.orig 2014-08-23 05:29:55.000000000 -0700
++++ src/system/ByteOrder.hxx 2015-04-05 16:29:48.000000000 -0700
+@@ -40,7 +40,7 @@
+ /* well-known big-endian */
+ # define IS_LITTLE_ENDIAN false
+ # define IS_BIG_ENDIAN true
+-#elif defined(__APPLE__)
++#elif defined(__APPLE__) || defined(__NetBSD__)
+ /* compile-time check for MacOS */
+ # include <machine/endian.h>
+ # if BYTE_ORDER == LITTLE_ENDIAN
Home |
Main Index |
Thread Index |
Old Index