summaryrefslogtreecommitdiff
path: root/multimedia/vmaf/files/patch-stat64
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-02-29 15:53:56 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-02-29 15:53:56 +0000
commit386621d73ef9088f46bf9176c9956723599d97a1 (patch)
tree7e45d3d9579ba23224c5dc054f9f666257a2b79f /multimedia/vmaf/files/patch-stat64
parentemulators/citra: update to s20200229 (diff)
multimedia/vmaf: update to 1.5.1
Changes: https://github.com/Netflix/vmaf/releases/tag/v1.5.1 Reported by: GitHub (watch releases)
Diffstat (limited to 'multimedia/vmaf/files/patch-stat64')
-rw-r--r--multimedia/vmaf/files/patch-stat6426
1 files changed, 0 insertions, 26 deletions
diff --git a/multimedia/vmaf/files/patch-stat64 b/multimedia/vmaf/files/patch-stat64
deleted file mode 100644
index 2ffff50f6422..000000000000
--- a/multimedia/vmaf/files/patch-stat64
+++ /dev/null
@@ -1,26 +0,0 @@
-https://github.com/Netflix/vmaf/pull/373
-
---- wrapper/Makefile.orig 2019-09-08 18:35:54 UTC
-+++ wrapper/Makefile
-@@ -56,7 +56,7 @@ CFLAGS_COMMON = -g -O3 -fPIC -w -Wextra -pedantic -D M
-
- CFLAGS := -std=c99 $(CFLAGS_COMMON) $(CFLAGS)
- CXXFLAGS := -std=c++11 $(CFLAGS_COMMON) $(CXXFLAGS)
--CPPFLAGS := $(CPPFLAGS)
-+CPPFLAGS := -D_FILE_OFFSET_BITS=64 $(CPPFLAGS)
- LDFLAGS := $(LDFLAGS)
-
- $(AVX_OBJS): EXTRA_CFLAGS := -mavx
---- wrapper/src/main.cpp.orig 2019-09-08 18:35:54 UTC
-+++ wrapper/src/main.cpp
-@@ -167,8 +167,8 @@ int run_wrapper(char *fmt, int width, int height, char
- struct _stat64 ref_stat;
- if (!_stat64(ref_path, &ref_stat))
- #else
-- struct stat64 ref_stat;
-- if (!stat64(ref_path, &ref_stat))
-+ struct stat ref_stat;
-+ if (!stat(ref_path, &ref_stat))
- #endif
- {
- size_t frame_size = width * height + s->offset;