[Mesa-dev] [PATCH] Android: fix build break in libmesa_program

Ilia Mirkin imirkin at alum.mit.edu
Wed Feb 10 22:33:02 UTC 2016


I think prog_statevars.c needs to be fixed instead to include
"main/framebuffer.h". I wonder why that worked in the regular build =/

On Wed, Feb 10, 2016 at 5:10 PM, Rob Herring <robh at kernel.org> wrote:
> Commit 5fd848f6c9ee ("program: Use _mesa_geometric_samples to calculate
> gl_NumSamples") broken Android builds. Add the missing include path to fix
> it.
>
> Cc: Neil Roberts <neil at linux.intel.com>
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
> Another rebase to master, another build break. This has a trivial
> conflict with the previous compiler move patch.
>
>  src/mesa/program/Android.mk | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/program/Android.mk b/src/mesa/program/Android.mk
> index 6f48543..07c02bc 100644
> --- a/src/mesa/program/Android.mk
> +++ b/src/mesa/program/Android.mk
> @@ -74,6 +74,7 @@ $(intermediates)/program/lex.yy.c: $(LOCAL_PATH)/program_lexer.l
>  LOCAL_C_INCLUDES := \
>         $(MESA_TOP)/src/mapi \
>         $(MESA_TOP)/src/mesa \
> +       $(MESA_TOP)/src/mesa/main \
>         $(MESA_TOP)/src/compiler/nir \
>         $(MESA_TOP)/src/gallium/auxiliary \
>         $(MESA_TOP)/src/gallium/include
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list