summaryrefslogtreecommitdiff
path: root/x11/py-qt4/patches/patch-aa
blob: db8ca416bbc32f1329e1ce9d9d9c14fca876b2d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-aa,v 1.2 2009/07/08 05:41:30 hasso Exp $

Force shared libraries, from
http://cvs.fedora.redhat.com/viewvc/devel/PyQt4/PyQt-x11-gpl-4.4.4-QT_SHARED.patch?revision=1.1&view=markup&pathrev=HEAD

ActiveQt seems to be under open source license starting from 4.5.2.

--- configure.py.orig	2009-06-16 11:37:38 +0300
+++ configure.py	2009-06-26 10:10:30 +0300
@@ -1675,11 +1675,7 @@ int main(int, char **)
     out << QT_VERSION << '\\n';
     out << QT_EDITION << '\\n';
 
-#if defined(QT_SHARED) || defined(QT_DLL)
     out << "shared\\n";
-#else
-    out << "\\n";
-#endif
 
     // Determine which features should be disabled.
 
@@ -1786,10 +1782,10 @@ int main(int, char **)
 
     # Now convert the edition to a descriptive string.  The order of testing is
     # important.
-    if qt_edition & 0x200:
+    # if qt_edition & 0x200:
         # It has ActiveQt.
-        qt_edition = "Desktop"
-    elif qt_edition & 0x008:
+	# qt_edition = "Desktop"
+    if qt_edition & 0x008:
         # It has OpenGL.
         qt_edition = "free"
     elif qt_edition & 0x002: