openbsd-ports/misc/rpm/patches/patch-build_parseChangelog_c
espie ad1a64b3d9 port of rpm 3.0.4. Appears to work correctly so far.
Put into misc to mimic FreeBSD naming scheme.
Extra categories: archivers and emulators.
2000-06-12 18:49:41 +00:00

15 lines
411 B
Plaintext

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