summaryrefslogtreecommitdiff
path: root/devel/libtai/files/patch-ag
blob: 4705cda0fe542cf61b74322fd76da72f084e883b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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);