jer         15/06/11 04:21:44

  Modified:             ChangeLog
  Added:                splint-3.1.2-r2.ebuild
  Removed:              splint-3.1.2.ebuild
  Log:
  Add sys-libs/musl patch (bug #550842 by Fredric Johansson).
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.38                 dev-util/splint/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/splint/ChangeLog?rev=1.38&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/splint/ChangeLog?rev=1.38&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/splint/ChangeLog?r1=1.37&r2=1.38

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/splint/ChangeLog,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- ChangeLog   19 Apr 2015 09:45:57 -0000      1.37
+++ ChangeLog   11 Jun 2015 04:21:44 -0000      1.38
@@ -1,6 +1,12 @@
 # ChangeLog for dev-util/splint
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/splint/ChangeLog,v 1.37 2015/04/19 
09:45:57 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/splint/ChangeLog,v 1.38 2015/06/11 
04:21:44 jer Exp $
+
+*splint-3.1.2-r2 (11 Jun 2015)
+
+  11 Jun 2015; Jeroen Roovers <[email protected]> -splint-3.1.2.ebuild,
+  +splint-3.1.2-r2.ebuild, +files/splint-3.1.2-musl.patch:
+  Add sys-libs/musl patch (bug #550842 by Fredric Johansson).
 
   19 Apr 2015; Pacho Ramos <[email protected]> splint-3.1.2-r1.ebuild:
   x86 stable wrt bug #535408



1.1                  dev-util/splint/splint-3.1.2-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/splint/splint-3.1.2-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/splint/splint-3.1.2-r2.ebuild?rev=1.1&content-type=text/plain

Index: splint-3.1.2-r2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/splint/splint-3.1.2-r2.ebuild,v 1.1 
2015/06/11 04:21:44 jer Exp $

EAPI=5
inherit autotools eutils

DESCRIPTION="Check C programs for vulnerabilities and programming mistakes"
HOMEPAGE="http://lclint.cs.virginia.edu/";
SRC_URI="http://www.splint.org/downloads/${P}.src.tgz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"

DEPEND="
        sys-devel/flex
"

src_prepare() {
        epatch "${FILESDIR}"/${PN}-3.1.2-musl.patch

        # verbose compiler calls
        sed -i -e '/Compiling/d' src/Makefile.am || die
        # automake complains about trailing \
        sed -i -e '1600d' test/Makefile.am || die
        # do not install these header files twice
        sed -i -e '/\$(UnixHeaders)/s|stdio.h stdlib.h||g' lib/Makefile.am || 
die

        eautoreconf
}

src_configure() {
        # We do not need bison/yacc at all here
        # We definitely need libfl
        BISON=no LEXLIB=-lfl econf
}

src_compile() {
        local subdir
        # skip test/ subdir
        for subdir in src lib imports doc; do
                emake -j1 -C ${subdir}
        done
}

src_test() {
        emake -C test
}




Reply via email to