[MacPorts] #28023: qt3 fails to build with libpng 1.4
MacPorts
noreply at macports.org
Mon Jan 17 23:31:02 PST 2011
#28023: qt3 fails to build with libpng 1.4
---------------------------------+------------------------------------------
Reporter: dports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: qt3
---------------------------------+------------------------------------------
qt3 appears to use libpng APIs that aren't compatible with libpng 1.4. It
fails with the attached log. Partial exerpt of the errors:
{{{
:info:build g++-4.2 -c -pipe -arch x86_64
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_x11_qt3/work/qt-x11-free-3.3.8/include
-I/opt/local/include -fno-exceptions -Wall -W -Os -fPIC -D__DARWIN_X11__
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -DQT_SHARED
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_x11_qt3/work/qt-x11-free-3.3.8/mkspecs/darwin-g++
-I. -I/opt/local/include/freetype2 -I/opt/local/lib/qt3/include
-I../../../../include -I/opt/local/include -I/opt/local/include -I.moc
/release-shared-mt/ -o .obj/release-shared-mt/main.o main.cpp
:info:build In file included from main.cpp:11:
:info:build ../../../../src/kernel/qpngio.cpp: In function 'void
setup_qt(QImage&, png_struct*, png_info*, float)':
:info:build ../../../../src/kernel/qpngio.cpp:128: warning: 'channels' is
deprecated (declared at /opt/local/include/png.h:672)
:info:build ../../../../src/kernel/qpngio.cpp:128: warning: 'channels' is
deprecated (declared at /opt/local/include/png.h:672)
:info:build ../../../../src/kernel/qpngio.cpp:162: error: 'struct
png_info_struct' has no member named 'trans_values'
:info:build ../../../../src/kernel/qpngio.cpp:171: warning: 'num_palette'
is deprecated (declared at /opt/local/include/png.h:655)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/28023>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list