• 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/mesa3d-demos/0003-demos-x11-fix.patch
Spenser GillilandSpenser Gilliland committed 8011e4ffc5917 Oct 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
This patch ensures that programs which depend on x11 are not build if x11
is not available.
​
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
Index: mesa3d-demos-8.1.0/src/egl/opengles2/Makefile.am
===================================================================
--- mesa3d-demos-8.1.0.orig/src/egl/opengles2/Makefile.am
+++ mesa3d-demos-8.1.0/src/egl/opengles2/Makefile.am
@@ -35,9 +35,10 @@ AM_LDFLAGS = \
 
 if HAVE_EGL
 if HAVE_GLESV2
-bin_PROGRAMS = \
+bin_PROGRAMS = es2gears_screen
+if HAVE_X11
+bin_PROGRAMS += \
    es2_info \
-   es2gears_screen \
    es2gears_x11 \
    es2tri
 if HAVE_WAYLAND
@@ -45,6 +46,7 @@ bin_PROGRAMS += es2gears_wayland
 endif
 endif
 endif
+endif
 
 es2_info_LDADD = $(X11_LIBS)
 es2tri_LDADD = $(X11_LIBS)
  • 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.