- Update to 3.0

Changes:	http://git.savannah.gnu.org/cgit/dmidecode.git/tree/CHANGELOG
PR:		205070
Submitted by:	pi
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-12-21 18:35:57 +00:00
parent e40656d6cf
commit faf59c66a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404175
3 changed files with 10 additions and 8 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= dmidecode
PORTVERSION= 2.12
PORTREVISION= 2
PORTVERSION= 3.0
CATEGORIES= sysutils
MASTER_SITES= SAVANNAH
@ -16,7 +15,7 @@ OPTIONS_DEFINE= DOCS
ONLY_FOR_ARCHS= i386 amd64 ia64
MAKE_ENV= DOCSDIR="${DOCSDIR}"
USES= tar:bzip2
USES= tar:xz
PLIST_FILES= etc/periodic/daily/dmidecode \
man/man8/dmidecode.8.gz \

View file

@ -1,2 +1,2 @@
SHA256 (dmidecode-2.12.tar.bz2) = 913ff3055d563a62a420789b8ee33b038de9afa18ea61254760ddf8ab87a5088
SIZE (dmidecode-2.12.tar.bz2) = 55191
SHA256 (dmidecode-3.0.tar.xz) = 7ec35bb193729c1d593a1460b59d82d24b89102ab23fd0416e6cf4325d077e45
SIZE (dmidecode-3.0.tar.xz) = 58704

View file

@ -1,14 +1,17 @@
--- Makefile.orig 2010-10-11 14:08:16 UTC
--- Makefile.orig 2015-09-03 06:03:19 UTC
+++ Makefile
@@ -12,30 +12,29 @@
@@ -12,8 +12,8 @@
# (at your option) any later version.
#
-CC = gcc
-CFLAGS = -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
+#CC = gcc
+CFLAGS+= -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef
#CFLAGS += -DBIGENDIAN
# Let lseek and mmap support 64-bit wide offsets
@@ -23,23 +23,23 @@ CFLAGS += -D_FILE_OFFSET_BITS=64
#CFLAGS += -DALIGNMENT_WORKAROUND
# When debugging, disable -O2 and enable -g.