mgorny      15/03/15 18:18:23

  Modified:             boot0-10.1.ebuild ChangeLog
  Log:
  Fix build with clang, bug #542676. 
https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/67 by nigoro.
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.2                  sys-freebsd/boot0/boot0-10.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-10.1.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-10.1.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/boot0-10.1.ebuild?r1=1.1&r2=1.2

Index: boot0-10.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-10.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- boot0-10.1.ebuild   8 Mar 2015 14:01:56 -0000       1.1
+++ boot0-10.1.ebuild   15 Mar 2015 18:18:23 -0000      1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-10.1.ebuild,v 1.1 
2015/03/08 14:01:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-10.1.ebuild,v 1.2 
2015/03/15 18:18:23 mgorny Exp $
 
 EAPI=3
 
@@ -62,6 +62,15 @@
                cd "${S}/libstand32" || die
                freebsd_src_compile
        fi
+
+       # bug542676
+       if [[ $(tc-getCC) == *clang* ]]; then
+               cd "${S}/i386/btx" || die
+               freebsd_src_compile
+               cd "${S}/i386/boot2" || die
+               CC=${CHOST}-gcc freebsd_src_compile
+       fi
+
        cd "${WORKDIR}/lib/libstand" || die
        freebsd_src_compile
 



1.52                 sys-freebsd/boot0/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.52&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?rev=1.52&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/boot0/ChangeLog?r1=1.51&r2=1.52

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ChangeLog   8 Mar 2015 14:01:56 -0000       1.51
+++ ChangeLog   15 Mar 2015 18:18:23 -0000      1.52
@@ -1,6 +1,10 @@
 # ChangeLog for sys-freebsd/boot0
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.51 
2015/03/08 14:01:56 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.52 
2015/03/15 18:18:23 mgorny Exp $
+
+  15 Mar 2015; Michał Górny <[email protected]> boot0-10.1.ebuild:
+  Fix build with clang, bug #542676. https://github.com/gentoo/gentoo-portage-
+  rsync-mirror/pull/67 by nigoro.
 
 *boot0-10.1 (08 Mar 2015)
 




Reply via email to