From f410c1107622f9a95073234eae18c623857338d4 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 5 Oct 2014 19:08:03 -0400 Subject: gnu: xpdf: Update to 3.04. * gnu/packages/patches/xpdf-constchar.patch: Remove. * gnu-system.am (dist_patch_DATA): Remove it. * gnu/packages/pdf.scm (xpdf): Update to 3.04. Remove patch. Add libpng as an input. --- gnu/packages/patches/xpdf-constchar.patch | 15 --------------- gnu/packages/pdf.scm | 6 +++--- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 gnu/packages/patches/xpdf-constchar.patch (limited to 'gnu/packages') diff --git a/gnu/packages/patches/xpdf-constchar.patch b/gnu/packages/patches/xpdf-constchar.patch deleted file mode 100644 index 95dbe73c71..0000000000 --- a/gnu/packages/patches/xpdf-constchar.patch +++ /dev/null @@ -1,15 +0,0 @@ -This patch circumvents an error with 'const char *' to 'char *' conversion, -see http://gnats.netbsd.org/45562 . - -diff -u a/xpdf/XPDFViewer.cc b/xpdf/XPDFViewer.cc ---- a/xpdf/XPDFViewer.cc 2011-08-15 23:08:53.000000000 +0200 -+++ b/xpdf/XPDFViewer.cc 2013-03-31 15:13:21.000000000 +0200 -@@ -1803,7 +1803,7 @@ - menuPane = XmCreatePulldownMenu(toolBar, "zoomMenuPane", args, n); - for (i = 0; i < nZoomMenuItems; ++i) { - n = 0; -- s = XmStringCreateLocalized(zoomMenuInfo[i].label); -+ s = XmStringCreateLocalized((char *) zoomMenuInfo[i].label); - XtSetArg(args[n], XmNlabelString, s); ++n; - XtSetArg(args[n], XmNuserData, (XtPointer)i); ++n; - sprintf(buf, "zoom%d", i); diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index d6d97c1ea8..7ffdde04ae 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -85,14 +85,13 @@ (define-public xpdf (package (name "xpdf") - (version "3.03") + (version "3.04") (source (origin (method url-fetch) (uri (string-append "ftp://ftp.foolabs.com/pub/xpdf/xpdf-" version ".tar.gz")) (sha256 (base32 - "1jnfzdqc54wa73lw28kjv0m7120mksb0zkcn81jdlvijyvc67kq2")) - (patches (list (search-patch "xpdf-constchar.patch"))))) + "1rbp54mr3z2x3a3a1qmz8byzygzi223vckfam9ib5g1sfds0qf8i")))) (build-system gnu-build-system) (inputs `(("freetype" ,freetype) ("gs-fonts" ,gs-fonts) @@ -103,6 +102,7 @@ ("libxp" ,libxp) ("libxpm" ,libxpm) ("libxt" ,libxt) + ("libpng" ,libpng) ("zlib" ,zlib))) (arguments `(#:tests? #f ; there is no check target -- cgit v1.2.3