Bug 89035 - [patch] textproc/tth: update to new version 3.70, unbreak port (size mismatch)
Summary: [patch] textproc/tth: update to new version 3.70, unbreak port (size mismatch)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Simon Barner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 21:30 UTC by Boris B.Samorodov
Modified: 2005-11-16 11:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris B.Samorodov 2005-11-14 21:30:17 UTC
	The port is marked as broken due to size mismatch. The author
	is using only filename tth_C.tgz for all his releases. Current
	version is
	http://hutchinson.belmont.ma.us/tth/Version
	Thus every new version will break the port...

Fix: The patch is relative to the port:
	# cd /usr/ports/textxtproc
	# patch -p0 < _the_patch_
	<delete tth/*.orig files>



WBR
-- 
bsam--aXowyAnMbqlYWE5hzAOibaP1EpNBGkfNmL3ArC5rFw2bJ30f
Content-Type: text/plain; name="tth.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="tth.patch"

diff -u tth.orig/Makefile tth/Makefile
--- tth.orig/Makefile	Sat Oct  8 22:30:56 2005
+++ tth/Makefile	Tue Nov 15 00:14:32 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	tth
-PORTVERSION=	3.59
+PORTVERSION=	3.70
 CATEGORIES=	textproc
 MASTER_SITES=	http://hutchinson.belmont.ma.us/tth/tth-noncom/
 DISTNAME=	tth_C
@@ -15,8 +15,6 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A TeX to HTML translator
 
-BROKEN=		Size mismatch
-
 USE_GHOSTSCRIPT_RUN=	yes
 
 RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX \
@@ -24,7 +22,7 @@
 
 MAN1=		tth.1
 
-PLIST_FILES=	bin/latex2gif bin/ps2gif bin/ps2png bin/tth
+PLIST_FILES=	bin/latex2gif bin/ps2gif bin/ps2png bin/tth bin/Xfonts.fix
 PORTDOCS=	license.txt tth_manual.html
 
 pre-everything::
@@ -43,6 +41,7 @@
 	${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/ps2png ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/Xfonts.fix ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/tth.1 ${PREFIX}/man/man1
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
diff -u tth.orig/distinfo tth/distinfo
--- tth.orig/distinfo	Thu Mar 25 20:18:41 2004
+++ tth/distinfo	Tue Nov 15 00:10:41 2005
@@ -1,2 +1,3 @@
-MD5 (tth_C.tgz) = 2ba8597af0eb3f5667c95fffa18a8fd1
-SIZE (tth_C.tgz) = 316519
+MD5 (tth_C.tgz) = ec6474f52a7586a7890ceaf2c3c7c0d8
+SHA256 (tth_C.tgz) = bfe1152a7d2773169d9214a87ced8a85acb00f4ee0f4bddc178a87e0653512ce
+SIZE (tth_C.tgz) = 320882
Comment 1 Simon Barner freebsd_committer freebsd_triage 2005-11-16 11:07:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->barner

I'll take it.
Comment 2 Simon Barner freebsd_committer freebsd_triage 2005-11-16 11:40:46 UTC
State Changed
From-To: open->closed

Committed, thanks. This port is currently unmaintained. Do you want to 
become the maintainer of it (since you seem to be using it)?