ports/sysutils/createrepo_c/files/patch-src_compression__wrapper.c
Pietro Cerutti 2ba4ed9162 sysutils/createrepo_c: new port
createrepo_c is a C implementation of the createrepo tool, which generates
metadata for RPM package repositories. It is optimized for performance and
provides new features compared to the original createrepo written in Python.
2024-10-01 12:23:54 +00:00

10 lines
296 B
C

--- src/compression_wrapper.c.orig 2024-08-14 21:41:31 UTC
+++ src/compression_wrapper.c
@@ -35,6 +35,7 @@
#include "error.h"
#include "compression_wrapper.h"
#include <zstd.h>
+#include <unistd.h> // FreeBSD: Add STDOUT_FILENO
#define ERR_DOMAIN CREATEREPO_C_ERROR