1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/libtai/files/patch-ag
Maxim Sobolev 6726671207 Add libtai - a library for storing and manipulating dates and times in second/attosecond.
PR:		19348
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
2000-07-07 14:02:31 +00:00

12 lines
353 B
Plaintext

--- 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);