packages/lcd4linux: split into 2 -custom & -full, various fixes:
[packages.git] / lang / pyqt4 / files / fixup.sh
1 #!/bin/bash
2 set -e
3 PKG_BUILD_DIR="$1"
4
5 # SIP uses PyLong_FromUnsignedLong to convert from void * to
6 # PyLong. This results in a compilation error for the implicit cast
7 # on C++ compilers. Make an explicit cast.
8 sed -i -e 's/PyLong_FromUnsignedLong(/PyLong_FromUnsignedLong((unsigned long)/g' $PKG_BUILD_DIR/QtCore/sipQtCoreQThread.cpp
9