Skip to content

Commit

Permalink
mesa: fix bug in header
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jan 4, 2025
1 parent 1666809 commit a468f54
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x11/mesa/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name mesa
conflicts gl-headers
epoch 1
version 24.3.2
revision 0
revision 1
checksums rmd160 37e3482c994b41959837267f02a522dabe21bd2d \
sha256 ad9f5f3a6d2169e4786254ee6eb5062f746d11b826739291205d360f1f3ff716 \
size 30640276
Expand Down Expand Up @@ -58,6 +58,10 @@ patchfiles patch-meson-spec-python.diff \
patch-fix-build.diff \
patch-fix-linking.diff

# Fix a bug in headers:
# https://gitlab.freedesktop.org/mesa/mesa/-/commit/346f4d3c11b7299b10617606d8c830c4ccf1ff48
patchfiles-append 346f4d3c11b7299b10617606d8c830c4ccf1ff48.diff

# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32658
patchfiles-append patch-fix-32-bit.diff

Expand Down
12 changes: 12 additions & 0 deletions x11/mesa/files/346f4d3c11b7299b10617606d8c830c4ccf1ff48.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index 87c046b254524eccb856ce29a325a0c8fcd028f2..a4d576ecda2f346ae0b3d9a82901b1d61809ab97 100644
--- include/GL/internal/dri_interface.h
+++ include/GL/internal/dri_interface.h
@@ -442,7 +442,6 @@ struct mesa_glinterop_device_info;
struct mesa_glinterop_export_in;
struct mesa_glinterop_export_out;
struct mesa_glinterop_flush_out;
-typedef struct __GLsync *GLsync;

struct __DRI2interopExtensionRec {
__DRIextension base;

0 comments on commit a468f54

Please sign in to comment.