diff options
| author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2025-10-11 00:21:46 +0000 |
|---|---|---|
| committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2025-10-11 00:22:16 +0000 |
| commit | a0466511a239d67338a0857a766776bdee631dd6 (patch) | |
| tree | dfdb7de9cec35f42c075b6545db3e6c60642bc69 | |
| parent | 198d17ed2eec774a20bcb778b65c8f9ec8de40f0 (diff) | |
net/wireshark: Add missing build patch
It helps when you do a `git add`.
| -rw-r--r-- | net/wireshark/files/patch-writecap_pcapio.c | 11 |
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; |
