From 52828bf84a1c9017f6cb74feff198972217a4bb7 Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Fri, 6 Sep 2002 08:02:43 +0000 Subject: [PATCH] Patch for gcc 3.x.y. --- devel/fam/files/patch-fam-Scheduler.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devel/fam/files/patch-fam-Scheduler.h diff --git a/devel/fam/files/patch-fam-Scheduler.h b/devel/fam/files/patch-fam-Scheduler.h new file mode 100644 index 000000000000..97fcc700de4e --- /dev/null +++ b/devel/fam/files/patch-fam-Scheduler.h @@ -0,0 +1,14 @@ +--- fam/Scheduler.h~ Tue Jul 16 02:14:41 2002 ++++ fam/Scheduler.h Fri Sep 6 03:46:29 2002 +@@ -105,7 +105,11 @@ + // for the corresponding I/O type. + + struct IOTypeInfo { ++#if defined(__FreeBSD__) && defined(__GNUC__) && (__GNUC__ > 2) ++ FDInfo::FDIOHandler FDInfo::*iotype; ++#else + FDInfo::FDIOHandler FDInfo::*const iotype; ++#endif + unsigned int nbitsset; // number of bits set in fds + fd_set fds; + IOTypeInfo(FDInfo::FDIOHandler FDInfo::* a_iotype) :