aboutsummaryrefslogtreecommitdiff
path: root/audio/gramofile/files/post-patch-bplay.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-11-02 05:25:44 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-11-02 05:25:44 +0000
commitb479ca8fa8e630e926fec71e1c2db01c134d6c74 (patch)
treeda39acb9a46766fa20ae1e4687b2e6ad41a8b5d8 /audio/gramofile/files/post-patch-bplay.c
parent853795d1fcd0f59657eeb5169fc9eba709e06075 (diff)
downloadports-b479ca8fa8e630e926fec71e1c2db01c134d6c74.tar.gz
ports-b479ca8fa8e630e926fec71e1c2db01c134d6c74.zip
update audio/gramofile to 1.6P+debian patches
update to 1.6P (with perl interface), add debian patches, MASTER_SITE moved PR: ports/88199 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de>
Notes
Notes: svn path=/head/; revision=146995
Diffstat (limited to 'audio/gramofile/files/post-patch-bplay.c')
-rw-r--r--audio/gramofile/files/post-patch-bplay.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/gramofile/files/post-patch-bplay.c b/audio/gramofile/files/post-patch-bplay.c
new file mode 100644
index 000000000000..c436d4421bf5
--- /dev/null
+++ b/audio/gramofile/files/post-patch-bplay.c
@@ -0,0 +1,19 @@
+Index: bplaysrc/bplay.c
+@@ -33,14 +33,16 @@
+ /* Needed for BYTE_ORDER and BIG/LITTLE_ENDIAN macros. */
+ #ifndef _BSD_SOURCE
+ # define _BSD_SOURCE
+-# include <endian.h>
++# include <sys/endian.h>
+ # undef _BSD_SOURCE
+ #else
+ # include <endian.h>
+ #endif
+
+ #include <sys/types.h>
++#ifndef __FreeBSD__
+ #include <byteswap.h>
++#endif
+
+ /* Adapted from the byteorder macros in the Linux kernel. */
+ #if BYTE_ORDER == LITTLE_ENDIAN