diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-12 08:50:03 +0200 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-12 10:05:40 +0200 |
commit | 7b203a102abaf51ec6a960a4079d77d929206fd9 (patch) | |
tree | 393cb837592e406e304c9ce961e484a3e04543dd /graphics | |
parent | 5d7599ea9169dbf4ccdecd7f1a41b998b590a541 (diff) | |
download | slackbuilds-7b203a102abaf51ec6a960a4079d77d929206fd9.tar.gz |
graphics/kipi-plugins: Added a patch for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/kipi-plugins/kipi-plugins-1.9.0-gcc47.patch | 27 | ||||
-rw-r--r-- | graphics/kipi-plugins/kipi-plugins.SlackBuild | 5 | ||||
-rw-r--r-- | graphics/kipi-plugins/kipi-plugins.info | 2 |
3 files changed, 32 insertions, 2 deletions
diff --git a/graphics/kipi-plugins/kipi-plugins-1.9.0-gcc47.patch b/graphics/kipi-plugins/kipi-plugins-1.9.0-gcc47.patch new file mode 100644 index 0000000000..efcc02708b --- /dev/null +++ b/graphics/kipi-plugins/kipi-plugins-1.9.0-gcc47.patch @@ -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 ); + } diff --git a/graphics/kipi-plugins/kipi-plugins.SlackBuild b/graphics/kipi-plugins/kipi-plugins.SlackBuild index 32f8a16c0e..8a8f22a40c 100644 --- a/graphics/kipi-plugins/kipi-plugins.SlackBuild +++ b/graphics/kipi-plugins/kipi-plugins.SlackBuild @@ -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 \ diff --git a/graphics/kipi-plugins/kipi-plugins.info b/graphics/kipi-plugins/kipi-plugins.info index c3c88a9ec7..87a765efa4 100644 --- a/graphics/kipi-plugins/kipi-plugins.info +++ b/graphics/kipi-plugins/kipi-plugins.info @@ -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="" |