drop obsolete patch

This commit is contained in:
David Tardon 2017-11-23 12:25:28 +01:00
parent b98a2e119c
commit 958a6dbe4b
2 changed files with 0 additions and 52 deletions

View File

@ -1,50 +0,0 @@
From 004cb512cdd1349a247955ecbed7814ea60e909f Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon@redhat.com>
Date: Mon, 4 Sep 2017 14:59:01 +0200
Subject: [PATCH] workaround a bug in nss header
---
poppler/SignatureInfo.cc | 1 +
qt5/src/poppler-form.cc | 1 +
utils/pdfsig.cc | 1 +
3 files changed, 3 insertions(+)
diff --git a/poppler/SignatureInfo.cc b/poppler/SignatureInfo.cc
index 7ca8b96..254d42e 100644
--- a/poppler/SignatureInfo.cc
+++ b/poppler/SignatureInfo.cc
@@ -19,6 +19,7 @@
#include <string.h>
#ifdef ENABLE_NSS3
+ #include <prtypes.h>
#include <hasht.h>
#else
static const int HASH_AlgNULL = -1;
diff --git a/qt5/src/poppler-form.cc b/qt5/src/poppler-form.cc
index 02c3a5d..17d4097 100644
--- a/qt5/src/poppler-form.cc
+++ b/qt5/src/poppler-form.cc
@@ -39,6 +39,7 @@
#include <ctype.h>
#ifdef ENABLE_NSS3
+ #include <prtypes.h>
#include <hasht.h>
#endif
diff --git a/utils/pdfsig.cc b/utils/pdfsig.cc
index 8b5182d..2e0ce7d 100644
--- a/utils/pdfsig.cc
+++ b/utils/pdfsig.cc
@@ -19,6 +19,7 @@
#include <stddef.h>
#include <string.h>
#include <time.h>
+#include <prtypes.h>
#include <hasht.h>
#include "parseargs.h"
#include "Object.h"
--
2.13.5

View File

@ -13,8 +13,6 @@ Source1: %{name}-test-%{test_date}_%{test_sha}.tar.xz
# https://bugzilla.redhat.com/show_bug.cgi?id=1185007
Patch0: poppler-0.30.0-rotated-words-selection.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1113172
Patch1: 0001-workaround-a-bug-in-nss-header.patch
BuildRequires: cmake
BuildRequires: gettext-devel