lvm2: Fix patch

This commit is contained in:
Dylan Araps 2019-06-23 08:54:02 +03:00
parent a5751191e6
commit 2b533786e1
2 changed files with 4 additions and 20 deletions

View File

@ -1,2 +1,2 @@
d12da937ce5c0753d4ea8b5215afaa3b12061ea961268693e24e81b19918f514 LVM2.2.02.184.tgz
19a256fc39f760936caed28400fe46bf5593cb3ccce4619a29ab7349441b8050 portability.patch
d1f78c5a07f0ba66856e00e498c0f62164cabbcd9f0d9abcda1c25501eb235ff portability.patch

View File

@ -1,22 +1,6 @@
Portability fixes:
- Use fcntl.h for O_RDONLY and friends.
- Only use mallinfo with glibc.
--- libdaemon/server/daemon-server.c 2014-11-29 00:07:42.000000000 +0100
+++ libdaemon/server/daemon-server.c 2014-12-28 08:22:40.985928408 +0100
@@ -14,6 +14,7 @@
#include "daemon-server.h"
#include "daemon-log.h"
+#include <fcntl.h>
#include <dlfcn.h>
#include <errno.h>
#include <pthread.h>
--- lib/mm/memlock.c.orig 2016-06-07 08:00:46.557058318 +0200
+++ lib/mm/memlock.c 2016-06-07 08:01:25.453505793 +0200
@@ -150,7 +150,7 @@ static void _touch_memory(void *mem, siz
--- ./lib/mm/memlock.c.orig 2015-03-09 11:18:41.560028850 -0100
+++ ./lib/mm/memlock.c 2015-03-09 11:19:54.504373309 -0100
@@ -137,7 +137,7 @@
static void _allocate_memory(void)
{