mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
firebird: fix build with glibc >= 2.28
resolves void-linux/void-packages#3878
This commit is contained in:
parent
72b13b6525
commit
17dce52c6f
2 changed files with 14 additions and 11 deletions
14
srcpkgs/firebird/patches/007-libio.patch
Normal file
14
srcpkgs/firebird/patches/007-libio.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- src/jrd/perf.h 2018-01-05
|
||||||
|
+++ src/jrd/perf.h 2018-08-20
|
||||||
|
@@ -31,10 +31,6 @@
|
||||||
|
#ifndef JRD_PERF_H
|
||||||
|
#define JRD_PERF_H
|
||||||
|
|
||||||
|
-#ifdef LINUX
|
||||||
|
-#include <libio.h>
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#ifdef HAVE_TIMES
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/times.h>
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- src/jrd/perf.h 2015-03-27 14:46:58.000000000 +0100
|
|
||||||
+++ src/jrd/perf.h 2016-02-24 15:38:06.674716837 +0100
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
#ifndef JRD_PERF_H
|
|
||||||
#define JRD_PERF_H
|
|
||||||
|
|
||||||
-#ifdef LINUX
|
|
||||||
+#if defined(LINUX) && defined(__GLIBC__)
|
|
||||||
#include <libio.h>
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue