pkgsrc/time/titrax/patches/patch-titrat
he 792e208efd Add a patch to weekno.perl so that it uses ISO 8601 week numbering.
Remove dependence on timelocal.pl; use Time::Local instead.
Rename other patches according to new conventions.
Fix pkglint warnings.
Bump PKGREVISION.
2014-11-05 22:41:38 +00:00

18 lines
510 B
Text

$NetBSD: patch-titrat,v 1.1 2014/11/05 22:41:38 he Exp $
Don't use errno.ph, instead hardcode the EEXIST value.
--- titrat.orig Tue Oct 17 14:44:49 1995
+++ titrat Tue Dec 8 13:48:48 1998
@@ -7,9 +7,9 @@
require 'ctime.pl';
# If you cannot find errno.ph, just uncomment the following line, if
# EEXIST is 17 in your /usr/include/sys/errno.h file.
-# eval 'sub EEXIST {17;}';
+eval 'sub EEXIST {17;}';
-require 'errno.ph';
+# require 'errno.ph';
$SIG{'HUP'} = 'signal';
$SIG{'INT'} = 'signal';