summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-12-05 11:07:07 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-12-05 11:07:18 +0100
commit4ffb125c12109bff6987c033823a8b00d4df4970 (patch)
tree558fa151b0ed45e8233f485d8475f9d6cb93dc9e /media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch
parentmedia-sound/ardour: bump to 5.5, eapi upgrade, lvm2 now mandatory (diff)
downloadgentoo-4ffb125c12109bff6987c033823a8b00d4df4970.tar.gz
gentoo-4ffb125c12109bff6987c033823a8b00d4df4970.tar.bz2
gentoo-4ffb125c12109bff6987c033823a8b00d4df4970.zip
media-video/2mandvd: fix build with gcc6 and ffmpeg 3. Bug #575054.
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch')
-rw-r--r--media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch b/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch
new file mode 100644
index 000000000000..5a16d95ef17f
--- /dev/null
+++ b/media-video/2mandvd/files/2mandvd-1.8.5-gcc6.patch
@@ -0,0 +1,21 @@
+Index: 2ManDVD/tetrahedron.h
+===================================================================
+--- 2ManDVD.orig/tetrahedron.h
++++ 2ManDVD/tetrahedron.h
+@@ -83,7 +83,6 @@ public:
+ float scale_factor;
+ float wg_x;
+ float wdecal;
+- GLfloat light_position[];
+
+ GLfloat anag_x;
+ GLfloat anag_y;
+@@ -427,6 +426,8 @@ private:
+ void dropEvent(QDropEvent *);
+ void dragEnterEvent(QDragEnterEvent *);
+ Qt::DropActions supportedDropActions () const;
++public:
++ GLfloat light_position[];
+ };
+
+ #endif