Skip to content
Snippets Groups Projects
Commit 0d20e689 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Hugo Beauzée-Luyssen
Browse files

Contribs: update NFS to 5.0.1


(cherry picked from commit 50baf567)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 329b852d
No related branches found
No related tags found
No related merge requests found
3d93d83d1909f24de304c0d47fa6240da7ecf43ce2488a242a58ddabe51d774caf813f5a90ae720a8edd251a765b30e88c0e5b6a13ecb254dfecdc98e30737fa libnfs-4.0.0.tar.gz
71f2dcfa8945c1cb6402f5fca10b1f7a4720f7589807d6130eb55361f05ef4684f9cc9a177ece4e13d3847ac6606924115fac7b27749cecc2f5aca6fa9c63ebf libnfs-5.0.1.tar.gz
--- nfs/include/win32/win32_compat.h.orig 2021-03-15 10:40:08.534061716 +0200
+++ nfs/include/win32/win32_compat.h 2021-03-15 10:40:54.088974157 +0200
@@ -133,7 +133,7 @@
/* Wrapper macros to call misc. functions win32 is missing */
#define poll(x, y, z) win32_poll(x, y, z)
-#define snprintf sprintf_s
+//#define snprintf sprintf_s
#define inet_pton(x,y,z) win32_inet_pton(x,y,z)
#define open(x, y, z) _open(x, y, z)
#ifndef lseek
# NFS
NFS_VERSION := 4.0.0
NFS_VERSION := 5.0.1
NFS_URL := https://github.com/sahlberg/libnfs/archive/libnfs-$(NFS_VERSION).tar.gz
PKGS += nfs
......@@ -15,7 +15,6 @@ $(TARBALLS)/libnfs-$(NFS_VERSION).tar.gz:
nfs: libnfs-$(NFS_VERSION).tar.gz .sum-nfs
$(UNPACK)
mv libnfs-libnfs-$(NFS_VERSION) libnfs-$(NFS_VERSION)
$(APPLY) $(SRC)/nfs/mingw-snprintf.patch
$(UPDATE_AUTOCONFIG)
$(MOVE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment