1Drop support for glibc < 2.10, in master we are at 2.28
2in process get it working with musl as well.
3
4Upstream-Status: Inappropriate [No upstream]
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- a/wvmodemscan.cc
8+++ b/wvmodemscan.cc
9@@ -495,16 +495,8 @@ static int fileselect(const struct diren
10 	// (no internal ISDN support)   || !strncmp(e->d_name, "ttyI", 4);
11 }
12
13-#if defined(__GLIBC__) && __GLIBC_PREREQ(2, 10)
14 static int filesort(const dirent **e1, const dirent **e2)
15-#else
16-static int filesort(const void *_e1, const void *_e2)
17-#endif
18 {
19-#if !(defined(__GLIBC__) && __GLIBC_PREREQ(2, 10))
20-    dirent const * const *e1 = (dirent const * const *)_e1;
21-    dirent const * const *e2 = (dirent const * const *)_e2;
22-#endif
23     const char *p1, *p2;
24     int diff;
25
26