qtwvdialer-0.3.1-r2.ebuild compiles against QT version 2. I have written a patch inside the ebuild that lets it compile against QT version 3. Can it be incorporated as ebuild in the GenToo tree? qtwvdialer-0.3.1-r3.ebuild: --------------------------- S=${WORKDIR}/QtWvDialer-${PV} DESCRIPTION="QT Frontend for wvdial" SRC_URI="http://www.mtoussaint.de/${P}.tgz" HOMEPAGE="http://www.mtoussaint.de/qtwvdialer.html" DEPEND="=x11-libs/qt-3* >=dev-util/tmake-1.6 net-dialup/wvdial sys-apps/which sys-apps/modutils" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" src_compile() { cd ${S} export TMAKEPATH="/usr/lib/tmake/linux-g++" sed -i -e "s:TMAKEPATH/\.\./\.\./bin/tmake:TMAKEPATH/../../../bin/tmake:" \ -e "104s:return \-1:return 0:" \ -e "105s:gcc:g\+\+:" \ ./configure ./configure || die # Fixes to make qtwvdialer compile and run with QT3 cd src for file in qprocess.cpp qprocess_unix.cpp \ wvconfigdlg.cpp wvconfigdlg.h \ wvdialer.h wvdialer.cpp Makefile; \ do cp "$file" "$file.org" sed -e "s:qprocess:old_qprocess:g" \ -e "s:QProcess:Old_QProcess:g" \ -e "s:defined(_OS_UNIX_):1:g" \ "$file.org" > "$file" done cp "qprocess.h" "qprocess.h.org" sed -e "s:qprocess:old_qprocess:g" \ -e "s:QProcess:Old_QProcess:g" \ -e "s:defined(_OS_UNIX_):1:g" \ -e "37i#include <qstringlist.h>" \ "qprocess.h.org" > "qprocess.h" mv qprocess.h old_qprocess.h mv qprocess.cpp old_qprocess.cpp mv qprocess_unix.cpp old_qprocess_unix.cpp cd .. QTDIR=/usr/qt/3 make -e CFLAGS="$CFLAGS" || die } src_install () { insinto /usr dobin bin/qtwvdialer dodoc AUTHORS CHANGELOG COPYING README }
Doing an update to version 4.2 which uses QT3. please also do patches as attachements. preferable from diff -u old.ebuild new.ebuild.