void-packages/srcpkgs/varnish/patches/musl.patch
Jürgen Buchmüller 6348755de1 varnish: update to 5.2.1
The 3.0.7 version had seen EOL in 2015. Unfortunately the musl build is
broken: varnishd segfaults when run during the build.
2018-01-11 12:04:00 +01:00

22 lines
528 B
Diff

--- include/vpf.h 2016-03-03 14:40:01.000000000 +0100
+++ include/vpf.h 2018-01-11 11:45:26.521900821 +0100
@@ -30,6 +30,8 @@
#ifndef VPF_H_INCLUDED
#define VPF_H_INCLUDED
+#include <sys/types.h>
+
struct vpf_fh;
struct vpf_fh *VPF_Open(const char *path, mode_t mode, pid_t *pidptr);
--- include/vsb.h 2017-11-14 14:39:22.000000000 +0100
+++ include/vsb.h 2018-01-11 11:48:15.505912873 +0100
@@ -31,6 +31,8 @@
#ifndef VSB_H_INCLUDED
#define VSB_H_INCLUDED
+#include <sys/types.h>
+
/*
* Structure definition
*/