From 5ac4ce91e4de90c4ea2da005e95387da922ec9e1 Mon Sep 17 00:00:00 2001 From: uriahheep Date: Fri, 25 Sep 2015 00:07:33 -0400 Subject: [PATCH] wvdial: add musl support --- .../wvdial-1.61-remove-glibc-check.patch | 19 +++++++++++++++++++ srcpkgs/wvdial/template | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/wvdial/patches/wvdial-1.61-remove-glibc-check.patch diff --git a/srcpkgs/wvdial/patches/wvdial-1.61-remove-glibc-check.patch b/srcpkgs/wvdial/patches/wvdial-1.61-remove-glibc-check.patch new file mode 100644 index 0000000000..3a071fbf9b --- /dev/null +++ b/srcpkgs/wvdial/patches/wvdial-1.61-remove-glibc-check.patch @@ -0,0 +1,19 @@ +--- wvmodemscan.cc.orig 2009-09-29 13:27:28.000000000 -0400 ++++ wvmodemscan.cc 2015-09-22 08:46:19.575860993 -0400 +@@ -495,16 +495,8 @@ + // (no internal ISDN support) || !strncmp(e->d_name, "ttyI", 4); + } + +-#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 10) + static int filesort(const dirent **e1, const dirent **e2) +-#else +-static int filesort(const void *_e1, const void *_e2) +-#endif + { +-#if !(defined(__GLIBC__) && __GLIBC_PREREQ(2, 10)) +- dirent const * const *e1 = (dirent const * const *)_e1; +- dirent const * const *e2 = (dirent const * const *)_e2; +-#endif + const char *p1, *p2; + int diff; + diff --git a/srcpkgs/wvdial/template b/srcpkgs/wvdial/template index 10b2b89e2d..5467de3be2 100644 --- a/srcpkgs/wvdial/template +++ b/srcpkgs/wvdial/template @@ -1,7 +1,7 @@ # Template file for 'wvdial' pkgname=wvdial version=1.61 -revision=5 +revision=6 build_style=gnu-configure short_desc="Point-to-Point Protocol dialer" maintainer="Enno Boland "