aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp')
-rw-r--r--graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp23
1 files changed, 5 insertions, 18 deletions
diff --git a/graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp b/graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp
index 28b4dae65ca..c7fda731995 100644
--- a/graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp
+++ b/graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp
@@ -1,24 +1,11 @@
---- src/synfigapp/cvs.cpp.orig Sun Jun 24 17:35:08 2007
-+++ src/synfigapp/cvs.cpp Sun Jun 24 17:38:54 2007
-@@ -39,6 +39,8 @@
-
- #include <sys/types.h>
- #include <sys/stat.h>
-+#include <pthread.h>
-+#include <fcntl.h>
- //#include <unistd.h>
-
- #include <cassert>
-@@ -60,10 +62,10 @@
+--- src/synfigapp/cvs.cpp.orig 2007-11-13 18:13:07.000000000 +0900
++++ src/synfigapp/cvs.cpp 2008-03-14 19:39:08.000000000 +0900
+@@ -62,7 +62,7 @@
#define HAVE_STRPTIME
#endif
-#ifdef __APPLE__
-+//#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
time_t _daylight_() { time_t t(time(0)); return localtime(&t)->tm_gmtoff; }
#define daylight _daylight_()
--#endif
-+//#endif
-
- /* === G L O B A L S ======================================================= */
-
+ #endif