mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
switchboard-plug-printers: fix build
This commit is contained in:
parent
8786d9875b
commit
ed57e49421
1 changed files with 23 additions and 0 deletions
23
srcpkgs/switchboard-plug-printers/patches/ftbfs.patch
Normal file
23
srcpkgs/switchboard-plug-printers/patches/ftbfs.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
From 3175c2ebf106145a95355d2571e0a2aa4834e884 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Enerccio <admin@en-circle.com>
|
||||||
|
Date: Tue, 17 Sep 2019 15:31:37 +0200
|
||||||
|
Subject: [PATCH] Update cups.vapi (#118)
|
||||||
|
|
||||||
|
Fixed bug with compilation
|
||||||
|
---
|
||||||
|
vapi/cups.vapi | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/vapi/cups.vapi b/vapi/cups.vapi
|
||||||
|
index 7f1b795..5dcdba6 100644
|
||||||
|
--- vapi/cups.vapi
|
||||||
|
+++ vapi/cups.vapi
|
||||||
|
@@ -605,7 +605,7 @@ namespace CUPS {
|
||||||
|
[CCode (cname = "ippAddBooleans")]
|
||||||
|
private unowned Attribute _add_booleans (Tag group, string name, [CCode (array_length_pos = 0.9)] char[] values);
|
||||||
|
public unowned Attribute add_booleans (Tag group, string name, bool[] values) {
|
||||||
|
- char[] char_values;
|
||||||
|
+ char[] char_values = {};
|
||||||
|
foreach (var val in values) {
|
||||||
|
char_values += val ? 1 : 0;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue