- Unbreak for 8/9

PR:		154592
Submitted by:	Tommy Scheunemann <net@arrishq.net>
This commit is contained in:
Martin Wilke 2011-03-04 13:56:59 +00:00
parent a4ce7ef0bf
commit e2ac5825ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270283
3 changed files with 13 additions and 3 deletions

View file

@ -40,8 +40,8 @@ USE_XORG= x11 xext
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800501
BROKEN= does not build
.if ${OSVERSION} < 800069
BROKEN= does not build
.endif
.include <bsd.port.post.mk>

View file

@ -1,3 +1,2 @@
MD5 (efltk-2.0.8.tar.gz) = 0596f27273cfb8169856009bfb611a1d
SHA256 (efltk-2.0.8.tar.gz) = 900dff72052af24e68f989346df363b0f1d211795bd168b8f56d436010dd7ee6
SIZE (efltk-2.0.8.tar.gz) = 1579590

View file

@ -0,0 +1,11 @@
--- src/core/filename_list.cpp 2010-11-12 00:31:17.000000000 +0100
+++ src/core/filename_list.cpp 2009-04-22 13:51:38.000000000 +0200
@@ -59,7 +59,7 @@
// The vast majority of Unix systems want the sort function to have this
// prototype, most likely so that it can be passed to qsort without any
// changes:
- return scandir(dir, list, 0, (int(*)(const void*,const void*))sort);
+ return scandir(dir, list, 0, (int(*)(const dirent **, const dirent **))sort);
#else
// This version is when we define our own scandir (WIN32 and perhaps
// some Unix systems) and apparently on Irix: