memtester: update to 4.5.0

This commit is contained in:
heitbaum 2020-12-13 06:09:14 +00:00
parent f033f50d78
commit 4f32ec3ba8
2 changed files with 2 additions and 41 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="memtester"
PKG_VERSION="4.3.0"
PKG_SHA256="f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88"
PKG_VERSION="4.5.0"
PKG_SHA256="8ed52b0d06d4aeb61954994146e2a5b2d20448a8f3ce3ee995120e6dbde2ae37"
PKG_LICENSE="GPL"
PKG_SITE="http://pyropus.ca/software/memtester/"
PKG_URL="http://pyropus.ca/software/memtester/old-versions/memtester-${PKG_VERSION}.tar.gz"

View File

@ -1,39 +0,0 @@
Description: reorganize variables to fix GCC 10 FTBFS
Define variables in source, make types in header.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/957529
Last-Update: 2020-04-19
---
--- memtester-4.3.0.orig/tests.c
+++ memtester-4.3.0/tests.c
@@ -27,6 +27,9 @@ char progress[] = "-\\|/";
#define PROGRESSOFTEN 2500
#define ONE 0x00000001L
+mword8_t mword8;
+mword16_t mword16;
+
/* Function definitions. */
int compare_regions(ulv *bufa, ulv *bufb, size_t count) {
--- memtester-4.3.0.orig/types.h
+++ memtester-4.3.0/types.h
@@ -25,12 +25,12 @@ struct test {
int (*fp)();
};
-union {
+typedef union {
unsigned char bytes[UL_LEN/8];
ul val;
-} mword8;
+} mword8_t;
-union {
+typedef union {
unsigned short u16s[UL_LEN/16];
ul val;
-} mword16;
+} mword16_t;