mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 07:26:58 +02:00
smatch: upgraded package to upstream
Upgraded sys-devel/smatch to version 1.57-r1 on amd64 BUG=chromium-os:37416 TEST="sudo emerge smatch" in chroot Change-Id: I16a3e029ca900c63936385ab5ac0ad664a5252ba Reviewed-on: https://gerrit.chromium.org/gerrit/40459 Reviewed-by: Mike Frysinger <vapier@chromium.org> Tested-by: Simon Que <sque@chromium.org> Commit-Queue: Simon Que <sque@chromium.org>
This commit is contained in:
parent
ac68927892
commit
d7f374442f
@ -8,5 +8,5 @@ LICENSE=OSL-1.1
|
||||
RDEPEND=dev-db/sqlite
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/smatch-1.57.tar.gz
|
||||
_eclasses_=multilib 5f4ad6cf85e365e8f0c6050ddd21659e toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68
|
||||
_md5_=41f4cff63e0f1f24e7e040fe095ffce2
|
||||
_eclasses_=eutils 33ef77a15337022e05342d2c772a7a5a multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 6526ac6fc9aedf391efb91fcd75ace68 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=7b53578cb48f4d8ab7d2e2e5d7ba142d
|
14
sdk_container/src/third_party/portage-stable/sys-devel/smatch/files/smatch-1.57-restrict.patch
vendored
Normal file
14
sdk_container/src/third_party/portage-stable/sys-devel/smatch/files/smatch-1.57-restrict.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
send upstream already
|
||||
|
||||
diff --git a/parse.c b/parse.c
|
||||
index 5dd9a06..bf5894d 100644
|
||||
--- a/parse.c
|
||||
+++ b/parse.c
|
||||
@@ -419,6 +419,7 @@ static struct init_keyword {
|
||||
/* Ignored for now.. */
|
||||
{ "restrict", NS_TYPEDEF, .op = &restrict_op},
|
||||
{ "__restrict", NS_TYPEDEF, .op = &restrict_op},
|
||||
+ { "__restrict__", NS_TYPEDEF, .op = &restrict_op},
|
||||
|
||||
/* Storage class */
|
||||
{ "auto", NS_TYPEDEF, .op = &auto_op },
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-1.57.ebuild,v 1.1 2012/12/20 02:46:28 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-devel/smatch/smatch-1.57-r1.ebuild,v 1.1 2013/01/03 20:50:43 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit multilib toolchain-funcs
|
||||
inherit multilib toolchain-funcs eutils
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
|
||||
http://repo.or.cz/r/${PN}.git"
|
||||
@ -35,6 +35,7 @@ DEPEND="${RDEPEND}"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-restrict.patch
|
||||
sed -i \
|
||||
-e '/^PREFIX=/s:=.*:=/usr:' \
|
||||
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
|
Loading…
Reference in New Issue
Block a user