FreeBSD Bugzilla – Attachment 227772 Details for
Bug 258376
net/libnfs: including libnfs.h can cause compile error (missing struct timeval)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] include sys/time.h instead of time.h in libnfs.h
pr-libnfs-fix-struct-timeval.diff (text/plain), 814 bytes, created by
John Hein
on 2021-09-08 21:17:06 UTC
(
hide
)
Description:
[patch] include sys/time.h instead of time.h in libnfs.h
Filename:
MIME Type:
Creator:
John Hein
Created:
2021-09-08 21:17:06 UTC
Size:
814 bytes
patch
obsolete
>diff --git a/net/libnfs/Makefile b/net/libnfs/Makefile >index 163f8818b57d..929dd20a7294 100644 >--- a/net/libnfs/Makefile >+++ b/net/libnfs/Makefile >@@ -2,7 +2,7 @@ > > PORTNAME= libnfs > PORTVERSION= 4.0.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > DISTVERSIONPREFIX= ${PORTNAME}- > CATEGORIES= net > >diff --git a/net/libnfs/files/patch-include_nfsc_libnfs.h b/net/libnfs/files/patch-include_nfsc_libnfs.h >new file mode 100644 >index 000000000000..c6ed8dffcb4f >--- /dev/null >+++ b/net/libnfs/files/patch-include_nfsc_libnfs.h >@@ -0,0 +1,10 @@ >+--- include/nfsc/libnfs.h.orig 2019-02-12 21:38:04 UTC >++++ include/nfsc/libnfs.h >+@@ -25,6 +25,7 @@ >+ >+ #include <stdint.h> >+ #if defined(__ANDROID__) || defined(AROS) \ >++ || defined(__FreeBSD__) \ >+ || ( defined(__APPLE__) && defined(__MACH__) ) >+ #include <sys/time.h> >+ #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jcfyecrayz
:
maintainer-approval?
(
snoe925
)
Actions:
View
|
Diff
Attachments on
bug 258376
: 227772 |
233249