diff options
author | Stefan Seidel | 2015-12-21 13:29:35 +0100 |
---|---|---|
committer | Stefan Seidel | 2015-12-21 13:29:35 +0100 |
commit | 537417c7af3d5d30d08329dfea6d5677ea53d266 (patch) | |
tree | fe0d3dc8568bd57369d8d731723d2eeeb868517b /lcms-118.patch | |
download | aur-537417c7af3d5d30d08329dfea6d5677ea53d266.tar.gz |
Revive from archive, make sure it builds
Diffstat (limited to 'lcms-118.patch')
-rw-r--r-- | lcms-118.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lcms-118.patch b/lcms-118.patch new file mode 100644 index 000000000000..0041a76b9b63 --- /dev/null +++ b/lcms-118.patch @@ -0,0 +1,37 @@ +--- src/liblprof/lcmsprf.h.bak 2007-08-31 15:36:20.000000000 -0700 ++++ src/liblprof/lcmsprf.h 2007-08-31 15:37:39.000000000 -0700 +@@ -67,6 +67,9 @@ + #define mmax(a,b) ((a) > (b)?(a):(b)) + #endif + ++#if LCMS_VERSION > 116 ++typedef int BOOL; ++#endif + + /* Misc operations ------------------------------------------------------------------------ */ + +--- SConstruct ++++ SConstruct +@@ -81,8 +81,8 @@ def DoWithVariables(variables, prefix, what): + + def CheckForQtAt(context, qtdir): + context.Message('Checking for Qt at %s... ' % qtdir) +- libp = os.path.join(qtdir, 'lib') +- cppp = os.path.join(qtdir, 'include') ++ libp = os.path.join(qtdir, 'lib', 'qt3') ++ cppp = os.path.join(qtdir, 'include', 'qt3') + result = AttemptLinkWithVariables(context, + { "LIBS": "qt-mt", "LIBPATH": libp , "CPPPATH": cppp }, + """ +@@ -210,9 +210,9 @@ env['QT_AUTOSCAN'] = 1 + print "QTDIR = " + env['QTDIR'] + env.Replace(QT_BINPATH = os.path.join ( env['QTDIR'] , 'bin')) + print 'Setting up QT_BINPATH = ' + env['QT_BINPATH'] +-env.Replace(QT_UIC = os.path.join ( env['QTDIR'] , 'bin', 'uic')) ++env.Replace(QT_UIC = os.path.join ( env['QTDIR'] , 'bin', 'uic-qt3')) + print 'Setting up QT_UIC = ' + env['QT_UIC'] +-env.Replace(QT_MOC = os.path.join ( env['QTDIR'] , 'bin', 'moc')) ++env.Replace(QT_MOC = os.path.join ( env['QTDIR'] , 'bin', 'moc-qt3')) + print 'Setting up QT_MOC = ' + env['QT_MOC'] + # env.Append(QT_DEBUG = 1) + |