diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-04 00:29:20 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-04 01:05:05 -0700 |
commit | 228664f500b999a301ef1b271ea9f35f91288fbe (patch) | |
tree | 4ba37903ecf0fe07ddff244c9e316fe0b1b1f070 /graphics/f3d/files/patch-external_dmon_dmon.h | |
parent | science/psi4: update 1.9 → 1.9.1 (diff) |
graphics/{,py-}f3d: update 2.3.1 → 2.4.0
Reported by: portscout
Diffstat (limited to 'graphics/f3d/files/patch-external_dmon_dmon.h')
-rw-r--r-- | graphics/f3d/files/patch-external_dmon_dmon.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/f3d/files/patch-external_dmon_dmon.h b/graphics/f3d/files/patch-external_dmon_dmon.h new file mode 100644 index 000000000000..d6239980cb57 --- /dev/null +++ b/graphics/f3d/files/patch-external_dmon_dmon.h @@ -0,0 +1,20 @@ +--- external/dmon/dmon.h.orig 2024-04-03 12:42:33 UTC ++++ external/dmon/dmon.h +@@ -137,7 +137,7 @@ DMON_API_DECL void dmon_unwatch(dmon_watch_id id); + #if defined(_WIN32) || defined(_WIN64) + # undef DMON_OS_WINDOWS + # define DMON_OS_WINDOWS 1 +-#elif defined(__linux__) ++#elif defined(__linux__) || defined(__FreeBSD__) + # undef DMON_OS_LINUX + # define DMON_OS_LINUX 1 + #elif defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) +@@ -167,7 +167,7 @@ DMON_API_DECL void dmon_unwatch(dmon_watch_id id); + # include <dirent.h> + # include <errno.h> + # include <fcntl.h> +-# include <linux/limits.h> ++//# include <linux/limits.h> + # include <pthread.h> + # include <sys/inotify.h> + # include <sys/stat.h> |