git: 4a0dd075ea3e - main - security/wpa_supplicant-devel: sync up with base
Cy Schubert
cy at FreeBSD.org
Wed Jul 21 21:17:44 UTC 2021
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4a0dd075ea3e1d8f364dd04026a9405c6366f33c
commit 4a0dd075ea3e1d8f364dd04026a9405c6366f33c
Author: Cy Schubert <cy at FreeBSD.org>
AuthorDate: 2021-07-21 20:38:54 +0000
Commit: Cy Schubert <cy at FreeBSD.org>
CommitDate: 2021-07-21 21:17:29 +0000
security/wpa_supplicant-devel: sync up with base
Add a patch already in base.
---
security/wpa_supplicant-devel/Makefile | 1 +
.../wpa_supplicant-devel/files/patch-src_utils_os.h | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
diff --git a/security/wpa_supplicant-devel/Makefile b/security/wpa_supplicant-devel/Makefile
index 59a85edc4cb6..702b1a469048 100644
--- a/security/wpa_supplicant-devel/Makefile
+++ b/security/wpa_supplicant-devel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= wpa_supplicant
PORTVERSION= ${COMMIT_DATE}
+PORTREVISION= 1
CATEGORIES= security net
PKGNAMESUFFIX= -devel
diff --git a/security/wpa_supplicant-devel/files/patch-src_utils_os.h b/security/wpa_supplicant-devel/files/patch-src_utils_os.h
new file mode 100644
index 000000000000..e92661256d5f
--- /dev/null
+++ b/security/wpa_supplicant-devel/files/patch-src_utils_os.h
@@ -0,0 +1,17 @@
+--- src/utils/os.h.orig 2016-09-17 20:36:13 UTC
++++ src/utils/os.h
+@@ -246,12 +246,14 @@ char * os_readfile(const char *name, siz
+ */
+ int os_file_exists(const char *fname);
+
++#if !defined __FreeBSD__ && !defined __DragonFly__
+ /**
+ * os_fdatasync - Sync a file's (for a given stream) state with storage device
+ * @stream: the stream to be flushed
+ * Returns: 0 if the operation succeeded or -1 on failure
+ */
+ int os_fdatasync(FILE *stream);
++#endif
+
+ /**
+ * os_zalloc - Allocate and zero memory
More information about the dev-commits-ports-all
mailing list