Skip to content

Commit

Permalink
app-i18n/zinnia: Clean patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Sep 11, 2017
1 parent 4c78513 commit 9a891bb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 26 deletions.
11 changes: 11 additions & 0 deletions app-i18n/zinnia/files/zinnia-0.06-c++-2011.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- /trainer.cpp
+++ /trainer.cpp
@@ -103,7 +103,7 @@
if (!fn) {
return false;
}
- x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn));
+ x_.push_back(std::make_pair(y, fn));
return true;
}

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Index: zinnia-0.06/configure.in
===================================================================
--- zinnia-0.06.orig/configure.in
+++ zinnia-0.06/configure.in
@@ -59,15 +59,6 @@ AC_ARG_WITH(pkgconfigdir,
--- /configure.in
+++ /configure.in
@@ -59,15 +59,6 @@
AC_SUBST([pkgconfigdir])
AC_MSG_NOTICE([pkgconfig directory is ${pkgconfigdir}])

Expand Down
13 changes: 0 additions & 13 deletions app-i18n/zinnia/files/zinnia-0.06-gcc6.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Index: zinnia-0.06/perl/Makefile.PL
===================================================================
--- zinnia-0.06.orig/perl/Makefile.PL
+++ zinnia-0.06/perl/Makefile.PL
@@ -4,7 +4,7 @@ WriteMakefile(
--- /perl/Makefile.PL
+++ /perl/Makefile.PL
@@ -4,7 +4,7 @@
'CC' => 'c++',
'LD' => 'c++',
'INC' => '',
Expand Down
6 changes: 3 additions & 3 deletions app-i18n/zinnia/zinnia-0.06-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ KEYWORDS="amd64 x86"
IUSE="perl static-libs"
DOCS=( AUTHORS ChangeLog NEWS README )
PATCHES=(
"${FILESDIR}/${P}-ricedown.patch"
"${FILESDIR}/${P}-perl.patch"
"${FILESDIR}/${P}-gcc6.patch"
"${FILESDIR}/${P}-flags.patch"
"${FILESDIR}/${P}-perl_build.patch"
"${FILESDIR}/${P}-c++-2011.patch"
)
AUTOTOOLS_AUTORECONF=yes

Expand Down

0 comments on commit 9a891bb

Please sign in to comment.