svn commit: r549094 - in head/sysutils/memtester: . files
Stefan Eßer
se at FreeBSD.org
Sun Sep 20 11:54:14 UTC 2020
Author: se
Date: Sun Sep 20 11:54:13 2020
New Revision: 549094
URL: https://svnweb.freebsd.org/changeset/ports/549094
Log:
Fix build with -fno-common
Added:
head/sysutils/memtester/files/
head/sysutils/memtester/files/patch-tests.c (contents, props changed)
head/sysutils/memtester/files/patch-types.h (contents, props changed)
Modified:
head/sysutils/memtester/Makefile
Modified: head/sysutils/memtester/Makefile
==============================================================================
--- head/sysutils/memtester/Makefile Sun Sep 20 11:42:45 2020 (r549093)
+++ head/sysutils/memtester/Makefile Sun Sep 20 11:54:13 2020 (r549094)
@@ -3,6 +3,7 @@
PORTNAME= memtester
PORTVERSION= 4.3.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://pyropus.ca/software/${PORTNAME}/old-versions/
Added: head/sysutils/memtester/files/patch-tests.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/memtester/files/patch-tests.c Sun Sep 20 11:54:13 2020 (r549094)
@@ -0,0 +1,19 @@
+--- tests.c.orig 2012-06-09 21:45:22 UTC
++++ tests.c
+@@ -22,6 +22,16 @@
+ #include "sizes.h"
+ #include "memtester.h"
+
++union {
++ unsigned char bytes[UL_LEN/8];
++ ul val;
++} mword8;
++
++union {
++ unsigned short u16s[UL_LEN/16];
++ ul val;
++} mword16;
++
+ char progress[] = "-\\|/";
+ #define PROGRESSLEN 4
+ #define PROGRESSOFTEN 2500
Added: head/sysutils/memtester/files/patch-types.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/memtester/files/patch-types.h Sun Sep 20 11:54:13 2020 (r549094)
@@ -0,0 +1,16 @@
+--- types.h.orig 2012-06-09 21:45:22 UTC
++++ types.h
+@@ -24,13 +24,3 @@ struct test {
+ char *name;
+ int (*fp)();
+ };
+-
+-union {
+- unsigned char bytes[UL_LEN/8];
+- ul val;
+-} mword8;
+-
+-union {
+- unsigned short u16s[UL_LEN/16];
+- ul val;
+-} mword16;
More information about the svn-ports-head
mailing list