freebsd-ports/science/silo/files/patch-src_silo_silo__json.c
Pawel Pekala 7b5ba6bca0 - Update to 4.10.2 [1]
- Add patches to fix build on head [1]
- Change MASTER_SITES to new directory structure [1]
- Take maintainership [1]
- Register proxy dependencies found by stage-qa for QT4 option
- Use options helpers

PR:		212186 [1]
Submitted by:	Danilo G. Baio [1]
2016-08-27 15:55:30 +00:00

15 lines
374 B
C

--- src/silo/silo_json.c.orig 2014-10-14 00:22:33 UTC
+++ src/silo/silo_json.c
@@ -441,12 +441,8 @@ json_object_from_binary_file(char const
#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;
memset(&s, 0, sizeof(s));