summaryrefslogtreecommitdiff
path: root/www/htmldoc
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-05-13 01:16:23 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-05-13 01:16:23 +0000
commit5728c47653e68a743365f9e60b2c908f8e25d717 (patch)
tree1214005b835a7967d0774230eb69d0163e11d456 /www/htmldoc
parente86c933503acb5944c124038f3c6ddbd38860a7b (diff)
downloadpkgsrc-5728c47653e68a743365f9e60b2c908f8e25d717.tar.gz
this works on 1.5 alpha so only mark it as broken for old systems (1.3,1.4).
also don't use floats as ints...
Diffstat (limited to 'www/htmldoc')
-rw-r--r--www/htmldoc/Makefile4
-rw-r--r--www/htmldoc/distinfo3
-rw-r--r--www/htmldoc/patches/patch-ab18
3 files changed, 22 insertions, 3 deletions
diff --git a/www/htmldoc/Makefile b/www/htmldoc/Makefile
index 397ea199e31..72bd4a2162b 100644
--- a/www/htmldoc/Makefile
+++ b/www/htmldoc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2001/03/04 09:06:20 tron Exp $
+# $NetBSD: Makefile,v 1.12 2001/05/13 01:16:23 dmcmahill Exp $
#
DISTNAME= ${PKGNAME}-source
@@ -14,7 +14,7 @@ COMMENT= Converts HTML to indexed HTML, PDF and/or PostScript
DEPENDS+= jpeg-6b:../../graphics/jpeg
DEPENDS+= png>1.0.9:../../graphics/png
-NOT_FOR_PLATFORM= *-*-alpha #ps-pdf.cpp:3229: Internal compiler error. on 1.4 - 1.7 unknown
+NOT_FOR_PLATFORM= NetBSD-1.[3-4]*-alpha #ps-pdf.cpp:3229: Internal compiler error. on 1.4 - 1.7 unknown
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-x
diff --git a/www/htmldoc/distinfo b/www/htmldoc/distinfo
index c5dd3354c08..0bb69425138 100644
--- a/www/htmldoc/distinfo
+++ b/www/htmldoc/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 12:02:36 skrll Exp $
+$NetBSD: distinfo,v 1.3 2001/05/13 01:16:23 dmcmahill Exp $
SHA1 (htmldoc-1.7-source.tar.gz) = a67eaecb5167143b0f58bae190f5a0136c3762ab
Size (htmldoc-1.7-source.tar.gz) = 765486 bytes
SHA1 (patch-aa) = e593fea22e12b62d1fd402c4d65dd8fb510204ac
+SHA1 (patch-ab) = 4509f3409d3f18691575afbaa44bf0d0c1b2d860
diff --git a/www/htmldoc/patches/patch-ab b/www/htmldoc/patches/patch-ab
new file mode 100644
index 00000000000..cf29b9b00cd
--- /dev/null
+++ b/www/htmldoc/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 2001/05/13 01:16:23 dmcmahill Exp $
+
+--- ps-pdf.cpp.orig Thu Jan 7 19:28:30 1999
++++ ps-pdf.cpp Sat May 12 21:09:09 2001
+@@ -2807,5 +2807,5 @@
+
+ if (Verbosity)
+- progress_update(100 - 100 * (*y) / PagePrintLength);
++ progress_update((int)(100 - 100 * (*y) / PagePrintLength));
+
+ if (t->halignment == ALIGN_LEFT)
+@@ -2991,5 +2991,5 @@
+
+ if (Verbosity)
+- progress_update(100 - 100 * (*y) / PagePrintLength);
++ progress_update((int)(100 - 100 * (*y) / PagePrintLength));
+ };
+