aboutsummaryrefslogtreecommitdiff
path: root/devel/fam
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-09-06 08:02:43 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-09-06 08:02:43 +0000
commit52828bf84a1c9017f6cb74feff198972217a4bb7 (patch)
tree1a253e710e91cba84cd21d7c50ebb96efc10bad4 /devel/fam
parentbe1540f3dc97a02742ab2afc99517c98af1851fb (diff)
downloadports-52828bf84a1c9017f6cb74feff198972217a4bb7.tar.gz
ports-52828bf84a1c9017f6cb74feff198972217a4bb7.zip
Notes
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 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) :