mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
glava: update to 1.6.0.
This commit is contained in:
parent
10bfeb65f8
commit
6e44490dbe
3 changed files with 2 additions and 57 deletions
|
@ -1,27 +0,0 @@
|
||||||
From 4705699bb680e574469b11a037acfc83f091d232 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Daniel Santana <daniel@santana.tech>
|
|
||||||
Date: Fri, 4 Jan 2019 22:23:52 -0200
|
|
||||||
Subject: [PATCH] Fix musl build
|
|
||||||
|
|
||||||
---
|
|
||||||
glava.c | 4 ++++
|
|
||||||
1 file changed, 4 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/glava.c b/glava.c
|
|
||||||
index dcb650f..758c8f0 100644
|
|
||||||
--- a/glava.c
|
|
||||||
+++ b/glava.c
|
|
||||||
@@ -69,6 +69,10 @@
|
|
||||||
#error "Unsupported target system"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#ifndef ACCESSPERMS
|
|
||||||
+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
/* Copy installed shaders/configuration from the installed location
|
|
||||||
(usually /etc/xdg). Modules (folders) will be linked instead of
|
|
||||||
copied. */
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
From 3ef23f0db8c81fd6091a7303214901ba0d68d0c0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Daniel Santana <daniel@santana.tech>
|
|
||||||
Date: Fri, 4 Jan 2019 21:57:52 -0200
|
|
||||||
Subject: [PATCH] Use SONAMEs when loading GLX libs dinamically
|
|
||||||
|
|
||||||
---
|
|
||||||
glx_wcb.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/glx_wcb.c b/glx_wcb.c
|
|
||||||
index 4827152..d0afc0b 100644
|
|
||||||
--- a/glx_wcb.c
|
|
||||||
+++ b/glx_wcb.c
|
|
||||||
@@ -193,8 +193,8 @@ static void init(void) {
|
|
||||||
maximized = false;
|
|
||||||
transparent = false;
|
|
||||||
|
|
||||||
- void* hgl = dlopen("libGL.so", RTLD_LAZY);
|
|
||||||
- void* hglx = dlopen("libGLX.so", RTLD_LAZY);
|
|
||||||
+ void* hgl = dlopen("libGL.so.1", RTLD_LAZY);
|
|
||||||
+ void* hglx = dlopen("libGLX.so.0", RTLD_LAZY);
|
|
||||||
|
|
||||||
if (!hgl && !hglx) {
|
|
||||||
fprintf(stderr, "Failed to load GLX functions (libGL and libGLX do not exist!)\n");
|
|
||||||
--
|
|
||||||
2.20.1
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'glava'
|
# Template file for 'glava'
|
||||||
pkgname=glava
|
pkgname=glava
|
||||||
version=1.5.8
|
version=1.6.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_use_env=yes
|
make_use_env=yes
|
||||||
|
@ -10,5 +10,4 @@ maintainer="Daniel Santana <daniel@santana.tech>"
|
||||||
license="GPL-3.0-only"
|
license="GPL-3.0-only"
|
||||||
homepage="https://github.com/wacossusca34/glava"
|
homepage="https://github.com/wacossusca34/glava"
|
||||||
distfiles="https://github.com/wacossusca34/glava/archive/v${version}.tar.gz"
|
distfiles="https://github.com/wacossusca34/glava/archive/v${version}.tar.gz"
|
||||||
checksum=3dab12f87512f97c43a309da7aee5014c48a1cc7188949712c0665777f9a98d7
|
checksum=524524771b61139c7d877ce90ef35221788d129b715088934d28fd2eacd987a0
|
||||||
patch_args="-Np1"
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue