pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

picom: fix a compilation error



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu May 1 00:29:24 2025 +0200
Changeset:	74d99192f532ce1e9ee615731b49c17baaeae538

Modified Files:
	picom/distinfo
Added Files:
	picom/patches/patch-src_config.c

Log Message:
picom: fix a compilation error

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=74d99192f532ce1e9ee615731b49c17baaeae538

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 picom/distinfo                   |  1 +
 picom/patches/patch-src_config.c | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)

diffs:
diff --git a/picom/distinfo b/picom/distinfo
index 3d5114aadf..189aa0aa9a 100644
--- a/picom/distinfo
+++ b/picom/distinfo
@@ -3,3 +3,4 @@ $NetBSD: distinfo,v 1.10 2024/08/06 13:39:40 nia Exp $
 BLAKE2s (picom-12.5.tar.gz) = f6dea7e1c86386eb68905d43a3371ae339fa7d90367b95995f2317bd4c0231f5
 SHA512 (picom-12.5.tar.gz) = e4e8d8d6edc5fd5115ee880ee36e3b217b07336e09c457a3eb9a4824c19ac4f98ae807c3a902f327e7a2d036e2ae2d1ab2a5da8bdee47e33e49faebf4893a78b
 Size (picom-12.5.tar.gz) = 674165 bytes
+SHA1 (patch-src_config.c) = 59cbda328156ba888d4f1da845c7f054b7d69fbf
diff --git a/picom/patches/patch-src_config.c b/picom/patches/patch-src_config.c
new file mode 100644
index 0000000000..4774c4393b
--- /dev/null
+++ b/picom/patches/patch-src_config.c
@@ -0,0 +1,18 @@
+$NetBSD$
+
+../src/config.c: In function 'parse_window_shader_prefix_with_cwd':
+../src/config.c:625:78: error: parameter name omitted
+  625 | void *parse_window_shader_prefix_with_cwd(const char *src, const char **end, void *) {
+      |                                                                              ^~~~~~
+
+--- src/config.c.orig	2025-04-30 22:28:32.936786751 +0000
++++ src/config.c
+@@ -622,7 +622,7 @@ void *parse_window_shader_prefix(const c
+ 	*end = endptr + 1;
+ 	return shader_source;
+ }
+-void *parse_window_shader_prefix_with_cwd(const char *src, const char **end, void *) {
++void *parse_window_shader_prefix_with_cwd(const char *src, const char **end, void *foo) {
+ 	scoped_charp cwd = getcwd(NULL, 0);
+ 	return parse_window_shader_prefix(src, end, cwd);
+ }


Home | Main Index | Thread Index | Old Index