21c19df3ed
same name. Appeases gcc4
15 lines
421 B
Plaintext
15 lines
421 B
Plaintext
$OpenBSD: patch-build_parseChangelog_c,v 1.2 2010/05/19 13:45:15 espie Exp $
|
|
--- build/parseChangelog.c.orig Wed Jun 14 14:34:28 2000
|
|
+++ build/parseChangelog.c Wed May 19 05:28:31 2010
|
|
@@ -84,8 +84,10 @@ static int dateToTimet(const char * datestr, /*@out@*/
|
|
*secs = mktime(&time);
|
|
if (*secs == -1) return -1;
|
|
|
|
+#ifndef __OpenBSD__
|
|
/* adjust to GMT */
|
|
*secs += timezone;
|
|
+#endif
|
|
|
|
return 0;
|
|
}
|