summaryrefslogtreecommitdiffstats
path: root/devel/fam
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-09-06 08:02:43 +0000
committeralane <alane@FreeBSD.org>2002-09-06 08:02:43 +0000
commited7ab8e98b453aa1666e2993c9e856cf8bdb605b (patch)
tree61c6a021cbcc5291a53f1a3dc70f57f6b635d3cd /devel/fam
parent0c20cbbaa562f9f813e0795785baa6a3e5164e20 (diff)
downloadFreeBSD-ports-ed7ab8e98b453aa1666e2993c9e856cf8bdb605b.zip
FreeBSD-ports-ed7ab8e98b453aa1666e2993c9e856cf8bdb605b.tar.gz
Patch for gcc 3.x.y.
Diffstat (limited to 'devel/fam')
-rw-r--r--devel/fam/files/patch-fam-Scheduler.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/fam/files/patch-fam-Scheduler.h b/devel/fam/files/patch-fam-Scheduler.h
new file mode 100644
index 0000000..97fcc70
--- /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) :
OpenPOWER on IntegriCloud