From 07219bb6c9eb77a0e06449be6b4339c68253284a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 17 Sep 2013 18:39:11 +0200 Subject: fix alsa-lib compile, as usual with ideas and patches from sab0tage --- package/alsa-lib/patches/patch-src_compat_hsearch_r_c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/alsa-lib/patches/patch-src_compat_hsearch_r_c (limited to 'package/alsa-lib/patches/patch-src_compat_hsearch_r_c') 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 , 1993. +@@ -234,3 +235,4 @@ hsearch_r (item, action, retval, htab) + *retval = NULL; + return 0; + } ++#endif -- cgit v1.2.3