pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/efltk x11/efltk: Fix DragonFly breakage



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b5ff70e3332d
branches:  trunk
changeset: 598648:b5ff70e3332d
user:      marino <marino%pkgsrc.org@localhost>
date:      Sat Jan 28 11:35:26 2012 +0000

description:
x11/efltk: Fix DragonFly breakage

The scandir prototype was wrong for DragonFly.

diffstat:

 x11/efltk/distinfo                                 |   3 ++-
 x11/efltk/patches/patch-src_core_filename_list.cpp |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r a846d1b10f9b -r b5ff70e3332d x11/efltk/distinfo
--- a/x11/efltk/distinfo        Sat Jan 28 11:34:54 2012 +0000
+++ b/x11/efltk/distinfo        Sat Jan 28 11:35:26 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2011/10/11 00:29:41 dholland Exp $
+$NetBSD: distinfo,v 1.10 2012/01/28 11:35:26 marino Exp $
 
 SHA1 (efltk-2.0.5.tar.bz2) = 26f7124b384d0bfe3d28a73cbdf0111432b08d99
 RMD160 (efltk-2.0.5.tar.bz2) = 7efa711d0df8a01ee402e1866286265d294778e8
@@ -18,6 +18,7 @@
 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_fl__draw__pixmap_cpp) = cd31ac6d730b257bb3e76c9525ad92f9ea0fa3aa
 SHA1 (patch-src_images_Fl__Png.cpp) = 0c2d3bf30a5542274048784aaf32256cc5466dea
 SHA1 (patch-src_widgets_Fl__Calendar_cpp) = fb44e30fbed6a48ccd0d07348440df503a7e945e
diff -r a846d1b10f9b -r b5ff70e3332d x11/efltk/patches/patch-src_core_filename_list.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/efltk/patches/patch-src_core_filename_list.cpp        Sat Jan 28 11:35:26 2012 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_core_filename_list.cpp,v 1.1 2012/01/28 11:35:26 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)
+     // 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)



Home | Main Index | Thread Index | Old Index