Update to pdf2djvu 0.9.13.

This commit is contained in:
juanfra 2019-07-24 17:56:44 +00:00
parent 4958255fe6
commit ae87bfebeb
4 changed files with 4 additions and 32 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.33 2019/07/12 20:47:07 sthen Exp $
# $OpenBSD: Makefile,v 1.34 2019/07/24 17:56:44 juanfra Exp $
COMMENT = creates DjVu files from PDF files
V = 0.9.12
V = 0.9.13
DISTNAME = pdf2djvu-${V}
REVISION = 1
CATEGORIES = graphics

View File

@ -1,2 +1,2 @@
SHA256 (pdf2djvu-0.9.12.tar.xz) = A/qdmqG4CGtWLiRh7XTl+fAI8Wv8FFm6Yvo3OLN9joM=
SIZE (pdf2djvu-0.9.12.tar.xz) = 295088
SHA256 (pdf2djvu-0.9.13.tar.xz) = 4KsW2DEpYlyG33wSHt3yhkWPY8uBrnkeWnbfEKOrTGM=
SIZE (pdf2djvu-0.9.13.tar.xz) = 296420

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-pdf2djvu_cc,v 1.5 2019/05/06 21:20:22 kili Exp $
Fix build with poppler-0.76.
Index: pdf2djvu.cc
--- pdf2djvu.cc.orig
+++ pdf2djvu.cc
@@ -87,7 +87,7 @@ static int get_page_for_goto_link(pdf::link::GoTo *got
if (dest->isPageRef())
{
Ref pageref = dest->getPageRef();
- page = catalog->findPage(pageref.num, pageref.gen);
+ page = catalog->findPage(pageref);
}
else
page = dest->getPageNum();

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-sys-uuid_cc,v 1.1 2017/03/26 03:13:41 juanfra Exp $
--- sys-uuid.cc.orig Sun Mar 26 04:35:40 2017
+++ sys-uuid.cc Sun Mar 26 04:36:16 2017
@@ -70,6 +70,7 @@ void uuid_unparse_lower(uuid_t &uu, char *out)
#include <cerrno>
#include <stdint.h>
+#include <string.h>
#include <uuid.h>
static void throw_uuid_error(const char *context, uint32_t rc)