Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37489409
en ru br
Репозитории ALT
S:1.1-alt2
5.1: 0.9svn1082-alt2
www.altlinux.org/Changes

Другие репозитории
Upstream:0.9beta9.1

Группа :: Звук
Пакет: aqualung

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: aqualung-1.1-var-collision.patch
Скачать


From e49f31ba779c938fa6dd3eaf848c68735e3386f5 Mon Sep 17 00:00:00 2001
From: Adam Sampson <ats@offog.org>
Date: Sun, 10 Jan 2021 22:32:04 +0000
Subject: [PATCH] Don't call a variable "bool".
If one of the headers happens to #include <stdbool.h>, this'll clash
with the C99 type definition.
---
 src/build_store.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/build_store.c b/src/build_store.c
index 56b0eaf..ed4bfca 100644
--- a/src/build_store.c
+++ b/src/build_store.c
@@ -382,12 +382,12 @@ data_src_cell_toggled(GtkCellRendererToggle * cell, gchar * path, gpointer data)
 	data_src_gui_t * gui = (data_src_gui_t *)data;
 
 	if (gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(gui->list), &iter, path)) {
-		gboolean bool;
+		gboolean value;
 		int type;
 
-		gtk_tree_model_get(GTK_TREE_MODEL(gui->list), &iter, 0, &bool, 1, &type, -1);
+		gtk_tree_model_get(GTK_TREE_MODEL(gui->list), &iter, 0, &value, 1, &type, -1);
 		gtk_list_store_set(GTK_LIST_STORE(gui->list), &iter,
-				   0, !bool && (type != DATA_SRC_CDDB || gui->model->cddb_mask), -1);
+				   0, !value && (type != DATA_SRC_CDDB || gui->model->cddb_mask), -1);
 	}
 }
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin