FreeBSD Bugzilla – Attachment 238677 Details for
Bug 268279
sysutils/lsof: Fails to build with "field has incomplete type 'struct callout'" on src/main
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
sysutils_lsof.patch (text/plain), 1.31 KB, created by
Yasuhiro Kimura
on 2022-12-10 00:50:51 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2022-12-10 00:50:51 UTC
Size:
1.31 KB
patch
obsolete
>From 4bbc83865f259013eb2872d14a578ad75d7a57d0 Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@utahime.org> >Date: Sat, 10 Dec 2022 09:14:16 +0900 >Subject: [PATCH] sysutils/lsof: Fix build with latest -CURRENT > >PR: 268279 >Reported by: Tomoaki AOKI >Fix proposed by: cy >--- > sysutils/lsof/Makefile | 1 + > sysutils/lsof/files/patch-dialects_freebsd_dlsof.h | 10 ++++++++++ > 2 files changed, 11 insertions(+) > create mode 100644 sysutils/lsof/files/patch-dialects_freebsd_dlsof.h > >diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile >index 0d591c4b5279..962038e5dc2a 100644 >--- a/sysutils/lsof/Makefile >+++ b/sysutils/lsof/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= lsof > DISTVERSION= 4.96.4 >+PORTREVISION= 1 > PORTEPOCH= 8 > CATEGORIES= sysutils > >diff --git a/sysutils/lsof/files/patch-dialects_freebsd_dlsof.h b/sysutils/lsof/files/patch-dialects_freebsd_dlsof.h >new file mode 100644 >index 000000000000..40963345f871 >--- /dev/null >+++ b/sysutils/lsof/files/patch-dialects_freebsd_dlsof.h >@@ -0,0 +1,10 @@ >+--- dialects/freebsd/dlsof.h.orig 2022-12-10 00:10:23 UTC >++++ dialects/freebsd/dlsof.h >+@@ -144,6 +144,7 @@ int getmntinfo(struct statfs **, int); >+ >+ #undef INADDR_LOOPBACK >+ >++#include <sys/callout.h> >+ #include <netinet/in.h> >+ #include <netinet/in_systm.h> >+ #include <netinet/ip.h> >-- >2.38.1 >
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
Actions:
View
|
Diff
Attachments on
bug 268279
:
238671
|
238677
|
238680