- Do not manually strip installed binary, use install/strip target - Remove no longer required build dependency on `devel/binutils' - Use more accurate __FreeBSD_version in one of the patches Prodded by: Christopher Haglund Approved by: maintainer (per earlier email)
13 lines
472 B
Text
13 lines
472 B
Text
diff --git libgrive/src/util/OS.cc libgrive/src/util/OS.cc
|
|
index 0d51136..469e373 100644
|
|
--- libgrive/src/util/OS.cc
|
|
+++ libgrive/src/util/OS.cc
|
|
@@ -57,7 +57,7 @@ DateTime FileCTime( const std::string& filename )
|
|
) ;
|
|
}
|
|
|
|
-#if defined __APPLE__ && defined __DARWIN_64_BIT_INO_T
|
|
+#if defined(__FreeBSD__) && __FreeBSD_version < 900010
|
|
return DateTime( s.st_ctimespec.tv_sec, s.st_ctimespec.tv_nsec ) ;
|
|
#else
|
|
return DateTime( s.st_ctim.tv_sec, s.st_ctim.tv_nsec);
|