mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
Add two new development ports tracking the latest w1.fi development. WPA developement is hosted at git://w1.fi/hostap.git however ports plumbing provides API access to github. Therefore I cloned/forked hostap, renaming "origin" to "upstream," with a brand-new "origin" located on github. In theory this will allow me to git pull from git://w1.fi/hostap.git and push to my github repo. This will coincide with base tracking more recent developent at w1.fi, supporting WPA3. Discussed with: phillip@
17 lines
505 B
C
17 lines
505 B
C
--- 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
|