From a4937b110c2c19699a179e4ae17b5d3864168561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 12 Apr 2015 10:11:01 +0200 Subject: RPM Packaging: update QT3 --- ...9_1ee1ffbae69dc78721af139f0794628571fd35ef.diff | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff (limited to 'opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff') diff --git a/opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff b/opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff deleted file mode 100644 index 3adbc7bf4..000000000 --- a/opensuse/core/qt3/1386900429_1ee1ffbae69dc78721af139f0794628571fd35ef.diff +++ /dev/null @@ -1,28 +0,0 @@ -commit 1ee1ffbae69dc78721af139f0794628571fd35ef -Author: Slávek Banko -Date: 1386900429 +0100 - - Fix FTBFS with libfreetype6 >= 2.5.x - This resolves Bug 1765 - -diff --git a/config.tests/x11/xfreetype.test b/config.tests/x11/xfreetype.test -index 5cabc32..d4cb4ba 100755 ---- a/config.tests/x11/xfreetype.test -+++ b/config.tests/x11/xfreetype.test -@@ -116,12 +116,15 @@ fi - # check for freetype2 headers - FREETYPE2_INCDIR= - if [ "$XFT" = "yes" ]; then -- INC="freetype2/freetype/freetype.h" - XDIRS=`sed -n -e '/^QMAKE_INCDIR_X11[ ]*=/ { s/[^=]*=[ ]*//; s/-I/ /g; p; }' $XCONFIG` - LDIRS=`sed -n -e '/^QMAKE_INCDIR[ ]*=/ { s/[^=]*=[ ]*//; s/-I/ /g; p; }' $XCONFIG` - INCDIRS="$IN_INCDIRS $XDIRS $LDIRS /usr/include /include" - F= - for INCDIR in $INCDIRS; do -+ INC="freetype2/freetype/freetype.h" # libfreetype <= 2.4.9-1.1 -+ if ! [ -f $INCDIR/$INC ]; then -+ INC="freetype2/freetype.h" # libfreetype >= 2.5.1-1 -+ fi - if [ -f $INCDIR/$INC ]; then - # detect major version of freetype2 - FREETYPE_MAJOR=`grep "#define FREETYPE_MAJOR" $INCDIR/$INC | head -n 1 | awk '{ print \$3 }'` -- cgit v1.2.1