Add upstream patch to fix regression (rhbz#1413296)
This commit is contained in:
parent
86b5211513
commit
2920bf432f
24
doxygen-xmlgen-regression.patch
Normal file
24
doxygen-xmlgen-regression.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 0f02761a158a5e9ddbd5801682482af8986dbc35 Mon Sep 17 00:00:00 2001
|
||||
From: albert-github <albert.tests@gmail.com>
|
||||
Date: Wed, 4 Jan 2017 12:24:55 +0100
|
||||
Subject: [PATCH] Bug 776791 - [1.8.13 Regression] Segfault building the
|
||||
breathe docs
|
||||
|
||||
Protected against NULL pointer of variable al
|
||||
---
|
||||
src/xmlgen.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
|
||||
index fe95c7a..70e198a 100644
|
||||
--- a/src/xmlgen.cpp
|
||||
+++ b/src/xmlgen.cpp
|
||||
@@ -620,7 +620,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
|
||||
if (md->isInline()) t << "yes"; else t << "no";
|
||||
t << "\"";
|
||||
|
||||
- if (al->refQualifier!=RefQualifierNone)
|
||||
+ if (al!=0 && al->refQualifier!=RefQualifierNone)
|
||||
{
|
||||
t << " refqual=\"";
|
||||
if (al->refQualifier==RefQualifierLValue) t << "lvalue"; else t << "rvalue";
|
@ -2,7 +2,7 @@ Summary: A documentation system for C/C++
|
||||
Name: doxygen
|
||||
Epoch: 1
|
||||
Version: 1.8.13
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
# No version is specified.
|
||||
License: GPL+
|
||||
@ -12,6 +12,8 @@ Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
|
||||
Source1: doxywizard.png
|
||||
Source2: doxywizard.desktop
|
||||
|
||||
Patch0: https://github.com/doxygen/doxygen/pull/555.patch#/doxygen-xmlgen-regression.patch
|
||||
|
||||
BuildRequires: perl
|
||||
BuildRequires: tex(dvips)
|
||||
BuildRequires: tex(latex)
|
||||
@ -130,6 +132,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
||||
# intentionally left blank
|
||||
|
||||
%changelog
|
||||
* Tue Jan 17 2017 Björn Esser <besser82@fedoraproject.org> - 1:1.8.13-2
|
||||
- Add upstream patch to fix regression (rhbz#1413296)
|
||||
|
||||
* Thu Dec 29 2016 Orion Poplawski <orion@cora.nwra.com> - 1:1.8.13-1
|
||||
- Update to 1.8.13
|
||||
- Drop upstream patches
|
||||
|
Loading…
Reference in New Issue
Block a user