Date: Saturday, May 30, 2020 @ 21:26:28 Author: arojas Revision: 637533
BUILDINFO rebuild Added: wlc/trunk/wlc-missing-header.patch Modified: wlc/trunk/PKGBUILD --------------------------+ PKGBUILD | 15 ++++++++++----- wlc-missing-header.patch | 22 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-30 21:05:18 UTC (rev 637532) +++ PKGBUILD 2020-05-30 21:26:28 UTC (rev 637533) @@ -1,6 +1,6 @@ pkgname=wlc pkgver=0.0.11 -pkgrel=1 +pkgrel=2 pkgdesc="Wayland Compositor Library" url="https://github.com/Cloudef/wlc" arch=("x86_64") @@ -13,20 +13,25 @@ source=( "https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2" "https://github.com/Cloudef/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.bz2.asc" + wlc-missing-header.patch ) -sha256sums=( - "c2061f5d6c627688ea8b822ac5f4d3ba4d407b3f8d79267677ce4011b6390d22" - "SKIP" -) +sha256sums=('c2061f5d6c627688ea8b822ac5f4d3ba4d407b3f8d79267677ce4011b6390d22' + 'SKIP' + '605a7d7b5d5d3b5c771ee9e262836b6073be89aa5737328b66ebe835bec828a6') validpgpkeys=( "C2AA3C3A6F9B1F932014879EF769BB961AF6D26A" "9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A" # Drew DeVault <s...@cmpwn.com> ) +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../wlc-missing-header.patch +} build() { mkdir -p build cd build + CFLAGS+=' -fcommon' cmake "$srcdir/$pkgname-$pkgver" \ -DCMAKE_BUILD_TYPE=Upstream \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \ Added: wlc-missing-header.patch =================================================================== --- wlc-missing-header.patch (rev 0) +++ wlc-missing-header.patch 2020-05-30 21:26:28 UTC (rev 637533) @@ -0,0 +1,22 @@ +--- wlc-0.0.11/src/platform/render/gles2.c.orig 2020-05-30 20:59:49.759731716 +0000 ++++ wlc-0.0.11/src/platform/render/gles2.c 2020-05-30 21:00:29.300322929 +0000 +@@ -4,6 +4,9 @@ + #include <dlfcn.h> + #include <GLES2/gl2.h> + #include <GLES2/gl2ext.h> ++#include <EGL/egl.h> ++#include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include <wayland-server.h> + #include <chck/string/string.h> + #include "internal.h" +--- wlc-0.0.11/src/platform/context/egl.c.orig 2020-05-30 21:02:22.835353572 +0000 ++++ wlc-0.0.11/src/platform/context/egl.c 2020-05-30 20:57:57.000000000 +0000 +@@ -4,6 +4,7 @@ + #include <assert.h> + #include <EGL/egl.h> + #include <EGL/eglext.h> ++#include <EGL/eglmesaext.h> + #include <wayland-server.h> + #include <chck/string/string.h> + #include "internal.h"