Bug 132931 - Port fix: emulators/jzintv - Fix build when _GNU_SOURCE defined
Summary: Port fix: emulators/jzintv - Fix build when _GNU_SOURCE defined
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
Depends on:
Reported: 2009-03-22 12:30 UTC by Ganael LAPLANCHE
Modified: 2009-03-22 23:10 UTC (History)
0 users

See Also:

file.diff (23.63 KB, patch)
2009-03-22 12:30 UTC, Ganael LAPLANCHE
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ganael LAPLANCHE 2009-03-22 12:30:01 UTC
This patch fixes build problems with recent modifications to stdio.h and the dprintf macro.

_GNU_SOURCE is defined when building jzintv, and the port itself defined its own version of dprintf, so there was a conflict. I have renamed each dprintf definition to dbprintf as it is used for debugging purposes.

Fix: Patch attached with submission follows:
Comment 1 Dmitry Marakasov freebsd_committer 2009-03-22 16:08:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 2 Dmitry Marakasov freebsd_committer 2009-03-22 23:06:53 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter service freebsd_committer 2009-03-22 23:06:55 UTC
amdmi3      2009-03-22 23:06:45 UTC

  FreeBSD ports repository

  Modified files:
    emulators/jzintv     Makefile 
  - Fix build on CURRENT: rename dprintf macro to not conflict with one from stdio.h
  PR:             132931
  Submitted by:   Ganael Laplanche <ganael dot laplanche at martymac dot com> (maintainer)
  Revision  Changes    Path
  1.2       +2 -0      ports/emulators/jzintv/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"