From 644110a847c5911c2eb04eb53c93031740561efc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 28 Nov 2019 02:34:44 +0100 Subject: Initial import of an ebuilds tree from Fat-Zer's (Alexander Golubev) repository. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ...kdelibs-3.5.13.2-make-xcomposite-optional.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch (limited to 'trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch') diff --git a/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch b/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch new file mode 100644 index 00000000..c635b003 --- /dev/null +++ b/trinity-base/kdelibs/files/kdelibs-3.5.13.2-make-xcomposite-optional.patch @@ -0,0 +1,29 @@ +--- CMakeLists.txt.orig 2013-05-09 23:16:28.000000000 +0400 ++++ CMakeLists.txt 2013-06-28 04:17:31.677764189 +0400 +@@ -85,6 +85,7 @@ + + OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} ) + OPTION( WITH_HSPELL "Enable hspell support" ${WITH_ALL_OPTIONS} ) ++OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ${WITH_ALL_OPTIONS} ) + + set( KDE4_DEFAULT_HOME ".kde" CACHE PATH "KDE4 home directory passed as KDEHOME to kde4 applications" ) + +@@ -588,10 +589,14 @@ + + ##### check for xcomposite ######################### + +-pkg_search_module( XCOMPOSITE xcomposite ) +-if( XCOMPOSITE_FOUND ) +- set( HAVE_XCOMPOSITE 1 ) +-endif( XCOMPOSITE_FOUND ) ++if( WITH_XCOMPOSITE ) ++ pkg_search_module( XCOMPOSITE xcomposite ) ++ if( XCOMPOSITE_FOUND ) ++ set( HAVE_XCOMPOSITE 1 ) ++ else() ++ message(FATAL_ERROR "\nxcomposite support was requested, but xcomposite was not found on your system" ) ++ endif( XCOMPOSITE_FOUND ) ++endif( WITH_XCOMPOSITE ) + + ##### check for libxml-2.0 ###################### + -- cgit v1.2.3