Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/wvdial/files: wvdial-1.60-dirent.patch
Date: Sat, 20 Jun 2009 09:40:59
Message-Id: E1MHx4D-0003uC-0U@stork.gentoo.org
1 mrness 09/06/20 09:40:57
2
3 Added: wvdial-1.60-dirent.patch
4 Log:
5 Fix compilation error related to glibc-2.10 (#271477).
6 Migrate to EAPI 2.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.1 net-dialup/wvdial/files/wvdial-1.60-dirent.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/wvdial/files/wvdial-1.60-dirent.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/wvdial/files/wvdial-1.60-dirent.patch?rev=1.1&content-type=text/plain
14
15 Index: wvdial-1.60-dirent.patch
16 ===================================================================
17 diff -Nru wvdial-1.60.orig/wvmodemscan.cc wvdial-1.60/wvmodemscan.cc
18 --- wvdial-1.60.orig/wvmodemscan.cc 2007-07-19 23:22:26.000000000 +0200
19 +++ wvdial-1.60/wvmodemscan.cc 2009-06-20 11:36:15.000000000 +0200
20 @@ -496,10 +496,8 @@
21 }
22
23
24 -static int filesort(const void *_e1, const void *_e2)
25 +static int filesort(const dirent **e1, const dirent **e2)
26 {
27 - dirent const * const *e1 = (dirent const * const *)_e1;
28 - dirent const * const *e2 = (dirent const * const *)_e2;
29 const char *p1, *p2;
30 int diff;