Bug 70491 - Update port: audio/hydrogen to 0.9.0b1
Update port: audio/hydrogen to 0.9.0b1
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: pav
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-15 19:00 UTC by jylefort
Modified: 2004-08-16 08:41 UTC (History)
0 users

See Also:


Attachments
file.diff (16.84 KB, patch)
2004-08-15 19:00 UTC, jylefort
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jylefort 2004-08-15 19:00:35 UTC
Note: this port builds and works fine with GCC 2.95.3. If you're going
to report a build error which is obviously caused by GCC 3.4, or even
3.x, do know that I don't have the resources to fix it; you're better
off adding USE_GCC=3.3 or USE_GCC=2.95 (although I doubt the latter
would still link if the C++ libraries.have been compiled with 3.x).
Comment 1 pav freebsd_committer 2004-08-16 07:19:23 UTC
State Changed
From-To: open->feedback

Does not build on both 4.x and 5.x: 

[4.x]: 
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/usr/X11R6/include  -I/usr/local/include  -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -D_THREAD_SAFE  -O -pipe -fno-exceptions -fno-check-new  -c -o InstrumentPropertiesDialog.o `test -f 'InstrumentPropertiesDialog.cpp' || echo './'`InstrumentPropertiesDialog.cpp 
InstrumentPropertiesDialog.cpp: In method `void InstrumentPropertiesDialog::layerSelected()': 
InstrumentPropertiesDialog.cpp:209: implicit declaration of function `int round(...)' 
gmake[3]: *** [InstrumentPropertiesDialog.o] Error 1 
gmake[3]: Leaving directory `/tmp/a/ports/audio/hydrogen/work/hydrogen-0.9.0beta1/hydrogen_gui' 
gmake[2]: *** [all-recursive] Error 1 

[5.x]: 
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/usr/X11R6/include  -I/usr/local/include  -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include -I/usr/X11R6/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE  -O -pipe -fno-exceptions -fno-check-new  -c -o InstrumentPropertiesDialog.o `test -f 'InstrumentPropertiesDialog.cpp' || echo './'`InstrumentPropertiesDialog.cpp 
InstrumentPropertiesDialog.cpp: In member function `virtual void InstrumentPropertiesDialog::layerSelected()': 
InstrumentPropertiesDialog.cpp:209: error: `round' undeclared (first use this function) 
InstrumentPropertiesDialog.cpp:209: error: (Each undeclared identifier is reported only once for each function it appears in.) 
gmake[3]: *** [InstrumentPropertiesDialog.o] Error 1 
gmake[3]: Leaving directory `/tmp/a/ports/audio/hydrogen/work/hydrogen-0.9.0beta1/hydrogen_gui' 
gmake[2]: *** [all-recursive] Error 1 



Comment 2 pav freebsd_committer 2004-08-16 07:19:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 3 pav freebsd_committer 2004-08-16 07:20:48 UTC
State Changed
From-To: feedback->open

Eeeek! Disregard my previous message, I missed some patch files from your diff.
Comment 4 pav freebsd_committer 2004-08-16 08:41:10 UTC
State Changed
From-To: open->closed

Committed, thanks! 

It turned out that workaround you had in InstrumentProp.. 
is needed on 5.x too