mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Fix build on -CURRENT
This commit is contained in:
parent
56b1707931
commit
aff323cd1e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200042
2 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= Time-Object
|
||||
PORTVERSION= 1.00
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Time
|
||||
|
|
13
devel/p5-Time-Object/files/patch-Object.xs
Normal file
13
devel/p5-Time-Object/files/patch-Object.xs
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- ./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().
|
Loading…
Add table
Reference in a new issue