aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-07-21 20:38:54 +0000
committerCy Schubert <cy@FreeBSD.org>2021-07-21 21:17:29 +0000
commit4a0dd075ea3e1d8f364dd04026a9405c6366f33c (patch)
tree2b51a5d623d0ac62a2ee42b67c91b23a78eeae76
parent8cc70f94b9d920ad31700852bde258ac6f9bb79f (diff)
downloadports-4a0dd075ea3e1d8f364dd04026a9405c6366f33c.tar.gz
ports-4a0dd075ea3e1d8f364dd04026a9405c6366f33c.zip
security/wpa_supplicant-devel: sync up with base
Add a patch already in base.
-rw-r--r--security/wpa_supplicant-devel/Makefile1
-rw-r--r--security/wpa_supplicant-devel/files/patch-src_utils_os.h17
2 files changed, 18 insertions, 0 deletions
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