mate-power-manager: update to 1.26.0.

This commit is contained in:
skmpz 2021-08-27 13:31:01 +04:00 committed by Andrew Benson
parent 0c1731a87a
commit 3d13379276
2 changed files with 6 additions and 90 deletions

View file

@ -1,84 +0,0 @@
--- a/src/egg-debug.c 2015-11-07 07:50:36.623167156 +0100
+++ b/src/egg-debug.c 2015-11-07 07:51:46.719072134 +0100
@@ -39,7 +39,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
+#ifdef __GLIBC__
#include <execinfo.h>
+#endif
#include "egg-debug.h"
@@ -78,6 +80,7 @@ pk_set_console_mode (guint console_code)
void
egg_debug_backtrace (void)
{
+#ifdef __GLIBC__
void *call_stack[512];
int call_stack_size;
char **symbols;
@@ -95,6 +98,7 @@ egg_debug_backtrace (void)
pk_set_console_mode (CONSOLE_RESET);
free (symbols);
}
+#endif
}
/**
--- a/applets/brightness/egg-debug.c 2015-11-07 07:52:33.320008962 +0100
+++ b/applets/brightness/egg-debug.c 2015-11-07 07:53:09.302960183 +0100
@@ -39,7 +39,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
+#ifdef __GLIBC__
#include <execinfo.h>
+#endif
#include "egg-debug.h"
@@ -78,6 +80,7 @@ pk_set_console_mode (guint console_code)
void
egg_debug_backtrace (void)
{
+#ifdef __GLIBC__
void *call_stack[512];
int call_stack_size;
char **symbols;
@@ -95,6 +98,7 @@ egg_debug_backtrace (void)
pk_set_console_mode (CONSOLE_RESET);
free (symbols);
}
+#endif
}
/**
--- a/applets/inhibit/egg-debug.c 2015-11-07 07:53:32.815928309 +0100
+++ b/applets/inhibit/egg-debug.c 2015-11-07 07:53:55.503897553 +0100
@@ -39,7 +39,9 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
+#ifdef __GLIBC__
#include <execinfo.h>
+#endif
#include "egg-debug.h"
@@ -78,6 +80,7 @@ pk_set_console_mode (guint console_code)
void
egg_debug_backtrace (void)
{
+#ifdef __GLIBC__
void *call_stack[512];
int call_stack_size;
char **symbols;
@@ -95,6 +98,7 @@ egg_debug_backtrace (void)
pk_set_console_mode (CONSOLE_RESET);
free (symbols);
}
+#endif
}
/**

View file

@ -1,17 +1,17 @@
# Template file for 'mate-power-manager'
pkgname=mate-power-manager
version=1.24.2
version=1.26.0
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool libtool glib-devel dbus-glib-devel
polkit"
hostmakedepends="pkg-config intltool itstool libtool glib-devel dbus-glib-devel polkit"
makedepends="libcanberra-devel libgnome-keyring-devel libmate-panel-devel
libnotify-devel upower-devel"
libnotify-devel upower-devel libsecret-devel"
depends="dconf upower"
short_desc="Power management tool for the MATE desktop"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/mate-power-manager/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=d24b9fce23b086817d5494f7e65e58f18367af6eb5d0d4ade45de5396e20d13a
checksum=26b603ccf077366414a41e91ca6aa4c4c227a8e9fb6925a8ec5ca147c4e67b79