-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Automaton
committed
Mar 19, 2013
1 parent
4bbafd0
commit 7cf2d3f
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- Makefile.orig 2013-03-19 12:16:25.865670000 +0000 | ||
+++ Makefile | ||
@@ -6,7 +6,7 @@ | ||
|
||
PORTNAME= qt | ||
PORTVERSION= 3.18.2 | ||
-PORTREVISION= 2 | ||
+PORTREVISION= 3 | ||
PORTEPOCH= 2 | ||
CATEGORIES= x11-toolkits python | ||
MASTER_SITES= http://www.riverbankcomputing.com/static/Downloads/PyQt3/ \ | ||
@@ -22,7 +22,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip> | ||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip \ | ||
qmake:${PORTSDIR}/devel/qmake | ||
|
||
-BROKEN= does not build with latest devel/py-sip | ||
DEPRECATED= Depends on QT3; unmaintained | ||
EXPIRATION_DATE= 2013-07-01 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- configure.py.intermediate 2013-03-19 12:17:39.141230000 +0000 | ||
+++ configure.py | ||
@@ -258,27 +258,27 @@ class ConfigurePyQt3(ConfigureBase): | ||
} | ||
|
||
def code(self, extra_include_dirs, extra_lib_dir, extra_libs): | ||
- generate_code("qt", extra_include_dirs=extra_include_dirs, extra_lib_dir=extra_lib_dir, extra_libs=extra_libs) | ||
+ generate_code("qt", extra_include_dirs=extra_include_dirs, extra_lib_dir=extra_lib_dir, extra_libs=extra_libs, extra_cxxflags="-DANY=void") | ||
|
||
if "qtext" in pyqt_modules: | ||
- generate_code("qtext", extra_define=qsci_define, extra_include_dirs=[opt_qsciincdir], extra_lib_dir=opt_qscilibdir, extra_libs=["qscintilla"], sip_flags=qtext_sip_flags) | ||
+ generate_code("qtext", extra_define=qsci_define, extra_include_dirs=[opt_qsciincdir], extra_lib_dir=opt_qscilibdir, extra_libs=["qscintilla"], sip_flags=qtext_sip_flags, extra_cxxflags="-DANY=void") | ||
|
||
if "qtgl" in pyqt_modules: | ||
- generate_code("qtgl", opengl=1) | ||
+ generate_code("qtgl", opengl=1, extra_cxxflags="-DANY=void") | ||
|
||
if "qtpe" in pyqt_modules: | ||
- generate_code("qtpe", extra_libs=["qpe"], sip_flags=qtpe_sip_flags) | ||
+ generate_code("qtpe", extra_libs=["qpe"], sip_flags=qtpe_sip_flags, extra_cxxflags="-DANY=void") | ||
|
||
if "qtui" in pyqt_modules: | ||
- generate_code("qtui", extra_libs=["qui"]) | ||
+ generate_code("qtui", extra_libs=["qui"], extra_cxxflags="-DANY=void") | ||
|
||
if "qtaxcontainer" in pyqt_modules: | ||
- generate_code("qtaxcontainer", extra_libs=["qaxcontainer"]) | ||
+ generate_code("qtaxcontainer", extra_libs=["qaxcontainer"], extra_cxxflags="-DANY=void") | ||
|
||
# The rest don't need special handling. | ||
for m in ("qtcanvas", "qtnetwork", "qtsql", "qttable", "qtxml"): | ||
if m in pyqt_modules: | ||
- generate_code(m) | ||
+ generate_code(m, extra_cxxflags="-DANY=void") | ||
|
||
def tools(self): | ||
tool_dirs = [] |