1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/science/silo/files/patch-src_silo_silo__json.c
Yuri Victorovich 48e1947fc6 science/silo: Update 4.10.2 -> 4.11-68
Taking maintainership on request of the maintainer.

PR:		268134
Approved by:	dbaio@ (maintainer)
2022-12-03 18:05:40 -08:00

15 lines
353 B
C

--- src/silo/silo_json.c.orig 2022-12-03 02:30:10 UTC
+++ src/silo/silo_json.c
@@ -441,11 +441,7 @@ json_object_from_binary_file(char const *filename)
#ifndef SIZEOF_OFF64_T
#error missing definition for SIZEOF_OFF64_T in silo_private.h
#else
-#if SIZEOF_OFF64_T > 4
- struct stat64 s;
-#else
struct stat s;
-#endif
#endif
errno = 0;