[packages/vtk] - work around conflicting types with R
baggins
baggins at pld-linux.org
Sun Jan 22 23:10:29 CET 2017
commit 08c4611dd3f4c7ab35ce0f820c6c1e8ad797ff4d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jan 22 23:10:00 2017 +0100
- work around conflicting types with R
vtk.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vtk.spec b/vtk.spec
index 3acdd57..bafe78a 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -327,8 +327,8 @@ cp -a Examples vtk-examples
find vtk-examples -type f | xargs chmod -R a-x
%build
-export CFLAGS="%{rpmcflags} -D_UNICODE"
-export CXXFLAGS="%{rpmcxxflags} -D_UNICODE"
+export CFLAGS="%{rpmcflags} -D_UNICODE -DHAVE_UINTPTR_T"
+export CXXFLAGS="%{rpmcxxflags} -D_UNICODE -DHAVE_UINTPTR_T"
%if %{with java}
export JAVA_HOME=%{java_home}
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vtk.git/commitdiff/08c4611dd3f4c7ab35ce0f820c6c1e8ad797ff4d
More information about the pld-cvs-commit
mailing list