diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2015-12-20 22:31:52 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-28 21:57:15 +0100 |
commit | a986e09497d1ddc3c8fecdf8feabc516fd345cfc (patch) | |
tree | 3821bc7a3d2992620ab98bc6776e155805c96fc5 /package/libasplib/0001-Fix-linux-detection-with-buildroot.patch | |
parent | d7327c69c8459adf0b878205e0a2ab63c60d02bd (diff) | |
download | buildroot-a986e09497d1ddc3c8fecdf8feabc516fd345cfc.tar.gz buildroot-a986e09497d1ddc3c8fecdf8feabc516fd345cfc.zip |
package/libasplib: new package
Needed for upcoming kodi-adsp-biquad-filters package
[Thomas:
- add dependency on i386 || x86-64 since the <cpuid.h> header is
needed
- add hash file.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libasplib/0001-Fix-linux-detection-with-buildroot.patch')
-rw-r--r-- | package/libasplib/0001-Fix-linux-detection-with-buildroot.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/package/libasplib/0001-Fix-linux-detection-with-buildroot.patch b/package/libasplib/0001-Fix-linux-detection-with-buildroot.patch new file mode 100644 index 0000000000..66f5185196 --- /dev/null +++ b/package/libasplib/0001-Fix-linux-detection-with-buildroot.patch @@ -0,0 +1,31 @@ +From 1dc4480e5157e7ac8eb0364446787128f0a156aa Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <bernd.kuhls@t-online.de> +Date: Sun, 20 Dec 2015 22:25:52 +0100 +Subject: [PATCH 1/1] Fix linux detection with buildroot + +Inspired by +http://lists.busybox.net/pipermail/buildroot/2015-July/133312.html + +Patch sent upstream: https://github.com/kodi-adsp/asplib/pull/2 + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> +--- + asplib_utils/os/asplib_base_os.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/asplib_utils/os/asplib_base_os.h b/asplib_utils/os/asplib_base_os.h +index a2d3b98..9a90b54 100644 +--- a/asplib_utils/os/asplib_base_os.h ++++ b/asplib_utils/os/asplib_base_os.h +@@ -27,7 +27,7 @@ + #define TARGET_WINDOWS + #endif + #include "windows/windows_definitions.h" +-#elif defined(__gnu_linux__) ++#elif (defined(__gnu_linux__) || defined(__linux__)) + #if !defined(TARGET_WINDOWS) + #define TARGET_LINUX + #endif +-- +2.6.4 + |