mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-26 07:10:09 +01:00
Move library tree where it belongs
This commit is contained in:
24
lib-src/libnyquist/kFreeBSD-nyquist.patch
Normal file
24
lib-src/libnyquist/kFreeBSD-nyquist.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
--- audacity-1.3.8.orig/lib-src/libnyquist/nyquist/sys/unix/switches.h
|
||||
+++ audacity-1.3.8/lib-src/libnyquist/nyquist/sys/unix/switches.h
|
||||
@@ -76,7 +76,7 @@
|
||||
#define CPU_IS_BIG_ENDIAN 1
|
||||
#endif
|
||||
#else
|
||||
- #ifdef __linux__
|
||||
+ #if defined(__linux__) || defined(__GLIBC__)
|
||||
#include <endian.h>
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
/* Target processor is little endian. */
|
||||
only in patch2:
|
||||
unchanged:
|
||||
--- audacity-1.3.8.orig/lib-src/libnyquist/nyquist/xlisp/xlisp.h
|
||||
+++ audacity-1.3.8/lib-src/libnyquist/nyquist/xlisp/xlisp.h
|
||||
@@ -143,7 +143,7 @@
|
||||
#endif
|
||||
|
||||
/* Linux on Pentium */
|
||||
-#ifdef __linux__
|
||||
+#if defined(__linux__) || defined(__GLIBC__)
|
||||
#include <endian.h>
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
#define XL_LITTLE_ENDIAN
|
||||
Reference in New Issue
Block a user