summaryrefslogtreecommitdiff
path: root/devel/libtai/files/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtai/files/patch-ag')
-rw-r--r--devel/libtai/files/patch-ag11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libtai/files/patch-ag b/devel/libtai/files/patch-ag
new file mode 100644
index 000000000000..4705cda0fe54
--- /dev/null
+++ b/devel/libtai/files/patch-ag
@@ -0,0 +1,11 @@
+--- leapsecs_read.c.orig Fri Jun 16 22:44:31 2000
++++ leapsecs_read.c Fri Jun 16 22:45:17 2000
+@@ -18,7 +18,7 @@
+ int i;
+ struct tai u;
+
+- fd = open("/etc/leapsecs.dat",O_RDONLY | O_NDELAY);
++ fd = open("%%PREFIX%%/etc/leapsecs.dat",O_RDONLY | O_NDELAY);
+ if (fd == -1) {
+ if (errno != ENOENT) return -1;
+ if (leapsecs) free(leapsecs);