diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-02 05:25:44 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2005-11-02 05:25:44 +0000 |
commit | b479ca8fa8e630e926fec71e1c2db01c134d6c74 (patch) | |
tree | da39acb9a46766fa20ae1e4687b2e6ad41a8b5d8 /audio/gramofile/files/post-patch-bplay.c | |
parent | 853795d1fcd0f59657eeb5169fc9eba709e06075 (diff) | |
download | ports-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.c | 19 |
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 |