From 6fb61f8ffaeea49cfcb7782b8abbe071c98a02dc Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 14 Oct 2017 19:32:17 +0200 Subject: perlqt: tried - unsuccessfully - to make it compile again --- kde/cmake/perlqt | 2 ++ kde/patch/perlqt.patch | 3 +++ kde/patch/perlqt/perlqt.gcc6.diff | 11 +++++++++++ 3 files changed, 16 insertions(+) create mode 100644 kde/patch/perlqt.patch create mode 100644 kde/patch/perlqt/perlqt.gcc6.diff (limited to 'kde') diff --git a/kde/cmake/perlqt b/kde/cmake/perlqt index 670c028..ddfaeb9 100644 --- a/kde/cmake/perlqt +++ b/kde/cmake/perlqt @@ -14,6 +14,8 @@ cd build -DCMAKE_INSTALL_PREFIX=/usr \ -DMAN_INSTALL_DIR=/usr/man \ -DCUSTOM_PERL_SITE_ARCH_DIR=$vendorarch \ + -DQSCINTILLA_LIBRARY=/usr/lib$LIBDIRSUFFIX/libqscintilla2_qt4.so \ + -DWITH_Qwt5:BOOL=OFF \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ .. diff --git a/kde/patch/perlqt.patch b/kde/patch/perlqt.patch new file mode 100644 index 0000000..1cdd7db --- /dev/null +++ b/kde/patch/perlqt.patch @@ -0,0 +1,3 @@ +# Fix build: +cat $CWD/patch/perlqt/perlqt.gcc6.diff | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; } + diff --git a/kde/patch/perlqt/perlqt.gcc6.diff b/kde/patch/perlqt/perlqt.gcc6.diff new file mode 100644 index 0000000..9a6e42e --- /dev/null +++ b/kde/patch/perlqt/perlqt.gcc6.diff @@ -0,0 +1,11 @@ +--- ./qtcore/src/util.cpp.orig 2014-11-04 16:59:39.000000000 -0600 ++++ ./qtcore/src/util.cpp 2017-10-04 22:25:36.055839800 -0500 +@@ -2251,7 +2251,7 @@ + methcache.insert(mcid, new Smoke::ModuleIndex(mi)); + } + +- static smokeperl_object nothis = { 0, 0, 0, false }; ++ static smokeperl_object nothis = { 0, 0, 0, NULL }; + smokeperl_object* call_this = 0; + if ( SvOK(sv_this) ) { + call_this = sv_obj_info( sv_this ); -- cgit v1.2.3