Accepting request 69238 from graphics
Fix compilation with gcc 4.6 OBS-URL: https://build.opensuse.org/request/show/69238 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/djvulibre?expand=0&rev=20
This commit is contained in:
commit
3530cb048f
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
|
||||
|
||||
|
@ -30,6 +30,8 @@ Summary: An Open Source Implementation of DjVu
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch1: %{name}-%{version}-nsdejavu.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
|
||||
|
||||
%description
|
||||
@ -126,6 +128,7 @@ Authors:
|
||||
%setup
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3 -p1
|
||||
# removing cvsignore files in version 3.5.19
|
||||
rm -rf doc/minilisp/.cvsignore
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user