diff options
author | John Marino <marino@FreeBSD.org> | 2014-05-10 23:40:37 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2014-05-10 23:40:37 +0000 |
commit | 0f24bf17a53e2968f05411e20941526d374761fd (patch) | |
tree | 9718026000795ce87e17ca3ace6cc6c449b27c7f /audio/timidity/files/patch-config.h | |
parent | Update to new upstream release 2.3.4. (diff) |
audio/timidity & guspat: Add guspat as alternative for goemon
Neither port is currently maintained
PR: ports/177074
Submitted by: Green Dog
Approved by: timidity maintainer (Kevin Zheng) before he dropped it
Notes
Notes:
svn path=/head/; revision=353632
Diffstat (limited to 'audio/timidity/files/patch-config.h')
-rw-r--r-- | audio/timidity/files/patch-config.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/timidity/files/patch-config.h b/audio/timidity/files/patch-config.h new file mode 100644 index 000000000000..9330b30fb8e4 --- /dev/null +++ b/audio/timidity/files/patch-config.h @@ -0,0 +1,25 @@ +--- ./config.h.orig 1996-06-01 07:54:49.000000000 -0500 ++++ ./config.h 2013-04-21 10:18:23.000000000 -0500 +@@ -217,6 +217,22 @@ + # endif + #endif /* linux */ + ++#ifdef __FreeBSD__ ++#include <errno.h> ++#include <machine/endian.h> ++#if BYTE_ORDER == LITTLE_ENDIAN ++#undef BIG_ENDIAN ++#undef PDP_ENDIAN ++#elif BYTE_ORDER == BIG_ENDIAN ++#undef LITTLE_ENDIAN ++#undef PDP_ENDIAN ++#else ++# error No valid byte sex defined ++#endif ++#define USE_LDEXP ++#define PI M_PI ++#endif ++ + /* Win32 on Intel machines */ + #ifdef __WIN32__ + # define LITTLE_ENDIAN |