freebsd-ports/graphics/synfigstudio/files/patch-src_synfigapp_cvs.cpp
Martin Wilke 040d1b21b9 synfigstudio is the animation studio for synfig and provides the GUI
interface to create synfig animations which are saved in synfig .sif
format.

WWW: http://www.synfig.com/

PR:		ports/114045
Submitted by:	Yinghong.Liu <relaxbsd at gmail.com>
2007-08-28 09:54:20 +00:00

24 lines
563 B
C++

--- 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 @@
#define HAVE_STRPTIME
#endif
-#ifdef __APPLE__
+//#ifdef __APPLE__
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 ======================================================= */