summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-14 12:04:28 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-14 12:08:51 +0200
commit8e1c3c9177201436f99353384bfd73c66d79299e (patch)
tree51c43b7b3fdb591ebe40097cbeda751fd8c8f03d /app-text/sablotron/files
parentapp-text/glosung: Remove last-rited package (diff)
downloadgentoo-8e1c3c9177201436f99353384bfd73c66d79299e.tar.gz
gentoo-8e1c3c9177201436f99353384bfd73c66d79299e.tar.bz2
gentoo-8e1c3c9177201436f99353384bfd73c66d79299e.zip
app-text/sablotron: Format sabcmd.cpp for C++11 compatibility
While there: - Add IUSE=static-libs and remove .la files - Clean up patch - EAPI=7 - Replace defunct HOMEPAGE/SRC_URI Package-Manager: Portage-3.0.2, Repoman-2.3.23 Closes: https://bugs.gentoo.org/show_bug.cgi?id=726732 Closes: https://bugs.gentoo.org/show_bug.cgi?id=729590 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'app-text/sablotron/files')
-rw-r--r--app-text/sablotron/files/1.0.3-cxx11.patch11
-rw-r--r--app-text/sablotron/files/1.0.3-libsablot-expat.patch2
2 files changed, 11 insertions, 2 deletions
diff --git a/app-text/sablotron/files/1.0.3-cxx11.patch b/app-text/sablotron/files/1.0.3-cxx11.patch
new file mode 100644
index 00000000000..edc1e3141d9
--- /dev/null
+++ b/app-text/sablotron/files/1.0.3-cxx11.patch
@@ -0,0 +1,11 @@
+--- a/src/command/sabcmd.cpp
++++ b/src/command/sabcmd.cpp
+@@ -168,7 +168,7 @@
+
+ char askhelp[] = "Type sabcmd --help to display a help message.\n";
+ char msgConflict[] = "conflict with preceding switches: ";
+-char version_txt[] = "\nsabcmd "SAB_VERSION" ("SAB_DATE")\n"\
++char version_txt[] = "\nsabcmd " SAB_VERSION " (" SAB_DATE ")\n"\
+ "copyright (C) 2000 - 2005 Ginger Alliance (www.gingerall.com)\n";
+ char dbg_usage[] = "\nDebugging options:\n"\
+ "\t--debug\t\t\tdisplay results of the command line parse\n"\
diff --git a/app-text/sablotron/files/1.0.3-libsablot-expat.patch b/app-text/sablotron/files/1.0.3-libsablot-expat.patch
index 328c9e90685..e4f6c3fdfab 100644
--- a/app-text/sablotron/files/1.0.3-libsablot-expat.patch
+++ b/app-text/sablotron/files/1.0.3-libsablot-expat.patch
@@ -1,5 +1,3 @@
-diff --git a/src/engine/Makefile.am b/src/engine/Makefile.am
-index abd2041..1307b1c 100644
--- a/src/engine/Makefile.am
+++ b/src/engine/Makefile.am
@@ -76,4 +76,5 @@ include_HEADERS = \