Bug 215023 - sysutils/cpuid: update to 20161201
Summary: sysutils/cpuid: update to 20161201
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jason E. Hale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-03 10:17 UTC by Piotr Kubaj
Modified: 2016-12-04 01:58 UTC (History)
2 users (show)

See Also:
pkubaj: maintainer-feedback+


Attachments
patch (833 bytes, patch)
2016-12-03 10:17 UTC, Piotr Kubaj
no flags Details | Diff
patch (2.46 KB, patch)
2016-12-03 21:25 UTC, Piotr Kubaj
pkubaj: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!