print/qpdf: Update to 7.1.1 (a followup release)

Fixed bugs that were left by the first commit for bug#225226
that updated qpdf to 7.1.0:
* build breaks when previous version is installed:
  https://github.com/qpdf/qpdf/issues/176
* error: reinterpret_cast from 'nullptr_t' to 'char *':
  https://github.com/qpdf/qpdf/issues/177

PR:		225226
Reported by:	several users
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D14201
This commit is contained in:
Yuri Victorovich 2018-02-05 03:24:42 +00:00
parent 27d7062db0
commit a91c320926
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460959
5 changed files with 5 additions and 30 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qpdf
PORTVERSION= 7.1.0
PORTVERSION= 7.1.1
CATEGORIES= print
MASTER_SITES= SF

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1516116745
SHA256 (qpdf-7.1.0.tar.gz) = 27054bfb83a4f4f70053c6d4c2de5e18ddf60c9a8edbce219ac1bdcf03f16a2e
SIZE (qpdf-7.1.0.tar.gz) = 7097479
TIMESTAMP = 1517797977
SHA256 (qpdf-7.1.1.tar.gz) = 8a0dbfa000a5c257abbc03721c7be277920fe0fcff08202b61c9c2464eedf2fa
SIZE (qpdf-7.1.1.tar.gz) = 7099282

View file

@ -1,12 +0,0 @@
Needed on 10.4 only.
Upstream is aware of the issue: https://github.com/qpdf/qpdf/pull/172
--- libqpdf/Pl_PNGFilter.cc.orig 2018-01-15 01:09:20 UTC
+++ libqpdf/Pl_PNGFilter.cc
@@ -1,5 +1,6 @@
#include <qpdf/Pl_PNGFilter.hh>
#include <qpdf/QTC.hh>
+#include <cstdlib>
#include <stdexcept>
#include <string.h>
#include <limits.h>

View file

@ -1,13 +0,0 @@
Workaround for https://github.com/qpdf/qpdf/issues/177
--- libqpdf/QUtil.cc.orig 2018-01-29 18:08:43 UTC
+++ libqpdf/QUtil.cc
@@ -354,7 +354,7 @@ void
QUtil::setLineBuf(FILE* f)
{
#ifndef _WIN32
- setvbuf(f, reinterpret_cast<char *>(NULL), _IOLBF, 0);
+ setvbuf(f, reinterpret_cast<char *>(0), _IOLBF, 0);
#endif
}

View file

@ -32,7 +32,7 @@ include/qpdf/Types.h
include/qpdf/qpdf-c.h
lib/libqpdf.so
lib/libqpdf.so.18
lib/libqpdf.so.18.2.0
lib/libqpdf.so.18.2.1
libdata/pkgconfig/libqpdf.pc
man/man1/fix-qdf.1.gz
man/man1/qpdf.1.gz