sys-devel/smatch: drop old

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
Sergei Trofimovich
2019-11-10 22:21:20 +00:00
parent ebfb100f37
commit 5e04530ba6
5 changed files with 0 additions and 183 deletions
-2
View File
@@ -1,3 +1 @@
DIST smatch-1.57.tar.gz 491677 BLAKE2B 150ba84dc797497b2522d28b443a89fbec221a00fcade85014d434f675ec60908a473770c695dbf65a5ed273c3e665aa9dc4ec9a91bc071651388a9ec90f1bfa SHA512 031f417c97d58b617b2e375a28f509f71eb2735212a98aee0e21880a28842078ad3c24b5375a03f73d75fec582a9d187ed6a00a0512c4792e5ffce82dfd79b99
DIST smatch-1.59.tar.gz 495530 BLAKE2B 668a050e229cd9b4e5881fe059f5a8654164f5a155c471559ce7a82e66bcb2170f89a25680be7ff867f2765b574f363ef95a15a65ca98d47dbd8aed20f588f9a SHA512 5e18f48dbbe11255a06b427205aefd1f8f5a11bb0b238f9134b89e6f5cb838fcae649a4e87a4a04473a33077c94e88aab46b06e33cc87cfe451fa83b5846ccc7
DIST smatch-1.60.tar.gz 558479 BLAKE2B d5e564c32e33dc38847f9a258b4b47285f190652181db9b8850c832c0cf4d8a3302d989a7b42592e73a713927a29565565e83a9be1b0a5c9d10869fce278a0be SHA512 2920c9d4c500db36cfa60db5be70d157ed16abd729279462faef6f79e0756bd017ec91b8f857d19fdebd8a9d709b0555635700a2864cf0a84daa61cf2ca3eecd
@@ -1,14 +0,0 @@
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 },
-53
View File
@@ -1,53 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
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"
inherit git-r3
fi
DESCRIPTION="static analysis tool for C"
HOMEPAGE="http://smatch.sourceforge.net/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
#KEYWORDS=""
else
# The repo.or.cz site does not produce stable tarballs,
# so we have to cache our own copy of the snapshot.
#SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
S=${WORKDIR}/${PN}
fi
LICENSE="OSL-1.1"
SLOT="0"
IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-restrict.patch
sed -i \
-e '/^PREFIX=/s:=.*:=/usr:' \
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
Makefile || die
}
src_compile() {
emake PREFIX=/usr V=1 CC="$(tc-getCC)" smatch
}
src_install() {
# default install target installs a lot of sparse cruft
dobin smatch
insinto /usr/share/smatch/smatch_data
doins smatch_data/*
dodoc FAQ README
}
-52
View File
@@ -1,52 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit multilib toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
http://repo.or.cz/r/${PN}.git"
inherit git-r3
fi
DESCRIPTION="static analysis tool for C"
HOMEPAGE="http://smatch.sourceforge.net/"
if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
#KEYWORDS=""
else
# The repo.or.cz site does not produce stable tarballs,
# so we have to cache our own copy of the snapshot.
#SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
S=${WORKDIR}/${PN}
fi
LICENSE="OSL-1.1"
SLOT="0"
IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i \
-e '/^PREFIX=/s:=.*:=/usr:' \
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
Makefile || die
}
src_compile() {
emake PREFIX=/usr V=1 CC="$(tc-getCC)" smatch
}
src_install() {
# default install target installs a lot of sparse cruft
dobin smatch
insinto /usr/share/smatch/smatch_data
doins smatch_data/*
dodoc FAQ README
}
-62
View File
@@ -1,62 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://repo.or.cz/${PN}.git
http://repo.or.cz/r/${PN}.git"
inherit git-r3
else
SRC_URI="http://repo.or.cz/w/smatch.git/snapshot/${PV}.tar.gz -> ${P}.tar.gz
mirror://gentoo/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
S=${WORKDIR}/${PN}
fi
DESCRIPTION="static analysis tool for C"
HOMEPAGE="http://smatch.sourceforge.net/"
LICENSE="OSL-1.1"
SLOT="0"
IUSE=""
RDEPEND="dev-db/sqlite"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i \
-e '/^CFLAGS =/{s:=:+=:;s:-O2 -finline-functions:${CPPFLAGS}:}' \
Makefile || die
}
_emake() {
# gtk/llvm/xml is used by sparse which we don't install
emake \
PREFIX="${EPREFIX}/usr" \
V=1 \
AR="$(tc-getAR)" \
CC="$(tc-getCC)" \
LD='$(CC)' \
HAVE_GTK2=no \
HAVE_LLVM=no \
HAVE_LIBXML=no \
"$@"
}
src_compile() {
_emake smatch
}
src_test() {
_emake check
}
src_install() {
# default install target installs a lot of sparse cruft
dobin smatch
insinto /usr/share/smatch/smatch_data
doins smatch_data/*
dodoc FAQ README
}