Add upstream bug reference and the actually submitted patch
This commit is contained in:
parent
b34ee3f4aa
commit
8dd9a31faa
|
@ -1,5 +1,23 @@
|
||||||
|
From f61b5859d69c2d99264182f60f5ae1e430812b59 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk@redhat.com>
|
||||||
|
Date: Fri, 10 Feb 2012 13:55:46 +0100
|
||||||
|
Subject: [PATCH] Fix build with PCRE-8.30+
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
This patch fixes build with the latest PCRE release which removes some
|
||||||
|
obsolete code tinyfugue still uses, namely pcre_info().
|
||||||
|
|
||||||
|
Signed-off-by: Petr Šabata <contyk@redhat.com>
|
||||||
|
---
|
||||||
|
src/macro.c | 3 ++-
|
||||||
|
src/pattern.c | 2 +-
|
||||||
|
src/pattern.h | 2 +-
|
||||||
|
3 files changed, 4 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/src/macro.c b/src/macro.c
|
diff --git a/src/macro.c b/src/macro.c
|
||||||
index ac28fc9..b847d09 100644
|
index ac28fc9..b492717 100644
|
||||||
--- a/src/macro.c
|
--- a/src/macro.c
|
||||||
+++ b/src/macro.c
|
+++ b/src/macro.c
|
||||||
@@ -893,7 +893,8 @@ static int complete_macro(Macro *spec, unsigned int hash, int num,
|
@@ -893,7 +893,8 @@ static int complete_macro(Macro *spec, unsigned int hash, int num,
|
||||||
|
@ -13,7 +31,7 @@ index ac28fc9..b847d09 100644
|
||||||
spec->subattr[i].attr &= ~F_NONE;
|
spec->subattr[i].attr &= ~F_NONE;
|
||||||
if (spec->subattr[i].subexp > n) {
|
if (spec->subattr[i].subexp > n) {
|
||||||
diff --git a/src/pattern.c b/src/pattern.c
|
diff --git a/src/pattern.c b/src/pattern.c
|
||||||
index 047a44a..f1b22ed 100644
|
index 047a44a..a7228ff 100644
|
||||||
--- a/src/pattern.c
|
--- a/src/pattern.c
|
||||||
+++ b/src/pattern.c
|
+++ b/src/pattern.c
|
||||||
@@ -151,7 +151,7 @@ static RegInfo *tf_reg_compile_fl(const char *pattern, int optimize,
|
@@ -151,7 +151,7 @@ static RegInfo *tf_reg_compile_fl(const char *pattern, int optimize,
|
||||||
|
@ -38,3 +56,6 @@ index 1eec0f9..cbe9af9 100644
|
||||||
|
|
||||||
typedef struct RegInfo {
|
typedef struct RegInfo {
|
||||||
pcre *re;
|
pcre *re;
|
||||||
|
--
|
||||||
|
1.7.7.6
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ URL: http://tinyfugue.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/tinyfugue/tf-%{packageversion}.tar.gz
|
Source: http://downloads.sourceforge.net/tinyfugue/tf-%{packageversion}.tar.gz
|
||||||
Patch0: tf-50b7.build.patch
|
Patch0: tf-50b7.build.patch
|
||||||
Patch1: tf-50b8.x86_64.patch
|
Patch1: tf-50b8.x86_64.patch
|
||||||
|
# https://sourceforge.net/tracker/?func=detail&aid=3486514&group_id=186112&atid=915972
|
||||||
Patch2: tf-50b8.pcre.patch
|
Patch2: tf-50b8.pcre.patch
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
|
|
Loading…
Reference in New Issue