summaryrefslogtreecommitdiff
path: root/media-libs/vigra/files/vigra-1.11.0-gcc-7.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/vigra/files/vigra-1.11.0-gcc-7.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/vigra/files/vigra-1.11.0-gcc-7.patch')
-rw-r--r--media-libs/vigra/files/vigra-1.11.0-gcc-7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/vigra/files/vigra-1.11.0-gcc-7.patch b/media-libs/vigra/files/vigra-1.11.0-gcc-7.patch
new file mode 100644
index 000000000000..4aaba64ed5e9
--- /dev/null
+++ b/media-libs/vigra/files/vigra-1.11.0-gcc-7.patch
@@ -0,0 +1,13 @@
+diff --git a/include/vigra/imagecontainer.hxx b/include/vigra/imagecontainer.hxx
+index a6f0f80..636cc64 100644
+--- a/include/vigra/imagecontainer.hxx
++++ b/include/vigra/imagecontainer.hxx
+@@ -763,7 +763,7 @@ public:
+ /** swap contents of this array with the contents of other
+ (STL-Container interface)
+ */
+- void swap(const ImagePyramid<ImageType, Alloc> &other)
++ void swap(ImagePyramid<ImageType, Alloc> &other)
+ {
+ images_.swap(other.images_);
+ std::swap(lowestLevel_, other.lowestLevel_);