mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
RyzenAdj: update to 0.8.2
This commit is contained in:
parent
df1ac22eae
commit
29ad43fb1d
2 changed files with 3 additions and 39 deletions
|
@ -1,36 +0,0 @@
|
||||||
From 6efee1997c468150f472941f0f183fc054b436a4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: unknown <Falcosc@users.noreply.github.com>
|
|
||||||
Date: Sat, 27 Feb 2021 01:26:18 +0100
|
|
||||||
Subject: [PATCH] fix Heap corruption
|
|
||||||
|
|
||||||
---
|
|
||||||
lib/nb_smu_ops.c | 2 +-
|
|
||||||
lib/ryzenadj.h | 2 +-
|
|
||||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/lib/nb_smu_ops.c b/lib/nb_smu_ops.c
|
|
||||||
index 965264c..2c31b48 100644
|
|
||||||
--- a/lib/nb_smu_ops.c
|
|
||||||
+++ b/lib/nb_smu_ops.c
|
|
||||||
@@ -45,7 +45,7 @@ smu_t get_smu(nb_t nb, int smu_type) {
|
|
||||||
uint32_t rep; /* REP of test message */
|
|
||||||
smu_service_args_t arg = {0, 0, 0, 0, 0, 0}; /* Test message shuld have no arguments */
|
|
||||||
|
|
||||||
- smu = (smu_t)malloc((sizeof(smu_t)));
|
|
||||||
+ smu = (smu_t)malloc((sizeof(*smu)));
|
|
||||||
smu->nb = nb;
|
|
||||||
/* Fill SMU information */
|
|
||||||
switch(smu_type){
|
|
||||||
diff --git a/lib/ryzenadj.h b/lib/ryzenadj.h
|
|
||||||
index 6f18ade..90c94ee 100644
|
|
||||||
--- a/lib/ryzenadj.h
|
|
||||||
+++ b/lib/ryzenadj.h
|
|
||||||
@@ -10,7 +10,7 @@ extern "C" {
|
|
||||||
|
|
||||||
#define RYZENADJ_REVISION_VER 0
|
|
||||||
#define RYZENADJ_MAJOR_VER 7
|
|
||||||
-#define RYZENADJ_MINIOR_VER 0
|
|
||||||
+#define RYZENADJ_MINIOR_VER 1
|
|
||||||
|
|
||||||
enum ryzen_family {
|
|
||||||
FAM_UNKNOWN = -1,
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'RyzenAdj'
|
# Template file for 'RyzenAdj'
|
||||||
pkgname=RyzenAdj
|
pkgname=RyzenAdj
|
||||||
version=0.7.0
|
version=0.8.2
|
||||||
revision=2
|
revision=1
|
||||||
archs="x86_64*"
|
archs="x86_64*"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
makedepends="pciutils-devel"
|
makedepends="pciutils-devel"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="maciozo <maciozo@maciozo.com>"
|
||||||
license="LGPL-3.0-only"
|
license="LGPL-3.0-only"
|
||||||
homepage="https://github.com/FlyGoat/RyzenAdj"
|
homepage="https://github.com/FlyGoat/RyzenAdj"
|
||||||
distfiles="https://github.com/FlyGoat/RyzenAdj/archive/v${version}.tar.gz"
|
distfiles="https://github.com/FlyGoat/RyzenAdj/archive/v${version}.tar.gz"
|
||||||
checksum=fff8a08e657ba35f919bd564fbe2e15e7c615ac6e2a357ffcc3472069e8081f6
|
checksum=fc4f60700afb781aca510e7522befb9db8d717d059781a3f7fcf9c16dec00987
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/ryzenadj
|
vbin build/ryzenadj
|
||||||
|
|
Loading…
Add table
Reference in a new issue