2
## 01_alpha_symbols.dpatch by Jordi Mallach <jordi@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Fix use of embedded assembly so that we always use symbol versioning
6
## DP: instead of weak symbol aliases on alpha, since the assembly used for
7
## DP: weak symbols is apparently non-portable.
10
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
14
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
15
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
18
-patch) patch -p1 ${patch_opts} < $0;;
19
-unpatch) patch -R -p1 ${patch_opts} < $0;;
21
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
28
diff -urNad /home/jordi/svn/pkg-alsa/trunk/build-area/alsa-lib-1.0.6/include/alsa-symbols.h alsa-lib-1.0.6/include/alsa-symbols.h
29
--- /home/jordi/svn/pkg-alsa/trunk/build-area/alsa-lib-1.0.6/include/alsa-symbols.h 2003-08-13 15:18:36.000000000 +0200
30
+++ alsa-lib-1.0.6/include/alsa-symbols.h 2004-09-26 18:42:57.000000000 +0200
32
__asm__ (".symver " #real "," #name "@@" #version)
35
-#ifdef USE_VERSIONED_SYMBOLS
36
+#if defined(USE_VERSIONED_SYMBOLS) || defined(__alpha__)
37
#define use_symbol_version(real, name, version) \
38
symbol_version(real, name, version)
39
#define use_default_symbol_version(real, name, version) \