openbsd-ports/misc/rpm/patches/patch-build_parseChangelog_c
2010-05-19 13:45:15 +00:00

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;
}