Opened 10 years ago

Closed 9 years ago

#27109 closed enhancement (fixed)

PATCH: blitz headers to work with gcc >4.3

Reported by: dmeliza@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: ryandesign (Ryan Schmidt)
Port: blitz

Description (last modified by jmroot (Joshua Root))

The blitz C++ header library is missing some include statements that prevent programs using it from compiling under gcc 4.3 or greater.

A description of the problem, and a patch file to fix it, can be found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455661

The patch file attached to this ticket has been altered to conform with the MacPorts system. In addition, the Portfile has been patched to support gcc43 and gcc44 compiler variants.

Attachments (2)

patch-fix-gcc43plus-header-deps.diff (530 bytes) - added by dmeliza@… 10 years ago.
patch for blitz header library to work with gcc 4.3+
Portfile-blitz.diff (1.5 KB) - added by dmeliza@… 10 years ago.
updated Portfile for blitz port

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by dmeliza@…

patch for blitz header library to work with gcc 4.3+

Changed 10 years ago by dmeliza@…

Attachment: Portfile-blitz.diff added

updated Portfile for blitz port

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: haspatch added
Port: blitz added
Version: 1.9.1

Please remember to fill in the Port field.

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added

Is there a reason why we need to default this port to now building with gcc44? It seems to build fine with the standard Xcode version of gcc.

By now, we could also add a gcc45 variant.

comment:3 Changed 10 years ago by dmeliza@…

No good reason; the patch I submitted is only needed to make sure later compilers can use the library. gcc44-compiled may be somewhat faster but I have not tested this.

comment:4 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.