summaryrefslogtreecommitdiff
path: root/x11/efltk
diff options
context:
space:
mode:
authormarino <marino>2012-01-28 11:59:06 +0000
committermarino <marino>2012-01-28 11:59:06 +0000
commit9819c1b690253de6cf7e654f8e352faf8d9a7302 (patch)
tree67db64dcdededfd4430682ea37e94128b217eb75 /x11/efltk
parent2a870dffbfc434736d5c83357379c441a5342033 (diff)
downloadpkgsrc-9819c1b690253de6cf7e654f8e352faf8d9a7302.tar.gz
x11/efltk: Fix DragonFly take II
Select the right prototype this time.
Diffstat (limited to 'x11/efltk')
-rw-r--r--x11/efltk/distinfo4
-rw-r--r--x11/efltk/patches/patch-src_core_filename_list.cpp16
2 files changed, 10 insertions, 10 deletions
diff --git a/x11/efltk/distinfo b/x11/efltk/distinfo
index 8b56e8dbe67..fc9581b39d9 100644
--- a/x11/efltk/distinfo
+++ b/x11/efltk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2012/01/28 11:35:26 marino Exp $
+$NetBSD: distinfo,v 1.11 2012/01/28 11:59:06 marino Exp $
SHA1 (efltk-2.0.5.tar.bz2) = 26f7124b384d0bfe3d28a73cbdf0111432b08d99
RMD160 (efltk-2.0.5.tar.bz2) = 7efa711d0df8a01ee402e1866286265d294778e8
@@ -18,7 +18,7 @@ SHA1 (patch-efltk_Fl__Text__Buffer.h) = 16eb6b48d0f06ac0f2074a0b61a782db7757663e
SHA1 (patch-efltk_Fl__Widget_h) = a35acb6f3af14bd2fabbe1c67b92e80fe561a366
SHA1 (patch-efltk_Fl__Window.h) = b97f04435b88e05ec4f642b0615575cf8d279dd7
SHA1 (patch-efltk_db_Fl__Params_h) = 9bb8574d1558f6ca753e0d9845b6fdaebeac38b4
-SHA1 (patch-src_core_filename_list.cpp) = ff3544cbedd531246ff8a6c9501e095fb3d02545
+SHA1 (patch-src_core_filename_list.cpp) = d58e92fefa478fee2990e06db6455fd54cc30c16
SHA1 (patch-src_core_fl__draw__pixmap_cpp) = cd31ac6d730b257bb3e76c9525ad92f9ea0fa3aa
SHA1 (patch-src_images_Fl__Png.cpp) = 0c2d3bf30a5542274048784aaf32256cc5466dea
SHA1 (patch-src_widgets_Fl__Calendar_cpp) = fb44e30fbed6a48ccd0d07348440df503a7e945e
diff --git a/x11/efltk/patches/patch-src_core_filename_list.cpp b/x11/efltk/patches/patch-src_core_filename_list.cpp
index b44a89633d0..8b0be650e4a 100644
--- a/x11/efltk/patches/patch-src_core_filename_list.cpp
+++ b/x11/efltk/patches/patch-src_core_filename_list.cpp
@@ -1,13 +1,13 @@
-$NetBSD: patch-src_core_filename_list.cpp,v 1.1 2012/01/28 11:35:26 marino Exp $
+$NetBSD: patch-src_core_filename_list.cpp,v 1.2 2012/01/28 11:59:06 marino Exp $
--- src/core/filename_list.cpp.orig 2003-01-26 01:16:49.000000000 +0000
+++ src/core/filename_list.cpp
-@@ -49,7 +49,7 @@ int fl_filename_list(const char *dir, di
- #if defined(__hpux)
+@@ -46,7 +46,7 @@ int fl_casealphasort(struct dirent **a,
+
+ int fl_filename_list(const char *dir, dirent ***list, Fl_File_Sort_F *sort)
+ {
+-#if defined(__hpux)
++#if defined(__hpux) || defined(__DragonFly__)
// HP-UX defines the comparison function like this:
return scandir(dir, list, 0, (int(*)(const dirent **, const dirent **))sort);
--#elif defined(__osf__)
-+#elif defined(__osf__) || defined(__DragonFly__)
- // OSF, DU 4.0x
- return scandir(dir, list, 0, (int(*)(dirent **, dirent **))sort);
- #elif defined(_AIX)
+ #elif defined(__osf__)