opnsense-ports/devel/p5-Time-Object/files/patch-Object.xs
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
326 B
Text

--- ./Object.xs.orig 2001-10-22 17:48:04.000000000 +0800
+++ ./Object.xs 2007-09-10 11:07:31.866215125 +0800
@@ -42,6 +42,10 @@
# define init_tm(ptm)
#endif
+#ifdef mini_mktime
+#undef mini_mktime
+#endif
+
/*
* mini_mktime - normalise struct tm values without the localtime()
* semantics (and overhead) of mktime().