- Add djvulibre-3.5.23-gcc46.patch to fix compilation with gcc 4.6
OBS-URL: https://build.opensuse.org/package/show/graphics/djvulibre?expand=0&rev=7
This commit is contained in:
parent
a1187817cb
commit
329860afa6
12
djvulibre-3.5.23-gcc46.patch
Normal file
12
djvulibre-3.5.23-gcc46.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- djvulibre-3.5.23/libdjvu/GSmartPointer.h~ 2011-03-29 12:35:05.000000000 +0400
|
||||||
|
+++ djvulibre-3.5.23/libdjvu/GSmartPointer.h 2011-03-29 12:35:25.000000000 +0400
|
||||||
|
@@ -58,6 +58,9 @@
|
||||||
|
|
||||||
|
#ifndef _GSMARTPOINTER_H_
|
||||||
|
#define _GSMARTPOINTER_H_
|
||||||
|
+
|
||||||
|
+#include <cstring>
|
||||||
|
+
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 2 14:45:43 UTC 2011 - idoenmez@novell.com
|
||||||
|
|
||||||
|
- Add djvulibre-3.5.23-gcc46.patch to fix compilation with gcc 4.6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 7 09:43:42 CET 2011 - pgajdos@suse.cz
|
Mon Mar 7 09:43:42 CET 2011 - pgajdos@suse.cz
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ Summary: An Open Source Implementation of DjVu
|
|||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch1: %{name}-%{version}-nsdejavu.patch
|
Patch1: %{name}-%{version}-nsdejavu.patch
|
||||||
Patch2: %{name}-%{version}-filepath.patch
|
Patch2: %{name}-%{version}-filepath.patch
|
||||||
|
# PATCH-FIX-UPSTREAM djvulibre-3.5.23-gcc46.patch idoenmez@suse.de -- Fix gcc 4.6 compilation, upstream bug #3256513
|
||||||
|
Patch3: djvulibre-3.5.23-gcc46.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -126,6 +128,7 @@ Authors:
|
|||||||
%setup
|
%setup
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3 -p1
|
||||||
# removing cvsignore files in version 3.5.19
|
# removing cvsignore files in version 3.5.19
|
||||||
rm -rf doc/minilisp/.cvsignore
|
rm -rf doc/minilisp/.cvsignore
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user