graphics/kipi-plugins: Added a patch for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
5d7599ea91
commit
7b203a102a
|
@ -0,0 +1,27 @@
|
|||
Patch written by Matteo Bernardini <ponce@slackbuilds.org>
|
||||
Just followed the gcc hints ;)
|
||||
|
||||
diff -Naur kipi-plugins-1.9.0.orig/htmlexport/wizard.cpp kipi-plugins-1.9.0/htmlexport/wizard.cpp
|
||||
--- kipi-plugins-1.9.0.orig/htmlexport/wizard.cpp 2011-02-28 00:53:44.000000000 +0100
|
||||
+++ kipi-plugins-1.9.0/htmlexport/wizard.cpp 2012-09-12 07:06:12.279681840 +0200
|
||||
@@ -78,7 +78,7 @@
|
||||
public:
|
||||
WizardPage(KAssistantDialog* dialog, const QString& title)
|
||||
: QWidget(dialog) {
|
||||
- setupUi(this);
|
||||
+ this->setupUi(this);
|
||||
layout()->setMargin(0);
|
||||
mPage = dialog->addPage(this, title);
|
||||
}
|
||||
diff -Naur kipi-plugins-1.9.0.orig/printimages/wizard.cpp kipi-plugins-1.9.0/printimages/wizard.cpp
|
||||
--- kipi-plugins-1.9.0.orig/printimages/wizard.cpp 2011-02-28 00:53:44.000000000 +0100
|
||||
+++ kipi-plugins-1.9.0/printimages/wizard.cpp 2012-09-12 06:54:49.726668411 +0200
|
||||
@@ -88,7 +88,7 @@
|
||||
WizardPage ( KAssistantDialog* dialog, const QString& title )
|
||||
: QWidget ( dialog )
|
||||
{
|
||||
- setupUi ( this );
|
||||
+ this->setupUi ( this );
|
||||
layout()->setMargin ( 0 );
|
||||
mPage = dialog->addPage ( this, title );
|
||||
}
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=kipi-plugins
|
||||
VERSION=${VERSION:-1.9.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -69,6 +69,9 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Fix for gcc-4.7.x
|
||||
patch -p1 < $CWD/kipi-plugins-1.9.0-gcc47.patch
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PRGNAM="kipi-plugins"
|
||||
VERSION="1.9.0"
|
||||
HOMEPAGE="http://www.kipi-plugins.org/"
|
||||
HOMEPAGE="http://sourceforge.net/projects/kipi/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/kipi/kipi-plugins-1.9.0.tar.bz2"
|
||||
MD5SUM="a3200b0ce90251bc631fa90ff0818dc0"
|
||||
DOWNLOAD_x86_64=""
|
||||
|
|
Loading…
Reference in New Issue