Bug 215023

Summary: sysutils/cpuid: update to 20161201
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Jason E. Hale <jhale>
Status: Closed FIXED    
Severity: Affects Only Me CC: jhale, mizhka
Priority: --- Flags: pkubaj: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
patch pkubaj: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2016-12-03 10:17:44 UTC
Created attachment 177629 [details]
patch

This patch updates the port to version 20161201.

It builds fine on Poudriere on 10.3.
Comment 1 Michael Zhilin freebsd_committer freebsd_triage 2016-12-03 17:14:51 UTC
It's also worth to update patch to fix warning:
cc  -pipe -g -O2 -fstack-protector -fno-strict-aliasing -g  -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -D_FILE_OFFSET_BITS=64 -DVERSION=20161201 -pthread  -fstack-protector -o cpuid cpuid.c
gzip < cpuid.man > cpuid.man.gz
pod2man -r "20161201" -c "" cpuinfo2cpuid > cpuinfo2cpuid.man
cpuid.c:65:9: warning: 'MAX' macro redefined [-Wmacro-redefined]
#define MAX(l,r)            ((l) > (r) ? (l) : (r))
        ^
/usr/include/sys/param.h:302:9: note: previous definition is here
#define MAX(a,b) (((a)>(b))?(a):(b))
        ^
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2016-12-03 21:25:59 UTC
Created attachment 177640 [details]
patch

Fixed.
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-12-04 01:57:38 UTC
A commit references this bug:

Author: jhale
Date: Sun Dec  4 01:56:51 UTC 2016
New revision: 427752
URL: https://svnweb.freebsd.org/changeset/ports/427752

Log:
  Update to 20161201

  PR:		215023
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> (maintainer)

Changes:
  head/sysutils/cpuid/Makefile
  head/sysutils/cpuid/distinfo
  head/sysutils/cpuid/files/patch-cpuid.c
Comment 4 Jason E. Hale freebsd_committer freebsd_triage 2016-12-04 01:58:14 UTC
Committed, thanks!