FreeBSD Bugzilla – Attachment 203367 Details for
Bug 237004
sysutils/freeipmi: fix build on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v2
freeipmi.patch (text/plain), 1.44 KB, created by
Piotr Kubaj
on 2019-04-04 07:34:49 UTC
(
hide
)
Description:
v2
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-04-04 07:34:49 UTC
Size:
1.44 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 497616) >+++ Makefile (working copy) >@@ -18,7 +18,6 @@ > BROKEN_mips= invokes x86 assembler > BROKEN_mips64= invokes x86 assembler > BROKEN_sparc64= invokes x86 assembler >-BROKEN_powerpc64= invokes x86 assembler > > LIB_DEPENDS= libargp.so:devel/argp-standalone \ > libgcrypt.so:security/libgcrypt >Index: files/patch-libfreeipmi-driver-ipmi-kcs-driver.c >=================================================================== >--- files/patch-libfreeipmi-driver-ipmi-kcs-driver.c (revision 497616) >+++ files/patch-libfreeipmi-driver-ipmi-kcs-driver.c (working copy) >@@ -1,6 +1,16 @@ >---- libfreeipmi/driver/ipmi-kcs-driver.c.orig 2014-01-03 23:45:22 UTC >+--- libfreeipmi/driver/ipmi-kcs-driver.c.orig 2018-07-30 23:07:27 UTC > +++ libfreeipmi/driver/ipmi-kcs-driver.c >-@@ -491,7 +491,7 @@ ipmi_kcs_ctx_io_init (ipmi_kcs_ctx_t ctx >+@@ -148,6 +148,9 @@ >+ #if defined(__FreeBSD__) >+ # include <machine/cpufunc.h> >+ # include <machine/sysarch.h> >++#if defined(__powerpc__) >++# include <machine/pio.h> /* inb/outb */ >++#endif >+ #elif defined(__NetBSD__) || defined(__OpenBSD__) >+ # include <machine/pio.h> /* inb/outb */ >+ # include <machine/sysarch.h> /* sysarch call */ >+@@ -495,7 +498,7 @@ ipmi_kcs_ctx_io_init (ipmi_kcs_ctx_t ctx) > #ifdef __FreeBSD__ > #ifdef USE_IOPERM > /* i386_set_ioperm has known problems on FBSD 5.x (bus errors). */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237004
:
203366
| 203367