midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/alsa_lib-1.1.8.local.patch

Lucio Andrés Illanes Albornoz 6b6135
Only in alsa-lib-1.1.8/include: alsa
Lucio Andrés Illanes Albornoz 6b6135
diff -ru alsa-lib-1.1.8.orig/include/alsa-symbols.h alsa-lib-1.1.8/include/alsa-symbols.h
Lucio Andrés Illanes Albornoz 6b6135
--- alsa-lib-1.1.8.orig/include/alsa-symbols.h	2019-01-07 13:55:38.000000000 +0100
Lucio Andrés Illanes Albornoz 6b6135
+++ alsa-lib-1.1.8/include/alsa-symbols.h	2019-03-24 06:05:21.993902732 +0100
Lucio Andrés Illanes Albornoz 6b6135
@@ -27,7 +27,12 @@
Lucio Andrés Illanes Albornoz 6b6135
 #endif
Lucio Andrés Illanes Albornoz 6b6135
 
Lucio Andrés Illanes Albornoz 6b6135
 #define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post
Lucio Andrés Illanes Albornoz 6b6135
+#ifdef __midipix__
Lucio Andrés Illanes Albornoz 6b6135
+/* no .symver support */
Lucio Andrés Illanes Albornoz 6b6135
+#define INTERNAL(Name) INTERNAL_CONCAT2_2(, Name)
Lucio Andrés Illanes Albornoz 6b6135
+#else
Lucio Andrés Illanes Albornoz 6b6135
 #define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name)
Lucio Andrés Illanes Albornoz 6b6135
+#endif
Lucio Andrés Illanes Albornoz 6b6135
 
Lucio Andrés Illanes Albornoz 6b6135
 # define symbol_version(real, name, version) \
Lucio Andrés Illanes Albornoz 6b6135
 	__asm__ (".symver " ASM_NAME(#real) "," ASM_NAME(#name) "@" #version)
Lucio Andrés Illanes Albornoz 6b6135
@@ -45,6 +50,8 @@
Lucio Andrés Illanes Albornoz 6b6135
 #define use_default_symbol_version(real, name, version) \
Lucio Andrés Illanes Albornoz 6b6135
         __asm__ (".weak " ASM_NAME(#name)); \
Lucio Andrés Illanes Albornoz 6b6135
         __asm__ (ASM_NAME(#name) " = " ASM_NAME(#real))
Lucio Andrés Illanes Albornoz 6b6135
+#elif defined(__midipix__)
Lucio Andrés Illanes Albornoz 6b6135
+#define use_default_symbol_version(real, name, version) /* nothing */
Lucio Andrés Illanes Albornoz 6b6135
 #else
Lucio Andrés Illanes Albornoz 6b6135
 #define use_default_symbol_version(real, name, version) \
Lucio Andrés Illanes Albornoz 6b6135
 	__asm__ (".weak " ASM_NAME(#name)); \
Lucio Andrés Illanes Albornoz 6b6135
diff -ru alsa-lib-1.1.8.orig/include/local.h alsa-lib-1.1.8/include/local.h
Lucio Andrés Illanes Albornoz 6b6135
--- alsa-lib-1.1.8.orig/include/local.h	2019-01-07 13:55:38.000000000 +0100
Lucio Andrés Illanes Albornoz 6b6135
+++ alsa-lib-1.1.8/include/local.h	2019-03-23 19:06:39.073662943 +0100
Lucio Andrés Illanes Albornoz 6b6135
@@ -254,8 +254,10 @@
Lucio Andrés Illanes Albornoz 6b6135
 /*
Lucio Andrés Illanes Albornoz 6b6135
  */
Lucio Andrés Illanes Albornoz 6b6135
 #define HAVE_GNU_LD
Lucio Andrés Illanes Albornoz 6b6135
+#ifndef __midipix__
Lucio Andrés Illanes Albornoz 6b6135
 #define HAVE_ELF
Lucio Andrés Illanes Albornoz 6b6135
 #define HAVE_ASM_PREVIOUS_DIRECTIVE
Lucio Andrés Illanes Albornoz 6b6135
+#endif
Lucio Andrés Illanes Albornoz 6b6135
 
Lucio Andrés Illanes Albornoz 6b6135
 /* Stolen from libc-symbols.h in GNU glibc */
Lucio Andrés Illanes Albornoz 6b6135