Hello community, here is the log from the commit of package libqt4 checked in at Sun Mar 18 06:47:35 CET 2007. -------- --- libqt4/libqt4.changes 2007-03-15 00:46:30.000000000 +0100 +++ /mounts/work_src_done/STABLE/libqt4/libqt4.changes 2007-03-17 01:24:47.000000000 +0100 @@ -1,0 +2,5 @@ +Sat Mar 17 01:24:33 CET 2007 - dmueller@suse.de + +- fix headers for more recent gcc's + +------------------------------------------------------------------- libqt4-devel-doc-data.changes: same change libqt4-sql-plugins.changes: same change New: ---- qt4-pedantic-headers.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt4-devel-doc-data.spec ++++++ --- /var/tmp/diff_new_pack.hC4376/_old 2007-03-18 06:47:22.000000000 +0100 +++ /var/tmp/diff_new_pack.hC4376/_new 2007-03-18 06:47:22.000000000 +0100 @@ -25,7 +25,7 @@ # COMMON-BEGIN # COMMON-BEGIN Version: 4.2.3 -Release: 1 +Release: 2 %define x11_free -x11-opensource-src- %define rversion 4.2.3 Source: qt%x11_free%rversion.tar.bz2 @@ -48,6 +48,7 @@ Patch21: 0142-uic3-wordWrapAttribute.diff Patch22: 0153-qdbuscpp2xml.diff Patch23: 0157-qdbus-leak-local-call.diff +Patch24: qt4-pedantic-headers.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xrandr -xinerama -xshape -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/libqt4 -examplesdir %_docdir/libqt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ @@ -81,6 +82,7 @@ %patch21 %patch22 %patch23 +%patch24 # be sure not to use them rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib} # COMMON-END @@ -118,6 +120,8 @@ /usr/share/doc/packages/libqt4/examples %changelog +* Sat Mar 17 2007 - dmueller@suse.de +- fix headers for more recent gcc's * Tue Mar 13 2007 - dmueller@suse.de - add patch for font problems (#244579) - fix memory leak in dbus calls ++++++ libqt4.spec ++++++ --- /var/tmp/diff_new_pack.hC4376/_old 2007-03-18 06:47:22.000000000 +0100 +++ /var/tmp/diff_new_pack.hC4376/_new 2007-03-18 06:47:22.000000000 +0100 @@ -27,7 +27,7 @@ Provides: qt # COMMON-BEGIN Version: 4.2.3 -Release: 1 +Release: 2 %define x11_free -x11-opensource-src- %define rversion 4.2.3 Source: qt%x11_free%rversion.tar.bz2 @@ -50,6 +50,7 @@ Patch21: 0142-uic3-wordWrapAttribute.diff Patch22: 0153-qdbuscpp2xml.diff Patch23: 0157-qdbus-leak-local-call.diff +Patch24: qt4-pedantic-headers.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xrandr -xinerama -xshape -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/libqt4 -examplesdir %_docdir/libqt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ @@ -84,6 +85,7 @@ %patch21 %patch22 %patch23 +%patch24 # be sure not to use them rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib} # COMMON-END @@ -392,6 +394,8 @@ %_libdir/libQtSql*.so.* %changelog +* Sat Mar 17 2007 - dmueller@suse.de +- fix headers for more recent gcc's * Tue Mar 13 2007 - dmueller@suse.de - add patch for font problems (#244579) - fix memory leak in dbus calls ++++++ libqt4-sql-plugins.spec ++++++ --- /var/tmp/diff_new_pack.hC4376/_old 2007-03-18 06:47:22.000000000 +0100 +++ /var/tmp/diff_new_pack.hC4376/_new 2007-03-18 06:47:22.000000000 +0100 @@ -24,7 +24,7 @@ # COMMON-BEGIN # COMMON-BEGIN Version: 4.2.3 -Release: 1 +Release: 2 %define x11_free -x11-opensource-src- %define rversion 4.2.3 Source: qt%x11_free%rversion.tar.bz2 @@ -47,6 +47,7 @@ Patch21: 0142-uic3-wordWrapAttribute.diff Patch22: 0153-qdbuscpp2xml.diff Patch23: 0157-qdbus-leak-local-call.diff +Patch24: qt4-pedantic-headers.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %define common_options -fast -no-separate-debug-info -shared -xkb -tablet -xrender -xrandr -xinerama -xshape -sm -no-nas-sound -no-rpath -system-libjpeg -system-libpng -accessibility -cups -stl -nis -system-zlib -qt-gif -prefix /usr -L %_libdir -libdir %_libdir -docdir %_docdir/libqt4 -examplesdir %_docdir/libqt4/examples -demosdir %_libdir/qt4/demos -plugindir %plugindir -translationdir /usr/share/qt4/translations -iconv -sysconfdir /etc/settings -datadir /usr/share/qt4/ @@ -79,6 +80,7 @@ %patch21 %patch22 %patch23 +%patch24 # be sure not to use them rm -rf src/3rdparty/{libjpeg,freetype,libpng,zlib} # COMMON-END @@ -217,6 +219,8 @@ %plugindir/sqldrivers/libqsqlmysql*.so %changelog +* Sat Mar 17 2007 - dmueller@suse.de +- fix headers for more recent gcc's * Tue Mar 13 2007 - dmueller@suse.de - add patch for font problems (#244579) - fix memory leak in dbus calls ++++++ qt4-pedantic-headers.diff ++++++ --- src/corelib/kernel/qtimer.h +++ src/corelib/kernel/qtimer.h @@ -63,7 +63,7 @@ public Q_SLOTS: void stop(); #ifdef QT3_SUPPORT - inline QT_MOC_COMPAT void changeInterval(int msec) { start(msec); }; + inline QT_MOC_COMPAT void changeInterval(int msec) { start(msec); } QT_MOC_COMPAT int start(int msec, bool sshot); #endif --- src/corelib/io/qfile.h +++ src/corelib/io/qfile.h @@ -96,6 +96,6 @@ public: static QByteArray encodeName(const QString &fileName); static QString decodeName(const QByteArray &localFileName); inline static QString decodeName(const char *localFileName) - { return decodeName(QByteArray(localFileName)); }; + { return decodeName(QByteArray(localFileName)); } static void setEncodingFunction(EncoderFn); static void setDecodingFunction(DecoderFn); --- src/gui/kernel/qevent.h +++ src/gui/kernel/qevent.h @@ -650,7 +650,7 @@ public: QClipboardEvent(QEventPrivate *data); ~QClipboardEvent(); - QEventPrivate *data() { return d; }; + QEventPrivate *data() { return d; } }; #endif --- src/gui/kernel/qapplication.h +++ src/gui/kernel/qapplication.h @@ -279,7 +279,7 @@ public: inline static QT3_SUPPORT void setOverrideCursor(const QCursor &cursor, bool replace) { if (replace) changeOverrideCursor(cursor); else setOverrideCursor(cursor); } inline static QT3_SUPPORT bool hasGlobalMouseTracking() {return true;} - inline static QT3_SUPPORT void setGlobalMouseTracking(bool) {}; + inline static QT3_SUPPORT void setGlobalMouseTracking(bool) {} inline static QT3_SUPPORT void flushX() { flush(); } static inline QT3_SUPPORT void setWinStyleHighlightColor(const QColor &c) { QPalette p(palette()); @@ -289,6 +289,6 @@ public: static inline QT3_SUPPORT const QColor &winStyleHighlightColor() { return palette().color(QPalette::Active, QPalette::Highlight); } static inline QT3_SUPPORT void setPalette(const QPalette &pal, bool, const char* className = 0) - { setPalette(pal, className); }; + { setPalette(pal, className); } static inline QT3_SUPPORT void setFont(const QFont &font, bool, const char* className = 0) { setFont(font, className); } --- src/gui/painting/qstylepainter.h +++ src/gui/painting/qstylepainter.h @@ -44,7 +44,7 @@ public: widget = w; wstyle = w->style(); return QPainter::begin(pd); - }; + } inline void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption &opt); inline void drawControl(QStyle::ControlElement ce, const QStyleOption &opt); inline void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex &opt); --- src/network/qnativesocketengine_unix.cpp +++ src/network/qnativesocketengine_unix.cpp @@ -128,7 +128,7 @@ static inline void qt_socket_getPortAndA *addr = tmpAddress; #ifndef QT_NO_IPV6IFNAME char scopeid[IFNAMSIZ]; - if (::if_indextoname(sa6->sin6_scope_id, scopeid) > 0) { + if (::if_indextoname(sa6->sin6_scope_id, scopeid) != 0) { addr->setScopeId(QLatin1String(scopeid)); } else #endif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org