upstream fix for ftbfs due to missing header
This commit is contained in:
parent
9714083fa4
commit
dad83dde6f
@ -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
|
||||
|
13
openexr_viewers-2.1.0-headers.patch
Normal file
13
openexr_viewers-2.1.0-headers.patch
Normal 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)
|
||||
|
Loading…
Reference in New Issue
Block a user