Bug 202493 - Fix devel/k8048 builds with clang 3.7.0
Summary: Fix devel/k8048 builds with clang 3.7.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks: 201377
  Show dependency treegraph
 
Reported: 2015-08-19 19:37 UTC by Dimitry Andric
Modified: 2015-08-20 10:42 UTC (History)
0 users

See Also:
bofh: maintainer-feedback+


Attachments
Fix devel/k8048 pedantic-errors with clang 3.7.0 (914 bytes, patch)
2015-08-19 19:37 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2015-08-19 19:37:52 UTC
Created attachment 160112 [details]
Fix devel/k8048 pedantic-errors with clang 3.7.0

During the exp-run in bug 201377, it was found that devel/k8048 gives errors with a recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-07-31_12h04m22s/logs/errors/k8048-3.05.log

This is because the port compiles with -pedantic-errors, and attempts to print an uint8_t * using the %p format.  This can be fixed by casting the pointer to void *.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-08-20 10:41:20 UTC
A commit references this bug:

Author: bofh
Date: Thu Aug 20 10:40:50 UTC 2015
New revision: 394846
URL: https://svnweb.freebsd.org/changeset/ports/394846

Log:
  devel/k8048: Fix pedantic-errors with clang 3.7.0 [1]

  - Fix patchfiles to be 'make makepatch' compatible

  PR:		202493 [1]
  Submitted by:	dim [1]

Changes:
  head/devel/k8048/files/patch-Makefile
  head/devel/k8048/files/patch-Src-Makefile
  head/devel/k8048/files/patch-io.c