summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-02 22:18:22 +0000
committerjoerg <joerg>2006-01-02 22:18:22 +0000
commit33608d8abe1e8288a35e9cba316bce8a458731e6 (patch)
tree43fede5cd66c3c4bc318494801073902f3b5e37d /time
parent4588253708c985d45edaba55274952887db3b069 (diff)
downloadpkgsrc-33608d8abe1e8288a35e9cba316bce8a458731e6.tar.gz
Fix errno, use getprogname on DragonFly.
Diffstat (limited to 'time')
-rw-r--r--time/gchore/distinfo3
-rw-r--r--time/gchore/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
diff --git a/time/gchore/distinfo b/time/gchore/distinfo
index cfd8998e2ef..a12896c7a24 100644
--- a/time/gchore/distinfo
+++ b/time/gchore/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/12/29 21:11:34 garbled Exp $
+$NetBSD: distinfo,v 1.2 2006/01/02 22:18:22 joerg Exp $
SHA1 (gchore-1.0.tar.gz) = 93ad338a7ac4480af435fd5469095a8a5f16c4fb
RMD160 (gchore-1.0.tar.gz) = 29abc758894b63dfd528f01bdc2bcf1b17925c4b
Size (gchore-1.0.tar.gz) = 112959 bytes
+SHA1 (patch-aa) = 808412199d8fab55d8a5899ad6de2eccc022169a
diff --git a/time/gchore/patches/patch-aa b/time/gchore/patches/patch-aa
new file mode 100644
index 00000000000..2a4b6518353
--- /dev/null
+++ b/time/gchore/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2006/01/02 22:18:22 joerg Exp $
+
+--- src/utils.c.orig 2006-01-02 22:14:51.000000000 +0000
++++ src/utils.c
+@@ -93,9 +93,8 @@ caltime_t *calc_caltime(int day, int mon
+ void _bailout(char *file, int line)
+ {
+ char *pname;
+- extern int errno;
+
+-#if defined(__NetBSD__)
++#if defined(__NetBSD__) || defined(__DragonFly__)
+ pname = (char *)getprogname();
+ #elif defined(__linux__)
+ pname = program_invocation_name;