summaryrefslogtreecommitdiff
path: root/media-libs/mlt/files/mlt-7.6.0-impl-func-decl-gps_parser.patch
blob: 7961d3118b7986c251487a63862dcafe62fb1955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
https://github.com/mltframework/mlt/commit/ec02baf63fd062c1b2492de6aef17ff600f08571
https://github.com/mltframework/mlt/issues/788

From: Dan Dennedy <dan@dennedy.org>
Date: Thu, 28 Apr 2022 21:20:44 -0700
Subject: [PATCH] fix #788 compile warning

--- a/src/modules/xml/gps_parser.c
+++ b/src/modules/xml/gps_parser.c
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#define __USE_XOPEN
+#define _GNU_SOURCE
+
 #include "gps_parser.h"
 #include <inttypes.h>