summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2015-04-06 00:08:34 +0000
committermrg <mrg@pkgsrc.org>2015-04-06 00:08:34 +0000
commit642013567420c988684d43e678f602d01282af53 (patch)
tree9be53a833d6bfed6535d2349bdcab589e24074d1 /audio
parentacf1ef7cd8f465c424ca3486f2abdacb883b1ba3 (diff)
downloadpkgsrc-642013567420c988684d43e678f602d01282af53.tar.gz
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 (limited to 'audio')
-rw-r--r--audio/musicpd/distinfo3
-rw-r--r--audio/musicpd/patches/patch-src_system_ByteOrder.hxx13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/musicpd/distinfo b/audio/musicpd/distinfo
index 85a7f67815e..795dc09a05a 100644
--- a/audio/musicpd/distinfo
+++ b/audio/musicpd/distinfo
@@ -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 --git a/audio/musicpd/patches/patch-src_system_ByteOrder.hxx b/audio/musicpd/patches/patch-src_system_ByteOrder.hxx
new file mode 100644
index 00000000000..9de6502e4a9
--- /dev/null
+++ b/audio/musicpd/patches/patch-src_system_ByteOrder.hxx
@@ -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