summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2025-10-10 20:21:46 -0400
committerJoe Marcus Clarke <marcus@FreeBSD.org>2025-10-10 20:22:16 -0400
commita0466511a239d67338a0857a766776bdee631dd6 (patch)
treedfdb7de9cec35f42c075b6545db3e6c60642bc69 /net
parentsecurity/afl++: Update 4.33c => 4.34c (diff)
net/wireshark: Add missing build patch
It helps when you do a `git add`.
Diffstat (limited to 'net')
-rw-r--r--net/wireshark/files/patch-writecap_pcapio.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wireshark/files/patch-writecap_pcapio.c b/net/wireshark/files/patch-writecap_pcapio.c
new file mode 100644
index 000000000000..f4d9f28a5f78
--- /dev/null
+++ b/net/wireshark/files/patch-writecap_pcapio.c
@@ -0,0 +1,11 @@
+--- writecap/pcapio.c.orig 2025-10-10 21:38:23 UTC
++++ writecap/pcapio.c
+@@ -438,7 +438,7 @@ write_to_file(pcapio_writer* pfile, const uint8_t* dat
+ default:
+ nwritten = fwrite(data, data_length, 1, pfile->fh);
+ if (nwritten != 1) {
+- if (ferror(pfile->fh)) {
++ if (ferror((FILE*) pfile->fh)) {
+ *err = errno;
+ } else {
+ *err = WTAP_ERR_SHORT_WRITE;