wvdial: add musl support

This commit is contained in:
uriahheep 2015-09-25 00:07:33 -04:00
parent 31fb7b266f
commit 5ac4ce91e4
2 changed files with 20 additions and 1 deletions

View file

@ -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;

View file

@ -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 <gottox@voidlinux.eu>"