7a09055b55
Complete changelog can be found here: http://sourceforge.net/project/shownotes.php?group_id=21302&release_id=695491
13 lines
639 B
Plaintext
13 lines
639 B
Plaintext
$OpenBSD: patch-src_celengine_astro_cpp,v 1.3 2009/07/20 10:35:20 ajacoutot Exp $
|
|
--- src/celengine/astro.cpp.orig Mon Jul 20 11:59:23 2009
|
|
+++ src/celengine/astro.cpp Mon Jul 20 11:59:41 2009
|
|
@@ -522,7 +522,7 @@ const char* astro::Date::toCStr(Format format) const
|
|
cal_time.tm_sec = (int)seconds;
|
|
cal_time.tm_wday = wday;
|
|
cal_time.tm_gmtoff = utc_offset;
|
|
-#if defined(TARGET_OS_MAC) || defined(__FreeBSD__)
|
|
+#if defined(TARGET_OS_MAC) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
|
// tm_zone is a non-const string field on the Mac and FreeBSD (why?)
|
|
cal_time.tm_zone = const_cast<char*>(tzname.c_str());
|
|
#else
|