diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-17 18:39:11 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-17 18:39:11 +0200 |
commit | 07219bb6c9eb77a0e06449be6b4339c68253284a (patch) | |
tree | 6c613d8d3b11a43a55c5729d0ff5a80c9bb37d98 /package/alsa-lib/patches/patch-src_compat_hsearch_r_c | |
parent | 29d2f64bccfd2a2944487d4378d2c1d914363b71 (diff) |
fix alsa-lib compile, as usual with ideas and patches from sab0tage
Diffstat (limited to 'package/alsa-lib/patches/patch-src_compat_hsearch_r_c')
-rw-r--r-- | package/alsa-lib/patches/patch-src_compat_hsearch_r_c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/alsa-lib/patches/patch-src_compat_hsearch_r_c b/package/alsa-lib/patches/patch-src_compat_hsearch_r_c new file mode 100644 index 000000000..bb2bef0b5 --- /dev/null +++ b/package/alsa-lib/patches/patch-src_compat_hsearch_r_c @@ -0,0 +1,15 @@ +* added idea/patch from https://github.com/rofl0r/sabotage + and https://bitbucket.org/GregorR/musl-pkgsrc-patches + +--- alsa-lib-1.0.27.2.orig/src/compat/hsearch_r.c 2013-07-08 14:31:36.000000000 +0200 ++++ alsa-lib-1.0.27.2/src/compat/hsearch_r.c 2013-09-17 18:14:02.000000000 +0200 +@@ -1,3 +1,4 @@ ++#if 0 + /* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1993. +@@ -234,3 +235,4 @@ hsearch_r (item, action, retval, htab) + *retval = NULL; + return 0; + } ++#endif |