---- qt-copy/configure.orig 2005-05-13 16:45:03.000000000 +0200
-+++ qt-copy/configure 2005-05-13 20:19:54.084025408 +0200
-@@ -2694,6 +2694,11 @@
- EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QMAKE_CFLAGS_DEBUG)"
- EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(QMAKE_CXXFLAGS_DEBUG)"
+--- qt-everywhere-opensource-src-4.8.0/configure~ 2011-12-15 15:34:08.000000000 +0100
++++ qt-everywhere-opensource-src-4.8.0/configure 2011-12-15 15:35:49.522563474 +0100
+@@ -4916,6 +4916,11 @@
+ EXTRA_LFLAGS="\$(QMAKE_LFLAGS_RPATH)\"$rpath\" $EXTRA_LFLAGS"
+ done
fi
+
+ if [ -n "$OPTFLAGS" ]; then
-+ EXTRA_CFLAGS="$EXTRA_CFLAGS $OPTFLAGS"
++ EXTRA_CFLAGS="$EXTRA_CFLAGS $OPTFLAGS"
+ fi
+
- if [ "$PLATFORM_MAC" = "yes" ]; then
- echo "export MACOSX_DEPLOYMENT_TARGET = 10.2" >>$mkfile
- echo "CARBON_LFLAGS +=-framework CoreServices -framework CoreFoundation" >>$mkfile
---- qt-copy/tools/assistant/lib/lib.pro.orig 2005-05-13 16:39:04.000000000 +0200
-+++ qt-copy/tools/assistant/lib/lib.pro 2005-05-13 20:21:32.014137768 +0200
-@@ -4,8 +4,8 @@
-
- CONFIG += qt warn_on
- mac|win32:CONFIG += debug_and_release
- mac:unix:CONFIG += explicitlib
--CONFIG -= dll
-+CONFIG += dll
-
- HEADERS = qassistantclient.h \
- qassistantclient_global.h
---- qt-copy/src/plugins/sqldrivers/sqldrivers.pro.orig 2005-05-15 21:26:42.000000000 +0200
-+++ qt-copy/src/plugins/sqldrivers/sqldrivers.pro 2005-05-15 21:26:59.000000000 +0200
-@@ -8,3 +8,4 @@
- contains(sql-plugins, db2) : SUBDIRS += db2
- contains(sql-plugins, sqlite) : SUBDIRS += sqlite
- contains(sql-plugins, ibase) : SUBDIRS += ibase
-+contains(sql-plugins, sqlite2) : SUBDIRS += sqlite2
+ if [ "$BUILD_ON_MAC" = "yes" ]; then
+ case "$PLATFORM" in
+ *macx-clang-libc++)