aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2018-01-23 05:29:18 +0800
committermadpilot <madpilot@FreeBSD.org>2018-01-23 05:29:18 +0800
commitd4f0c8bde4232486d369b4fb11d17f66dd86a357 (patch)
treeb43aedbd4eebde0ae0522e6bba98d0fc26a9a387 /multimedia
parent7112ac6210ebbe0c8d6875f92db841c3a8973fd0 (diff)
downloadfreebsd-ports-gnome-d4f0c8bde4232486d369b4fb11d17f66dd86a357.tar.gz
freebsd-ports-gnome-d4f0c8bde4232486d369b4fb11d17f66dd86a357.tar.zst
freebsd-ports-gnome-d4f0c8bde4232486d369b4fb11d17f66dd86a357.zip
Fix build with clang 6.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libvdpau-va-gl/files/patch-src_entry.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/libvdpau-va-gl/files/patch-src_entry.cc b/multimedia/libvdpau-va-gl/files/patch-src_entry.cc
new file mode 100644
index 000000000000..6305e59a5dba
--- /dev/null
+++ b/multimedia/libvdpau-va-gl/files/patch-src_entry.cc
@@ -0,0 +1,10 @@
+--- src/entry.cc.orig 2016-09-27 14:21:12 UTC
++++ src/entry.cc
+@@ -22,7 +22,6 @@
+ * SOFTWARE.
+ */
+
+-#define _XOPEN_SOURCE 500
+ #include "api.hh"
+ #include "compat.hh"
+ #include "globals.hh"
under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.