mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 05:17:07 +02:00
testing/ocfs2-tools: fix build failure on ppc64le
o2hbmonitor.c: In function 'get_device_name': o2hbmonitor.c:124:12: error: 'PATH_MAX' undeclared (first use in this function) char path[PATH_MAX];
This commit is contained in:
parent
3fae6aefc1
commit
813a0bc966
@ -23,6 +23,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/markfasheh/$pkgname/archive/
|
||||
musl-sys-raw.h.patch
|
||||
fix-unknown-type-errcode_t.patch
|
||||
fix-operations-include-ioctl.patch
|
||||
fix-o2monitor-undeclared-PATH_MAX.patch
|
||||
ocfs2console-explicitly-specified-link-libraries.patch
|
||||
tunefs-remove-op_query.patch
|
||||
"
|
||||
@ -94,5 +95,6 @@ d1eb24086f71f22e0333f4c246389ce82c9b4540bb0a2d091f6deee7f563c7e5457a838937cd07f1
|
||||
b471c21f30f7ebba05ed8e4c63ff00b4ddad7e6095d256929472d61368dcb7566296201ad0af382a21f0a16c47f23cfa256ad91e6629f17595034e4807c96f3b musl-sys-raw.h.patch
|
||||
5c30855802132ab4aa3495d0e81de1f2ecfece457f008ed7c9570edd7fc8b33b741cfd891d7bdb2c825199a4468a522db9538a84106470e93ac8dd6280a6912c fix-unknown-type-errcode_t.patch
|
||||
41b5e0d2eae738a8e05b6377e6dd4fc79592c6fc7b62dbc1ea6d7bd1fdb80122bc2f915748e64e30c9e964a1ebc73a65d81b5409fd499a959b3015d8c0683ead fix-operations-include-ioctl.patch
|
||||
35d5872e6a3651583442b3a333a2e866bf241b4fc19bdbabf4bb46cdbdb6b2806d81092b1fa80a9841a49e95a40d2bc09d12ad33e8cfbf3c267698eb9120b307 fix-o2monitor-undeclared-PATH_MAX.patch
|
||||
3f1bf02eaa0f26f800cd18445cab32c72a93b7b6bc60ed5940fcd9b36d9e0d4458c73133fa1de55d81b49367ce228c829cbf9eaef7590189b67c3fa11d1e45df ocfs2console-explicitly-specified-link-libraries.patch
|
||||
c614235c98426a60d484203b47c44643833496de9864f2f6b1bedec206de33231878799d0b16ad2462c7ed2920cd0d8f9fd41fd7b1fff5b644e8be4b31ed815d tunefs-remove-op_query.patch"
|
||||
|
16
testing/ocfs2-tools/fix-o2monitor-undeclared-PATH_MAX.patch
Normal file
16
testing/ocfs2-tools/fix-o2monitor-undeclared-PATH_MAX.patch
Normal file
@ -0,0 +1,16 @@
|
||||
This fixes the following error on ppc64le:
|
||||
|
||||
o2hbmonitor.c: In function 'get_device_name':
|
||||
o2hbmonitor.c:124:12: error: 'PATH_MAX' undeclared (first use in this function)
|
||||
char path[PATH_MAX];
|
||||
|
||||
--- a/o2monitor/o2hbmonitor.c
|
||||
+++ b/o2monitor/o2hbmonitor.c
|
||||
@@ -45,6 +45,7 @@
|
||||
#include <errno.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/sem.h>
|
||||
+#include <limits.h>
|
||||
|
||||
#define SYS_CONFIG_DIR "/sys/kernel/config"
|
||||
#define O2HB_CLUSTER_DIR SYS_CONFIG_DIR"/cluster"
|
Loading…
Reference in New Issue
Block a user