diff options
author | marino <marino@pkgsrc.org> | 2012-01-28 11:35:26 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-01-28 11:35:26 +0000 |
commit | 6d24490951420419d2945a262893e6a2b5602741 (patch) | |
tree | c8ddab98a27d138d66cf45c80994a916eac283f5 /x11/efltk | |
parent | b18d5c0f859b21bb34d1b57cd5a40e67f30e324f (diff) | |
download | pkgsrc-6d24490951420419d2945a262893e6a2b5602741.tar.gz |
x11/efltk: Fix DragonFly breakage
The scandir prototype was wrong for DragonFly.
Diffstat (limited to 'x11/efltk')
-rw-r--r-- | x11/efltk/distinfo | 3 | ||||
-rw-r--r-- | x11/efltk/patches/patch-src_core_filename_list.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/efltk/distinfo b/x11/efltk/distinfo index 450b17dbba7..8b56e8dbe67 100644 --- a/x11/efltk/distinfo +++ b/x11/efltk/distinfo @@ -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__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_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 new file mode 100644 index 00000000000..b44a89633d0 --- /dev/null +++ b/x11/efltk/patches/patch-src_core_filename_list.cpp @@ -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) |