Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 228637 Details for
Bug 316549
media-libs/vigra-1.7.0 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix warnings/build problems
vigra-1.7.0-6ed74cbf45cc.patch (text/plain), 4.62 KB, created by
J. M. Gottfried
on 2010-04-21 15:41:26 UTC
(
hide
)
Description:
patch to fix warnings/build problems
Filename:
MIME Type:
Creator:
J. M. Gottfried
Created:
2010-04-21 15:41:26 UTC
Size:
4.62 KB
patch
obsolete
>diff -r c1fedd61994d .hgignore >--- a/.hgignore Tue Apr 20 18:28:54 2010 +0200 >+++ b/.hgignore Wed Apr 21 17:01:43 2010 +0200 >@@ -29,6 +29,7 @@ > ^CMakeCache\.txt$ > ^private$ > ^vigranumpy/private$ >+^vigranumpy/lib/__version__.py$ > CMakeFiles/ > \.cmake$ > >diff -r c1fedd61994d CMakeLists.txt >--- a/CMakeLists.txt Tue Apr 20 18:28:54 2010 +0200 >+++ b/CMakeLists.txt Wed Apr 21 17:01:43 2010 +0200 >@@ -1,4 +1,4 @@ >-cmake_minimum_required(VERSION 2.6) >+cmake_minimum_required(VERSION 2.8) > > ################################################## > # >diff -r c1fedd61994d docsrc/CMakeLists.txt >--- a/docsrc/CMakeLists.txt Tue Apr 20 18:28:54 2010 +0200 >+++ b/docsrc/CMakeLists.txt Wed Apr 21 17:01:43 2010 +0200 >@@ -31,8 +31,11 @@ > ${DOCDIR}/vigra/documents/tutorial_reference.pdf > COMMENT "Postprocessing html files") > >- INSTALL(DIRECTORY ${DOCDIR}/ >- DESTINATION ${DOCINSTALL}/) >+ INSTALL( >+ DIRECTORY ${DOCDIR}/ >+ DESTINATION ${DOCINSTALL}/ >+ OPTIONAL >+ ) > > ELSE() > ADD_CUSTOM_TARGET (doc_cpp >diff -r c1fedd61994d include/vigra/colorconversions.hxx >--- a/include/vigra/colorconversions.hxx Tue Apr 20 18:28:54 2010 +0200 >+++ b/include/vigra/colorconversions.hxx Wed Apr 21 17:01:43 2010 +0200 >@@ -832,14 +832,14 @@ > The maximum value for each RGB component defaults to 255. > */ > RGBPrime2XYZFunctor() >- : max_(component_type(255.0)), gamma_(1.0/ 0.45) >+ : gamma_(1.0/ 0.45), max_(component_type(255.0)) > {} > > /** constructor > \arg max - the maximum value for each RGB component > */ > RGBPrime2XYZFunctor(component_type max) >- : max_(max), gamma_(1.0/ 0.45) >+ : gamma_(1.0/ 0.45), max_(max) > {} > > /** apply the transformation >@@ -998,14 +998,14 @@ > The maximum value for each RGB component defaults to 255. > */ > XYZ2RGBPrimeFunctor() >- : max_(component_type(255.0)), gamma_(0.45) >+ : gamma_(0.45), max_(component_type(255.0)) > {} > > /** constructor > \arg max - the maximum value for each RGB component > */ > XYZ2RGBPrimeFunctor(component_type max) >- : max_(max), gamma_(0.45) >+ : gamma_(0.45), max_(max) > {} > > /** apply the transformation >diff -r c1fedd61994d include/vigra/numpy_array.hxx >--- a/include/vigra/numpy_array.hxx Tue Apr 20 18:28:54 2010 +0200 >+++ b/include/vigra/numpy_array.hxx Wed Apr 21 17:01:43 2010 +0200 >@@ -36,6 +36,7 @@ > #ifndef VIGRA_NUMPY_ARRAY_HXX > #define VIGRA_NUMPY_ARRAY_HXX > >+#include <Python.h> > #include <iostream> > #include <algorithm> > #include <complex> >@@ -46,7 +47,6 @@ > #include <vigra/array_vector.hxx> > #include <vigra/sized_int.hxx> > #include <vigra/python_utility.hxx> >-#include <Python.h> > #include <numpy/arrayobject.h> > > int _import_array(); >diff -r c1fedd61994d include/vigra/python_utility.hxx >--- a/include/vigra/python_utility.hxx Tue Apr 20 18:28:54 2010 +0200 >+++ b/include/vigra/python_utility.hxx Wed Apr 21 17:01:43 2010 +0200 >@@ -36,8 +36,8 @@ > #ifndef VIGRA_PYTHON_UTILITY_HXX > #define VIGRA_PYTHON_UTILITY_HXX > >+#include <Python.h> > #include <algorithm> >-#include <Python.h> > #include "vigra/error.hxx" > #include "vigra/tinyvector.hxx" > >diff -r c1fedd61994d vigranumpy/src/core/impex.cxx >--- a/vigranumpy/src/core/impex.cxx Tue Apr 20 18:28:54 2010 +0200 >+++ b/vigranumpy/src/core/impex.cxx Wed Apr 21 17:01:43 2010 +0200 >@@ -36,14 +36,14 @@ > #define PY_ARRAY_UNIQUE_SYMBOL vigranumpyimpex_PyArray_API > //#define NO_IMPORT_ARRAY > >-#include <iostream> >-#include <cstring> >-#include <cstdio> > #include "vigra/numpy_array.hxx" > #include "vigra/impex.hxx" > #include "vigra/multi_impex.hxx" > #include <vigra/numpy_array_converters.hxx> > #include "vigra/hdf5impex.hxx" >+#include <iostream> >+#include <cstring> >+#include <cstdio> > > namespace python = boost::python; > >diff -r c1fedd61994d vigranumpy/src/core/kernel.cxx >--- a/vigranumpy/src/core/kernel.cxx Tue Apr 20 18:28:54 2010 +0200 >+++ b/vigranumpy/src/core/kernel.cxx Wed Apr 21 17:01:43 2010 +0200 >@@ -36,8 +36,8 @@ > #define PY_ARRAY_UNIQUE_SYMBOL vigranumpyfilters_PyArray_API > #define NO_IMPORT_ARRAY > >+#include <Python.h> > #include <iostream> >-#include <Python.h> > #include <boost/python.hpp> > #include <vigra/numpy_array.hxx> > #include <vigra/numpy_array_converters.hxx> >diff -r c1fedd61994d vigranumpy/src/core/vigranumpycore.cxx >--- a/vigranumpy/src/core/vigranumpycore.cxx Tue Apr 20 18:28:54 2010 +0200 >+++ b/vigranumpy/src/core/vigranumpycore.cxx Wed Apr 21 17:01:43 2010 +0200 >@@ -35,8 +35,8 @@ > > #define PY_ARRAY_UNIQUE_SYMBOL vigranumpycore_PyArray_API > >+#include <Python.h> > #include <iostream> >-#include <Python.h> > #include <boost/python.hpp> > #include <vigra/numpy_array.hxx> > #include <vigra/numpy_array_converters.hxx>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 316549
:
228635
|
228637
|
228647
|
228649