-DIST linuxdoc-tools_0.9.68.tar.gz 619242 SHA256 3b8611683d61480a60cdd2497132f15ca15fb583c9fe5543f6750d187a5dee67 SHA512 a78c662f4bf69b68530af0176fb6b35328c004a80cc73e7ed1151d46da3a7868e4a8a61094f8c4081a686f1ed0c58bd19c2c5ad5a2b6677ddc7c686e67a71df7 WHIRLPOOL 966e47e081bf5eb35de546f7cd0522396aba306d8afbeeba55afb91f360c196b196c3271b84ae8a98d7f9a4d0460558986a8a32a824940b0340236c705490676
DIST linuxdoc-tools_0.9.69.orig.tar.gz 604379 SHA256 7103facee18a2ea97186ca459d743d22f7f89ad4b5cd1dfd1c34f83d6bfd4101 SHA512 5e0ca7614acd5a4c67d4beadd12e9665540d664dc4796c361a25d26ccdc53ef9e0b58cd051d028659e07530e351b0773895f8e6d06e5d2c6ffaad0a1f0c4d41e WHIRLPOOL 0ee3492252f6607169a6404701e04030047f4a4d9237d213606a67c8f6b9ec019315a355e78318a2c57ac8cb2eb08b1ab4d6b81a7f05b77b257127b70cd8ae1d
+++ /dev/null
-Index: linuxdoc-tools-0.9.21/rtf-fix/rtf2rtf.l
-===================================================================
---- linuxdoc-tools-0.9.21.orig/rtf-fix/rtf2rtf.l
-+++ linuxdoc-tools-0.9.21/rtf-fix/rtf2rtf.l
-@@ -22,7 +22,7 @@
-
- %{
-
--#include <malloc.h>
-+#include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
-
+++ /dev/null
---- rtf-fix/Makefile.orig
-+++ rtf-fix/Makefile
-@@ -1,6 +1,4 @@
--CC=gcc
- LEX=flex
--CFLAGS=-O
-
- all: rtf2rtf
-
---- sgmls-1.1/Makefile.orig 2013-03-20 13:40:43.674880678 +0400
-+++ sgmls-1.1/Makefile 2013-03-20 13:40:58.558881151 +0400
-@@ -15,14 +15,11 @@
- # Permissions mode to use for man pages.
- MANMODE=444
-
--CC=gcc
- PROFILE=
- INCLUDE=
- OPTIMIZE=-O
- DEBUG=
- WARN=
--CFLAGS=$(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE)
--LDFLAGS=$(DEBUG) $(PROFILE)
- # Additional libraries needed.
- # Ultrix needs -li
- LIBS=
-
---- Makefile.in.orig 2013-03-20 13:43:36.900886178 +0400
-+++ Makefile.in 2013-03-20 13:43:49.783886587 +0400
-@@ -48,8 +48,6 @@
- OPTIMIZE = -O
- DEBUG =
- WARN =
--CFLAGS = $(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE)
--LDFLAGS = $(DEBUG) $(PROFILE)
-
- all:
- ifeq ($(BUILD_SGMLSASP), true)
+++ /dev/null
---- linuxdoc-tools-0.9.68/perl5lib/LinuxDocTools.pm.letter Mon Nov 26 16:09:37 2001
-+++ linuxdoc-tools-0.9.68/perl5lib/LinuxDocTools.pm Mon Nov 26 16:09:49 2001
-@@ -108,7 +108,7 @@
- { option => "pass", type => "s", short => "P" }
- ];
- $global->{backend} = "linuxdoc";
-- $global->{papersize} = "a4";
-+ $global->{papersize} = "letter";
- $global->{language} = "en";
- $global->{charset} = "ascii";
- $global->{style} = "";
---- linuxdoc-tools-0.9.68/man/linuxdoc.1.letter Mon Nov 26 16:10:04 2001
-+++ linuxdoc-tools-0.9.68/man/linuxdoc.1 Mon Nov 26 16:10:42 2001
-@@ -46,8 +46,8 @@
- format, but just output the usage of this suites.
- Available formats are: html, info, latex, lyx, rtf, tex, check.
- .IP "--papersize=\fIsize\fR, -p
--Set the paper size. Default is ``a4'' (European 297x210mm paper).
--You may also specify ``letter'' size.
-+Set the paper size. Default is ``letter''.
-+You may also specify ``a4'' size (European 297x210mm paper).
- .IP "--language=\fIlang\fR, -l"
- Specify the language of the document (this may change which style
- files are used for formatting by a back end). The default language is
+++ /dev/null
---- rtf-fix/rtf2rtf.l.orig 2013-03-20 13:14:06.146829954 +0400
-+++ rtf-fix/rtf2rtf.l 2013-03-20 13:14:28.193830654 +0400
-@@ -72,7 +72,7 @@
- int skipnewline = 0;
-
- extern char *yytext;
--extern int yyleng;
-+extern yy_size_t yyleng;
-
- #define CHAPTER 1
- #define SECTION 2
+++ /dev/null
-diff --git a/Makefile.in b/Makefile.in
-index 359f14e..1649245 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -161,23 +161,6 @@ endif
- mkdir -m 755 -p $(tex_ddir)
- $(INSTALL_DATA) tex/* $(tex_ddir)
-
--# -- Build and install documentation
-- @echo "Installing documentation in $(doc_ddir) ..."
-- (cd doc; \
-- PATH=${PATH}:$(bin_ddir) \
-- PREFIX=$(DESTDIR)$(prefix) \
-- AUXBINDIR=$(auxbin_ddir) \
-- PKGPERL5LIB=$(perl5lib_ddir) \
-- PKGDATADIR=$(pkgdata_ddir) \
-- bash Makedoc.sh)
--
-- mkdir -m 755 -p $(doc_ddir)
-- # cp -r doc/* $(doc_ddir)
-- ( cd doc && tar --exclude='CVS' -cpf - . ) | ( cd $(doc_ddir) && tar -xpf - )
-- rm -f $(doc_ddir)/Makedoc.sh
-- find $(doc_ddir) -type d -print | xargs chmod 755
-- find $(doc_ddir) -type f -print | xargs chmod 644
--
- # what dirs do the targets clean and distclean need?
- DDIRS=
- MDIRS=
+++ /dev/null
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils sgml-catalog toolchain-funcs
-
-DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
-HOMEPAGE="http://packages.qa.debian.org/l/linuxdoc-tools.html"
-SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="MIT SGMLUG"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ppc x86 ~x86-fbsd"
-
-DEPEND="app-text/openjade
- app-text/opensp
- app-text/sgml-common
- dev-texlive/texlive-fontsrecommended
- dev-lang/perl
- sys-apps/gawk
- sys-apps/groff
- virtual/latex-base"
-
-RDEPEND="${DEPEND}"
-
-sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \
- "/usr/share/linuxdoc-tools/linuxdoc-tools.catalog"
-
-src_prepare() {
- epatch \
- "${FILESDIR}/${P}-letter.patch" \
- "${FILESDIR}/${PN}-0.9.21-malloc.patch" \
- "${FILESDIR}/${P}-compiler.patch" \
- "${FILESDIR}/${P}-lex.patch"
-
- # Wrong path for the catalog.
- sed -i -e \
- 's,/iso-entities-8879.1986/iso-entities.cat,/sgml-iso-entities-8879.1986/catalog,' \
- perl5lib/LinuxDocTools.pm || die 'sed failed'
-
- # Fix incorrect version string in upstream tarball
- sed -i -e "s/0.9.66/${PV}/" VERSION || die 'sed on VERSION failed'
-
- epatch_user
-}
-
-src_configure() {
- tc-export CC
- econf --with-installed-iso-entities
-}
-
-src_compile() {
- emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
- # Else fails with sandbox violations
- export VARTEXFONTS="${T}/fonts"
-
- # Besides the path being wrong, in changing perl5libdir, it cannot find the
- # catalog.
- export SGML_CATALOG_FILES="/usr/share/sgml/sgml-iso-entities-8879.1986/catalog"
-
- eval `perl -V:installvendorarch`
- emake \
- DESTDIR="${D}" \
- perl5libdir="${installvendorarch}" \
- LINUXDOCDOC="/usr/share/doc/${PF}/guide" \
- install
-
- insinto /usr/share/texmf/tex/latex/misc
- doins tex/*.sty
-
- dodoc ChangeLog README
-}