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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-22 12:30 UTC by ganael.laplanche
Modified: 2009-03-22 23:10 UTC (History)
0 users

See Also:


Attachments
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 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 
  Log:
  - 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
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"