Skip to contentSkip to conversation

package/openipmi: fix musl build

PATCH New Bernd Kuhls 3 participants 3 messages Jan 31, 2016 – Feb 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openipmi: fix musl build

The build error is known upstream
http://sourceforge.net/p/openipmi/patches/26/
and was not yet caught by our autobuilders:

ui.c: In function ?get_ip_addr?:
ui.c:340:5: error: unknown type name ?u_int32_t?

     u_int32_t     addr;
---
 package/openipmi/openipmi.hash | 2 ++
 package/openipmi/openipmi.mk   | 2 ++
 2 files changed, 4 insertions(+)
package/openipmi/openipmi.hash +2 -0
index 3a40f60..e6fafe4 100644
@@ -1,2 +1,4 @@
 # From http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/
 sha1 54f63ab7fe09f6a4b0b718601fe9c61014aa220b OpenIPMI-2.0.21.tar.gz
+# Locally computed
+sha256	0eafaa502ccf752899c5089159574081067d0c4ac53ea0ace33a5087f33ea32a	0001-ui-use-standard-uint32_t.patch
package/openipmi/openipmi.mk +2 -0
index 85bd6b4..4dd901b 100644
@@ -7,6 +7,8 @@
 OPENIPMI_VERSION = 2.0.21
 OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library
 OPENIPMI_SOURCE = OpenIPMI-2.0.21.tar.gz
+OPENIPMI_PATCH = \
+	http://sourceforge.net/p/openipmi/patches/26/attachment/0001-ui-use-standard-uint32_t.patch
 OPENIPMI_LICENSE = LGPLv2+, GPLv2+, BSD-3c
 OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD
 OPENIPMI_DEPENDENCIES = popt ncurses host-pkgconf
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 package/openipmi: fix musl build

Quoted 9 lines · Bernd Kuhls

The build error is known upstream
http://sourceforge.net/p/openipmi/patches/26/
and was not yet caught by our autobuilders:

ui.c: In function ?get_ip_addr?:
ui.c:340:5: error: unknown type name ?u_int32_t?

     u_int32_t     addr;

Regards,
Arnout

Quoted 28 lines
---
 package/openipmi/openipmi.hash | 2 ++
 package/openipmi/openipmi.mk   | 2 ++
 2 files changed, 4 insertions(+)
package/openipmi/openipmi.hash +2 -0
index 3a40f60..e6fafe4 100644
@@ -1,2 +1,4 @@
 # From http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/
 sha1 54f63ab7fe09f6a4b0b718601fe9c61014aa220b OpenIPMI-2.0.21.tar.gz
+# Locally computed
+sha256	0eafaa502ccf752899c5089159574081067d0c4ac53ea0ace33a5087f33ea32a	0001-ui-use-standard-uint32_t.patch
package/openipmi/openipmi.mk +2 -0
index 85bd6b4..4dd901b 100644
@@ -7,6 +7,8 @@
 OPENIPMI_VERSION = 2.0.21
 OPENIPMI_SITE = http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library
 OPENIPMI_SOURCE = OpenIPMI-2.0.21.tar.gz
+OPENIPMI_PATCH = \
+	http://sourceforge.net/p/openipmi/patches/26/attachment/0001-ui-use-standard-uint32_t.patch
 OPENIPMI_LICENSE = LGPLv2+, GPLv2+, BSD-3c
 OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD
 OPENIPMI_DEPENDENCIES = popt ncurses host-pkgconf
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#2 lore raw

PATCH 1/1 package/openipmi: fix musl build

In reply to Bernd Kuhls

Dear Bernd Kuhls,

Quoted 6 lines · Bernd Kuhls

The build error is known upstream
http://sourceforge.net/p/openipmi/patches/26/
and was not yet caught by our autobuilders:

ui.c: In function ?get_ip_addr?:
ui.c:340:5: error: unknown type name ?u_int32_t?

Quoted 7 lines
     u_int32_t     addr;
---
 package/openipmi/openipmi.hash | 2 ++
 package/openipmi/openipmi.mk   | 2 ++
 2 files changed, 4 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com