aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-08-28 22:11:19 +0800
committerrene <rene@FreeBSD.org>2013-08-28 22:11:19 +0800
commit485e23f1ef8e1ab4cb924271e2840d9efae017ac (patch)
treeee0aa7400d24d0913a82ee093dfd8730879eba31 /www
parent036e16cf268c1292a0952045c3a56d53f72985c9 (diff)
downloadfreebsd-ports-gnome-485e23f1ef8e1ab4cb924271e2840d9efae017ac.tar.gz
freebsd-ports-gnome-485e23f1ef8e1ab4cb924271e2840d9efae017ac.tar.zst
freebsd-ports-gnome-485e23f1ef8e1ab4cb924271e2840d9efae017ac.zip
Fix build on 8.X
Diffstat (limited to 'www')
-rw-r--r--www/chromium/files/patch-base__file_util_posix.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base__file_util_posix.cc b/www/chromium/files/patch-base__file_util_posix.cc
new file mode 100644
index 000000000000..dad3ce03f0d9
--- /dev/null
+++ b/www/chromium/files/patch-base__file_util_posix.cc
@@ -0,0 +1,11 @@
+--- base/file_util_posix.cc.orig 2013-08-19 01:53:01.000000000 +0200
++++ base/file_util_posix.cc 2013-08-28 10:18:48.000000000 +0200
+@@ -592,7 +592,7 @@
+ return false;
+ results->is_directory = S_ISDIR(file_info.st_mode);
+ results->size = file_info.st_size;
+-#if defined(OS_MACOSX)
++#if defined(OS_MACOSX) || (defined(OS_FREEBSD) && __FreeBSD_version < 900000)
+ results->last_modified = base::Time::FromTimeSpec(file_info.st_mtimespec);
+ results->last_accessed = base::Time::FromTimeSpec(file_info.st_atimespec);
+ results->creation_time = base::Time::FromTimeSpec(file_info.st_ctimespec);