Skip to content

Commit

Permalink
package/{mesa3d, mesa3d-headers}: bump version to 23.2.1
Browse files Browse the repository at this point in the history
Rebased patches 0002 & 0004.
Removed patch 0006 which is included in this release.

Release notes:
https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.2/docs/relnotes/23.2.1.rst

Signed-off-by: Bernd Kuhls <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
bkuhls authored and tpetazzoni committed Nov 4, 2023
1 parent ce91812 commit 1b8d7e7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 61 deletions.
2 changes: 1 addition & 1 deletion package/mesa3d-headers/mesa3d-headers.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif

# Not possible to directly refer to mesa3d variables, because of
# first/second expansion trickery...
MESA3D_HEADERS_VERSION = 23.1.8
MESA3D_HEADERS_VERSION = 23.2.1
MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz
MESA3D_HEADERS_SITE = https://archive.mesa3d.org
MESA3D_HEADERS_DL_SUBDIR = mesa3d
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ to force disabling it at compile time.
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4114
Signed-off-by: Peter Seiderer <[email protected]>
Signed-off-by: Bernd Kuhls <[email protected]>
[rebased for 20.2.0, 20.3.0, 21.1.0 & 23.1.0]
[rebased for 20.2.0, 20.3.0, 21.1.0, 23.1.0 & 23.2.0]
Signed-off-by: Peter Seiderer <[email protected]>
[fix syntax error after previous rebases]
---
Expand All @@ -23,7 +23,7 @@ diff --git a/meson_options.txt b/meson_options.txt
index 8e0bf2a..1cf0e07 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -116,6 +116,13 @@ option(
@@ -124,6 +124,13 @@ option(
description : 'enable gallium va frontend.',
)

Expand Down
19 changes: 11 additions & 8 deletions package/mesa3d/0004-Fix-uClibc-build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Fixes build errors with uClibc and gcc-9.3.0:
Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13898

Signed-off-by: Bernd Kuhls <[email protected]>
[rebased for 23.2.0]
Signed-off-by: Bernd Kuhls <[email protected]>
---
src/util/compiler.h | 10 ++++++++++
src/util/macros.h | 1 +
Expand All @@ -35,10 +37,11 @@ diff --git a/src/util/compiler.h b/src/util/compiler.h
index d184ad455af..b5c56807acc 100644
--- a/src/util/compiler.h
+++ b/src/util/compiler.h
@@ -36,6 +36,16 @@
@@ -35,6 +35,17 @@

#include <assert.h>

#include <assert.h>
+
+/*
+ * C11 static_assert() macro
+ * assert.h only defines that name for C11 and above
Expand All @@ -49,21 +52,21 @@ index d184ad455af..b5c56807acc 100644
+#endif
+#endif
+
#include "util/macros.h"


#include <limits.h>
#include <stdarg.h>
#include <stdbool.h>
diff --git a/src/util/macros.h b/src/util/macros.h
index 22b18303826..8f73ee72693 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -27,6 +27,7 @@
@@ -31,6 +31,7 @@
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
+#include "util/compiler.h"

/* Compute the size of an array */
#ifndef ARRAY_SIZE
#ifdef _GAMING_XBOX
#define strdup _strdup
--
2.34.1

This file was deleted.

5 changes: 2 additions & 3 deletions package/mesa3d/mesa3d.hash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# From https://lists.freedesktop.org/archives/mesa-announce/2023-September/000730.html
sha256 45434ff91a709844130a3174d9c0ef39c6b50725b2bb0c13e736f36134db14ad mesa-23.1.8.tar.xz
sha512 02dc6f8b10dd3827a2b62fba3035726b1b60ec0c3188817deea2ad14f80f332a37272e9f15c5f653f20cecb14f8ff91697d73c89afc83674c19b686a674b677d mesa-23.1.8.tar.xz
# From https://gitlab.freedesktop.org/mesa/mesa/-/blob/23.2/docs/relnotes/23.2.1.rst
sha256 64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc mesa-23.2.1.tar.xz
# License
sha256 a00275a53178e2645fb65be99a785c110513446a5071ff2c698ed260ad917d75 docs/license.rst
2 changes: 1 addition & 1 deletion package/mesa3d/mesa3d.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

# When updating the version, please also update mesa3d-headers
MESA3D_VERSION = 23.1.8
MESA3D_VERSION = 23.2.1
MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz
MESA3D_SITE = https://archive.mesa3d.org
MESA3D_LICENSE = MIT, SGI, Khronos
Expand Down

0 comments on commit 1b8d7e7

Please sign in to comment.