qt5 build deb

This commit is contained in:
Rmys
2020-01-16 21:28:41 +03:00
parent ac280dff26
commit efdf279b99
5 changed files with 41 additions and 0 deletions
@@ -0,0 +1,11 @@
--- src/common/classes/rwlock.h 2015-03-27 14:47:01.000000000 +0100
+++ src/common/classes/rwlock.h 2016-02-24 15:11:46.043602883 +0100
@@ -191,7 +191,7 @@
void init()
{
-#if defined(LINUX) && !defined(USE_VALGRIND)
+#if defined(LINUX) && defined(__GLIBC__) && !defined(USE_VALGRIND)
pthread_rwlockattr_t attr;
if (pthread_rwlockattr_init(&attr))
system_call_failed::raise("pthread_rwlockattr_init");
@@ -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>
@@ -0,0 +1,11 @@
--- 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