diff options
author | 2022-08-22 09:22:25 +0200 | |
---|---|---|
committer | 2022-08-22 09:22:25 +0200 | |
commit | 7d6b4c5c93e14edf76f52da2e62262f98eea8656 (patch) | |
tree | 1b131e325afda75c5b3654ed433e5a79c0213cb8 /dev-haskell/gtk2hs-buildtools | |
parent | dev-haskell/gtk3: treeclean (diff) | |
download | gentoo-7d6b4c5c93e14edf76f52da2e62262f98eea8656.tar.gz gentoo-7d6b4c5c93e14edf76f52da2e62262f98eea8656.tar.bz2 gentoo-7d6b4c5c93e14edf76f52da2e62262f98eea8656.zip |
dev-haskell/gtk2hs-buildtools: treeclean
Closes: https://bugs.gentoo.org/707212
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-haskell/gtk2hs-buildtools')
4 files changed, 0 insertions, 92 deletions
diff --git a/dev-haskell/gtk2hs-buildtools/Manifest b/dev-haskell/gtk2hs-buildtools/Manifest deleted file mode 100644 index 180fe94efb02..000000000000 --- a/dev-haskell/gtk2hs-buildtools/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST gtk2hs-buildtools-0.13.8.0.tar.gz 178465 BLAKE2B 73a3bea8e002ba641f08f3104b7c8759dba2649e8b050ac769470c7d67441e86365c4687f2645fed62cb79cbe38947c02c2622224e4568440a8d2745a045b333 SHA512 fa427979f20f10ca8baf38c80c28a5190d18b767046de347950ea799660e1d54939d668c01c469da36d2df6c347f7ba67e2e85f3a7000021f8d37852093e03fd diff --git a/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.8.0-gcc-11.patch b/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.8.0-gcc-11.patch deleted file mode 100644 index 123c1359ff1b..000000000000 --- a/dev-haskell/gtk2hs-buildtools/files/gtk2hs-buildtools-0.13.8.0-gcc-11.patch +++ /dev/null @@ -1,32 +0,0 @@ -Same fix as https://github.com/visq/language-c/issues/74 - -""" -Lexer: allow zeros as line numbers in preprocessed directives - -Starting from `gcc-11` initial line numbers not related to -actual files are marked as zeros. See the "preprocessor: -Better line info for <builtin> & <command-line>" -https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=6bf2ff0d52a9 - -language-c's grammar did not allow it (by accident) - -``` -Prelude> Language.C.parseC (Data.ByteString.Char8.pack "# 0 \"/dev/null\"\n") Language.C.nopos -Left <no file>:: [ERROR] >>> Syntax Error ! - Lexical error ! - The character '#' does not fit here. -``` - -The change allows '0' in line numbers as well. -""" ---- a/c2hs/c/CLexer.x -+++ b/c2hs/c/CLexer.x -@@ -130,7 +130,7 @@ $white+ ; - -- * allows further ints after the file name a la GCC; as the GCC CPP docu - -- doesn't say how many ints there can be, we allow an unbound number - -- --\#$space*@int$space*(\"($infname|@charesc)*\"$space*)?(@int$space*)*$eol -+\#$space*@digits$space*(\"($infname|@charesc)*\"$space*)?(@int$space*)*$eol - { \pos len str -> setPos (adjustPos (take len str) pos) >> lexToken } - - -- #pragma directive (K&R A12.8) diff --git a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.8.0-r1.ebuild b/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.8.0-r1.ebuild deleted file mode 100644 index 30ffca890e99..000000000000 --- a/dev-haskell/gtk2hs-buildtools/gtk2hs-buildtools-0.13.8.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# ebuild generated by hackport 0.6.4 - -CABAL_FEATURES="lib profile haddock hoogle hscolour" -inherit haskell-cabal - -DESCRIPTION="Tools to build the Gtk2Hs suite of User Interface libraries" -HOMEPAGE="http://projects.haskell.org/gtk2hs/" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+closuresignals" - -RDEPEND=">=dev-haskell/cabal-1.24.0.0:=[profile?] - dev-haskell/fail:=[profile?] - dev-haskell/hashtables:=[profile?] - dev-haskell/random:=[profile?] - >=dev-lang/ghc-7.8.2:= -" -DEPEND="${RDEPEND} - dev-haskell/alex - >=dev-haskell/cabal-1.18.1.3 - dev-haskell/happy -" - -PATCHES=("${FILESDIR}"/${PN}-0.13.8.0-gcc-11.patch) - -src_configure() { - haskell-cabal_src_configure \ - $(cabal_flag closuresignals closuresignals) -} diff --git a/dev-haskell/gtk2hs-buildtools/metadata.xml b/dev-haskell/gtk2hs-buildtools/metadata.xml deleted file mode 100644 index f1582cbe816c..000000000000 --- a/dev-haskell/gtk2hs-buildtools/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>haskell@gentoo.org</email> - <name>Gentoo Haskell</name> - </maintainer> - <longdescription> - This package provides a set of helper programs necessary to - build the Gtk2Hs suite of libraries. These tools include - a modified c2hs binding tool that is used to generate - FFI declarations, a tool to build a type hierarchy that - mirrors the C type hierarchy of GObjects found in glib, - and a generator for signal declarations that are used - to call back from C to Haskell. These tools are not needed - to actually run Gtk2Hs programs. - </longdescription> - <use> - <flag name="closuresignals">Use the the GClosure-based signals - implementation.</flag> - </use> -</pkgmetadata> |