pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/fltk2 PR#44932 (x11/fltk2): Fix broken DragonFly b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2b6d3e93c433
branches: trunk
changeset: 594522:2b6d3e93c433
user: marino <marino%pkgsrc.org@localhost>
date: Sun Oct 30 11:13:12 2011 +0000
description:
PR#44932 (x11/fltk2): Fix broken DragonFly build
diffstat:
x11/fltk2/distinfo | 3 ++-
x11/fltk2/patches/patch-ah | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (40 lines):
diff -r 3625c7a7501d -r 2b6d3e93c433 x11/fltk2/distinfo
--- a/x11/fltk2/distinfo Sun Oct 30 10:08:22 2011 +0000
+++ b/x11/fltk2/distinfo Sun Oct 30 11:13:12 2011 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2011/01/29 14:58:50 wiz Exp $
+$NetBSD: distinfo,v 1.5 2011/10/30 11:13:12 marino Exp $
SHA1 (fltk-2.0.x-r6129.tar.bz2) = fafb9e5309127e5dd3e127ecf83f410312a427b5
RMD160 (fltk-2.0.x-r6129.tar.bz2) = a43d9603fdbf12fd0deefbad7e5ef5dd8f0a1c6f
@@ -10,3 +10,4 @@
SHA1 (patch-ae) = 8711184bfcbc2882d115e06cb9716c37349b04c3
SHA1 (patch-af) = ff5648e8c6b935bccb77a8afe09d247f3313c76a
SHA1 (patch-ag) = 3e24e2d748bd7cfbe786359032b6357a6fd7da4c
+SHA1 (patch-ah) = 6e098dbcecb3bd307312d94842f5f80fabf2c75f
diff -r 3625c7a7501d -r 2b6d3e93c433 x11/fltk2/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/fltk2/patches/patch-ah Sun Oct 30 11:13:12 2011 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ah,v 1.1 2011/10/30 11:13:12 marino Exp $
+
+--- src/filename_list.cxx.orig 2007-06-01 13:13:08.000000000 +0000
++++ src/filename_list.cxx
+@@ -31,6 +31,7 @@
+ #include <ctype.h>
+ #include <string.h>
+ #include <stdio.h>
++#include <sys/param.h>
+ #include <fltk/string.h>
+ #include <fltk/utf.h>
+ #include <fltk/filename.h>
+@@ -64,7 +65,8 @@ int fltk::filename_list(const char *d, d
+ int n = scandir(d, list, 0, sort);
+ #elif defined(__linux) || defined (__FreeBSD__) || defined (__NetBSD__)
+ int n = scandir(d, list, 0, (int(*)(const void*,const void*))sort);
+-#elif defined(__hpux) || defined(__CYGWIN__)
++#elif defined(__hpux) || defined(__CYGWIN__) \
++ || (defined(__DragonFly__) && (__DragonFly_version >= 200901))
+ // HP-UX, Cygwin define the comparison function like this:
+ int n = scandir(d, list, 0, (int(*)(const dirent **, const dirent **))sort);
+ #elif defined(__osf__) || defined(__sgi)
Home |
Main Index |
Thread Index |
Old Index