aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/pinot
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2008-02-04 04:54:04 +0800
committerthierry <thierry@FreeBSD.org>2008-02-04 04:54:04 +0800
commit25f7c94b7ff1066f1ba7cb9203cd3dbbd1db321b (patch)
tree9b0c1333d65405e74db86ef5417895b375cf4e20 /deskutils/pinot
parent86b66ffc14d4df39cf866eea5bf9c6480daa32a7 (diff)
downloadfreebsd-ports-gnome-25f7c94b7ff1066f1ba7cb9203cd3dbbd1db321b.tar.gz
freebsd-ports-gnome-25f7c94b7ff1066f1ba7cb9203cd3dbbd1db321b.tar.zst
freebsd-ports-gnome-25f7c94b7ff1066f1ba7cb9203cd3dbbd1db321b.zip
Fix build on FreeBSD-6.
Reported by: pav via pointyhat
Diffstat (limited to 'deskutils/pinot')
-rw-r--r--deskutils/pinot/files/patch-UI_GTK2_src_DaemonState.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/pinot/files/patch-UI_GTK2_src_DaemonState.cpp b/deskutils/pinot/files/patch-UI_GTK2_src_DaemonState.cpp
new file mode 100644
index 000000000000..95de9a117a7e
--- /dev/null
+++ b/deskutils/pinot/files/patch-UI_GTK2_src_DaemonState.cpp
@@ -0,0 +1,12 @@
+--- ./UI/GTK2/src/DaemonState.cpp.orig 2007-12-13 05:16:01.000000000 +0100
++++ ./UI/GTK2/src/DaemonState.cpp 2008-02-03 11:13:45.000000000 +0100
+@@ -33,6 +33,9 @@
+ #define CHECK_DISK_SPACE 1
+ #else
+ #ifdef HAVE_SYS_MOUNT_H
++ #if defined(__FreeBSD__) && (_FreeBSD_version < 700000)
++ #include <sys/param.h>
++ #endif
+ #include <sys/mount.h>
+ #define CHECK_DISK_SPACE 1
+ #endif