FreeBSD Bugzilla – Attachment 231075 Details for
Bug 261180
devel/ocaml-opam: does not build on ARM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch configure for armv7 support on FreeBSD
ocaml-opam.armv7.diff (text/plain), 1.76 KB, created by
Hannes Mehnert
on 2022-01-17 15:00:58 UTC
(
hide
)
Description:
Patch configure for armv7 support on FreeBSD
Filename:
MIME Type:
Creator:
Hannes Mehnert
Created:
2022-01-17 15:00:58 UTC
Size:
1.76 KB
patch
obsolete
>diff --git a/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch b/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch >index feb111b6d..3557fff6d 100644 >--- a/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch >+++ b/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch >@@ -1,11 +1,20 @@ > --- src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch.orig 2021-12-25 16:24:31 UTC > +++ src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch >-@@ -0,0 +1,42 @@ >+@@ -0,0 +1,60 @@ > +diff --git a/configure b/configure > +index b1e287aed..4754e8ab2 100755 > +--- a/configure > ++++ b/configure >-+@@ -14120,6 +14120,17 @@ case $arch in #( >++@@ -13901,6 +13901,8 @@ fi; system=elf ;; #( >++ arch=arm; model=armv6; system=linux_eabi ;; #( >++ armv6*-*-freebsd*) : >++ arch=arm; model=armv6; system=freebsd ;; #( >+++ armv7*-*-freebsd*) : >+++ arch=arm; model=armv7; system=freebsd ;; #( >++ earmv6*-*-netbsd*) : >++ arch=arm; model=armv6; system=netbsd ;; #( >++ earmv7*-*-netbsd*) : >++@@ -14120,6 +14122,17 @@ case $arch in #( > + esac ;; > + esac > + >@@ -27,7 +36,16 @@ > +index 656ffe20c..1c9694805 100644 > +--- a/configure.ac > ++++ b/configure.ac >-+@@ -1070,6 +1070,15 @@ AS_CASE([$arch], >++@@ -971,6 +971,8 @@ AS_CASE([$host], >++ [arch=arm; model=armv6; system=linux_eabi], >++ [armv6*-*-freebsd*], >++ [arch=arm; model=armv6; system=freebsd], >+++ [armv7*-*-freebsd*], >+++ [arch=arm; model=armv7; system=freebsd], >++ [earmv6*-*-netbsd*], >++ [arch=arm; model=armv6; system=netbsd], >++ [earmv7*-*-netbsd*], >++@@ -1070,6 +1072,15 @@ AS_CASE([$arch], > + [common_cflags="-no-pie $common_cflags"], > + [])]) > +
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 261180
:
230990
|
231075
|
231080
|
231087
|
232043
|
232044
|
248241
|
248242
|
248259
|
248260
|
248261
|
248262