• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libvdpau/0001-missing-configh-include.patch
Peter KorsgaardPeter Korsgaard committed f048b0c356820 Mar 2017
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From: Rico Tzschichholz <ricotz@ubuntu.com>
2
Date: Tue, 1 Sep 2015 10:45:11 +0200
3
Subject: mesa_dri2: Add missing include of config.h to define _GNU_SOURCE
4
​
5
Fix build with -Wimplicit-function-declaration while secure_getenv() is
6
guarded by __USE_GNU.
7
​
8
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
9
Tested-by: Stefan Dirsch <sndirsch@suse.de>
10
(cherry picked from commit 1cda354bdfd0c9ca107293b84b52f4464fdbedcc)
11
Signed-off-by: Damien Lanson <damien@kal-host.com>
12
---
13
 src/mesa_dri2.c | 3 +++
14
 1 file changed, 3 insertions(+)
15
​
16
diff --git a/src/mesa_dri2.c b/src/mesa_dri2.c
17
index 51e8794..420ccee 100644
18
--- a/src/mesa_dri2.c
19
+++ b/src/mesa_dri2.c
20
@@ -33,6 +33,9 @@
21
  *   and José Hiram Soltren (jsoltren@nvidia.com)
22
  */
23
 
24
+#ifdef HAVE_CONFIG_H
25
+#include "config.h"
26
+#endif
27
 
28
 #define NEED_REPLIES
29
 #include <X11/Xlibint.h>
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.