opnsense-ports/multimedia/libmpeg3/files/patch-mpeg3tocutil.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

14 lines
369 B
C

--- ./mpeg3tocutil.c.orig Fri Jun 9 09:58:27 2006
+++ ./mpeg3tocutil.c Sat Jul 22 18:02:04 2006
@@ -1415,8 +1415,8 @@
int64_t mpeg3_calculate_source_date(char *path)
{
- struct stat64 ostat;
- bzero(&ostat, sizeof(struct stat64));
- stat64(path, &ostat);
+ struct stat ostat;
+ bzero(&ostat, sizeof(struct stat));
+ stat(path, &ostat);
return ostat.st_mtime;
}