mb 93221d2a0f Add PyQt4
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-20 18:24:49 +00:00

10 lines
336 B
Bash
Executable File

#!/bin/bash
set -e
PKG_BUILD_DIR="$1"
# SIP uses PyLong_FromUnsignedLong to convert from void * to
# PyLong. This results in a compilation error for the implicit cast
# on C++ compilers. Make an explicit cast.
sed -i -e 's/PyLong_FromUnsignedLong(/PyLong_FromUnsignedLong((unsigned long)/g' $PKG_BUILD_DIR/QtCore/sipQtCoreQThread.cpp