mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-09 13:32:55 +02:00
parent
c2f41c5ef1
commit
b7009a7043
2 changed files with 23 additions and 1 deletions
22
srcpkgs/ruler/patches/fix-invalid-pointer.patch
Normal file
22
srcpkgs/ruler/patches/fix-invalid-pointer.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From 4ba15fa7a1607ad79b93a43be9a66957988bcec9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brett Mandler <brettmandler@gmail.com>
|
||||||
|
Date: Fri, 11 May 2018 18:55:16 -0400
|
||||||
|
Subject: [PATCH] Fixed invalid pointer error
|
||||||
|
|
||||||
|
---
|
||||||
|
ruler.c | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/ruler.c b/ruler.c
|
||||||
|
index aa1eef1..06b3256 100644
|
||||||
|
--- ruler.c
|
||||||
|
+++ ruler.c
|
||||||
|
@@ -901,7 +901,6 @@ reload_config(void)
|
||||||
|
if (parse_file(xdg_cfg_path) == 1 && no_of_configs == 0)
|
||||||
|
errx(1, "couldn't open config file '%s' (%s). No other config files supplied, exiting", xdg_cfg_path, strerror(errno));
|
||||||
|
free(xdg_cfg_path);
|
||||||
|
- free(xdg_home);
|
||||||
|
|
||||||
|
for (i = 0; i < no_of_configs; i++) {
|
||||||
|
if (parse_file(configs[i]) != 0)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ruler'
|
# Template file for 'ruler'
|
||||||
pkgname=ruler
|
pkgname=ruler
|
||||||
version=0.1.0
|
version=0.1.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
makedepends="xcb-util-wm-devel libxcb-devel libwm"
|
makedepends="xcb-util-wm-devel libxcb-devel libwm"
|
||||||
|
|
Loading…
Add table
Reference in a new issue