~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[alpine-devel] [PATCH] Patch to compile ipmiutil with musl

Paul Kilar <pkilar@gmail.com>
Details
Message ID
<1405350790-5871-1-git-send-email-pkilar@gmail.com>
Sender timestamp
1405350790
DKIM signature
missing
Download raw message
Patch: +33 -0
---
 testing/ipmiutil/fixups.patch | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/ipmiutil/fixups.patch

diff --git a/testing/ipmiutil/fixups.patch b/testing/ipmiutil/fixups.patch
new file mode 100644
index 0000000..dea7ada
--- /dev/null
+++ b/testing/ipmiutil/fixups.patch
@@ -0,0 +1,33 @@
--- a/util/imb_api.h
+++ b/util/imb_api.h
@@ -49,8 +49,8 @@
 /* DOS defines wchar_t in stdlib.h */
 #else 
  // defined(LINUX) | defined(SOLARIS)
-#ifndef _WCHAR_T
-#define _WCHAR_T
+#ifndef __DEFINED_wchar_t
+#define __DEFINED_wchar_t
 typedef long    wchar_t;
 #endif
 #endif
--- a/util/mem_if.c
+++ b/util/mem_if.c
@@ -65,6 +65,7 @@
 #include <sys/param.h>
 #include <sys/mman.h>
 #include <sys/ioctl.h>
+#include <linux/param.h>
 #endif
 #if defined(SOLARIS) || defined(BSD)
 #define EXEC_PAGESIZE     4096
--- a/util/ipmimv.c
+++ b/util/ipmimv.c
@@ -62,6 +62,7 @@
 #include <time.h>
 #include <errno.h>
 #include <sys/ioctl.h>
+#include <sys/select.h>
 #if defined(MACOS)
 #include <sys/time.h>
 #else
-- 
2.0.0



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)