SHA256
1
0
forked from pool/hugin

Accepting request 64798 from home:namtrac:branches:graphics

OBS-URL: https://build.opensuse.org/request/show/64798
OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=15
This commit is contained in:
Stephan Kulow 2011-03-22 09:15:10 +00:00 committed by Git OBS Bridge
parent 853d06f740
commit f85e0ff120
3 changed files with 28 additions and 0 deletions

20
hugin-fix-gcc46.patch Normal file
View File

@ -0,0 +1,20 @@
# HG changeset patch
# User Bruno Postle <bruno@postle.net>
# Date 1295990053 0
# Node ID 1fc6ad6e7c7ae679e3b8f96b6f4c36920f228138
# Parent 9e1d0816a1edd95a985ad6fd62da9c8b7342efb5
Fix for compilation with gcc-4.6.0
diff -r 9e1d0816a1ed -r 1fc6ad6e7c7a src/foreign/vigra/vigra/multi_iterator.hxx
--- a/src/foreign/vigra/vigra/multi_iterator.hxx Mon Jan 24 21:37:53 2011 +0100
+++ b/src/foreign/vigra/vigra/multi_iterator.hxx Tue Jan 25 21:14:13 2011 +0000
@@ -41,6 +41,7 @@
#define VIGRA_MULTI_ITERATOR_HXX
#include <sys/types.h>
+#include <stddef.h>
#include "tinyvector.hxx"
#include "iteratortags.hxx"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 22 08:12:00 UTC 2011 - idoenmez@novell.com
- Add hugin-fix-gcc46.patch: fix gcc 4.6 compilation
-------------------------------------------------------------------
Mon Mar 21 16:51:59 UTC 2011 - coolo@novell.com

View File

@ -39,6 +39,8 @@ Source: %{name}-%{version}.tar.bz2
#Source: %{name}-svn2008xxxx.tar.bz2
Source1: %{name}-svn-dummy
Patch0: hugin-libpng14.patch
# PATCH-FIX-UPSTREAM hugin-fix-gcc46.patch idoenmez@suse.de -- Fix compilation with gcc 4.6
Patch1: hugin-fix-gcc46.patch
Url: http://hugin.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: make
@ -79,6 +81,7 @@ Authors:
%prep
%setup -q
%patch0
%patch1 -p1
# For SVN snapshot:
#setup -q -n %{name}
# Rename Catalan in Spain to Catalan.