Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
603bbe0a
Commit
603bbe0a
authored
Mar 14, 2022
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/build/libs.py: update libnfs to 5.0.1
parent
c361e235
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
19 deletions
+3
-19
libs.py
python/build/libs.py
+3
-4
no_sprintf_s
src/lib/nfs/patches/no_sprintf_s
+0
-14
series
src/lib/nfs/patches/series
+0
-1
No files found.
python/build/libs.py
View file @
603bbe0a
...
...
@@ -421,8 +421,8 @@ curl = CmakeProject(
)
libnfs
=
AutotoolsProject
(
'https://github.com/sahlberg/libnfs/archive/libnfs-
4.0.0
.tar.gz'
,
'
6ee77e9fe220e2d3e3b1f53cfea04fb319828cc7dbb97dd9df09e46e901d797d
'
,
'https://github.com/sahlberg/libnfs/archive/libnfs-
5.0.1
.tar.gz'
,
'
7ef445410b42f36b9bad426608b53ccb9ccca4101e545c383f564c11db672ca8
'
,
'lib/libnfs.a'
,
[
'--disable-shared'
,
'--enable-static'
,
...
...
@@ -433,8 +433,7 @@ libnfs = AutotoolsProject(
'--disable-utils'
,
'--disable-examples'
,
],
base
=
'libnfs-libnfs-4.0.0'
,
patches
=
'src/lib/nfs/patches'
,
base
=
'libnfs-libnfs-5.0.1'
,
autoreconf
=
True
,
)
...
...
src/lib/nfs/patches/no_sprintf_s
deleted
100644 → 0
View file @
c361e235
Index: libnfs-libnfs-4.0.0/include/win32/win32_compat.h
===================================================================
--- libnfs-libnfs-4.0.0.orig/include/win32/win32_compat.h
+++ libnfs-libnfs-4.0.0/include/win32/win32_compat.h
@@ -133,7 +133,9 @@ struct pollfd {
/* Wrapper macros to call misc. functions win32 is missing */
#define poll(x, y, z) win32_poll(x, y, z)
+#ifndef __MINGW32__
#define snprintf sprintf_s
+#endif
#define inet_pton(x,y,z) win32_inet_pton(x,y,z)
#define open(x, y, z) _open(x, y, z)
#ifndef lseek
src/lib/nfs/patches/series
deleted
100644 → 0
View file @
c361e235
no_sprintf_s
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment