openbsd-ports/misc/rpm/patches/patch-build_parseChangelog_c

15 lines
411 B
Plaintext
Raw Normal View History

$OpenBSD: patch-build_parseChangelog_c,v 1.1.1.1 2000/06/12 18:49:41 espie Exp $
--- build/parseChangelog.c.orig Mon Jun 12 02:00:54 2000
+++ build/parseChangelog.c Mon Jun 12 02:01:11 2000
@@ -84,8 +84,10 @@ static int dateToTimet(const char * date
*secs = mktime(&time);
if (*secs == -1) return -1;
+#ifndef __OpenBSD__
/* adjust to GMT */
*secs += timezone;
+#endif
return 0;
}