FreeBSD Bugzilla – Attachment 205337 Details for
Bug 238788
lang/ocaml: fix on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
ocaml.patch (text/plain), 2.39 KB, created by
Piotr Kubaj
on 2019-06-25 18:08:48 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-06-25 18:08:48 UTC
Size:
2.39 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 505089) >+++ Makefile (working copy) >@@ -20,7 +20,6 @@ > > BROKEN_aarch64= Does not build: sh: as: not found > BROKEN_armv7= Does not build: hasgot.c: undefined reference to `tgetent' >-BROKEN_powerpc64= Does not build: error: too few arguments to function gethostbyname_r > BROKEN_sparc64= No rule to make target 'none.o', needed by 'libasmrun.a' > BROKEN_mips64= No ASM support > BROKEN_mips= No ASM support >Index: files/patch-configure >=================================================================== >--- files/patch-configure (revision 505089) >+++ files/patch-configure (working copy) >@@ -16,15 +16,17 @@ > esac > fi > >-@@ -921,6 +923,7 @@ case "$target" in >+@@ -921,6 +923,9 @@ case "$target" in > powerpc*-*-linux*) arch=power; > if $arch64; then model=ppc64; else model=ppc; fi > system=elf;; >-+ powerpc-*-freebsd*) arch=power; model=ppc; system=bsd_elf;; >++ powerpc*-*-freebsd*) arch=power; >++ if $arch64; then model=ppc64; else model=ppc; fi >++ system=bsd_elf;; > powerpc-*-netbsd*) arch=power; model=ppc; system=elf;; > powerpc-*-openbsd*) arch=power; model=ppc; system=bsd_elf;; > s390x*-*-linux*) arch=s390x; model=z10; system=elf;; >-@@ -946,6 +949,7 @@ case "$target" in >+@@ -946,6 +951,7 @@ case "$target" in > x86_64-*-darwin*) arch=amd64; system=macosx;; > x86_64-*-mingw*) arch=amd64; system=mingw;; > aarch64-*-linux*) arch=arm64; system=linux;; >@@ -32,7 +34,7 @@ > x86_64-*-cygwin*) arch=amd64; system=cygwin;; > esac > >-@@ -1051,10 +1055,12 @@ case "$arch,$system" in >+@@ -1051,10 +1057,12 @@ case "$arch,$system" in > case "$nativecc" in gcc*) ;; *) cc_profile='-xpg';; esac;; > amd64,linux) profiling='true';; > amd64,openbsd) profiling='true';; >@@ -45,7 +47,7 @@ > arm,linux*) profiling='true';; > power,elf) profiling='true';; > power,bsd*) profiling='true';; >-@@ -2029,7 +2035,7 @@ MKLIB=${TOOLPREF}ar rc \$(1) \$(2); ${TOOLPREF}ranlib >+@@ -2029,7 +2037,7 @@ MKLIB=${TOOLPREF}ar rc \$(1) \$(2); ${TOOLPREF}ranlib > #ml Printf.sprintf "${TOOLPREF}ar rc %s %s %s; ${TOOLPREF}ranlib %s" > #ml out opts files out;; > EOF
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 238788
:
205311
|
205337
|
205346