upstream fix for ftbfs due to missing header

This commit is contained in:
Rex Dieter 2014-01-31 10:12:55 -06:00
parent 9714083fa4
commit dad83dde6f
2 changed files with 16 additions and 0 deletions

View File

@ -27,6 +27,8 @@ Source0: http://download.savannah.nongnu.org/releases/openexr/openexr_vie
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1: openexr_viewers-2.0.1-dso.patch
# fix ftbfs due to missing header
Patch2: openexr_viewers-2.1.0-headers.patch
BuildRequires: libtool
@ -76,6 +78,7 @@ This package contains documentation files for %{name}.
%setup -q -n openexr_viewers-%{version}
%patch1 -p1 -b .dso
%patch2 -p1 -b .header
%if %{_lib} == lib64
sed -i -e 's|ACTUAL_PREFIX/lib/CTL|ACTUAL_PREFIX/lib64/CTL|' configure.ac

View File

@ -0,0 +1,13 @@
diff -up openexr_viewers-2.1.0/exrdisplay/Makefile.am.headers openexr_viewers-2.1.0/exrdisplay/Makefile.am
--- openexr_viewers-2.1.0/exrdisplay/Makefile.am.headers 2014-01-31 10:09:46.514343641 -0600
+++ openexr_viewers-2.1.0/exrdisplay/Makefile.am 2014-01-31 10:11:59.636924846 -0600
@@ -44,7 +44,8 @@ noinst_HEADERS = \
scaleImage.h \
applyCtl.h \
GlWindow3d.h \
- GlWindow3d.cpp
+ GlWindow3d.cpp \
+ namespaceAlias.h
EXTRA_DIST = $(exrdisplay_SOURCES)