diff options
author | 2019-03-27 16:27:00 +0100 | |
---|---|---|
committer | 2019-03-27 16:27:00 +0100 | |
commit | fd8e6715515714ce3dc307b110b468c13d40f457 (patch) | |
tree | bd1eac98d1bf3ad338ca299bdfc41f2af60d984d /dev-util/ninka/files | |
parent | app-accessibility/brltty: Fixed installation with USE="-api" (diff) | |
download | gentoo-fd8e6715515714ce3dc307b110b468c13d40f457.tar.gz gentoo-fd8e6715515714ce3dc307b110b468c13d40f457.tar.bz2 gentoo-fd8e6715515714ce3dc307b110b468c13d40f457.zip |
dev-util/ninka: Initial import.
Ebuild contributed by me.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'dev-util/ninka/files')
-rw-r--r-- | dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch | 11 | ||||
-rw-r--r-- | dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch | 33 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch new file mode 100644 index 000000000000..54e4d4a50feb --- /dev/null +++ b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-braces.patch @@ -0,0 +1,11 @@ +--- ninka-orig/lib/Ninka/SentenceExtractor.pm ++++ ninka/lib/Ninka/SentenceExtractor.pm +@@ -114,7 +114,7 @@ + + # check for trailing bullets of different types + s/^o //; +- s/^\s*[0-9]{1-2}+\s*[\-\)]//; ++ s/^\s*[0-9]{1,2}+\s*[\-\)]//; + s/^[ \t]+//; + s/[ \t]+$//; + diff --git a/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch new file mode 100644 index 000000000000..1799d416b26b --- /dev/null +++ b/dev-util/ninka/files/ninka-2.0_pre1_p20170402-makefile.patch @@ -0,0 +1,33 @@ +--- ninka-orig/comments/Makefile ++++ ninka/comments/Makefile +@@ -11,12 +11,13 @@ + #DEBUG = -g -DDEBUG -DIODEBUG + + +-all: +- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c io.cpp +- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c dformat.cpp +- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c func.cpp +- g++ $(DEBUG) $(OPTIONS) $(DEFINES) -c main.cpp +- g++ -o $(NAME) main.o io.o dformat.o func.o ++all: $(NAME) ++ ++%.o: %.cpp ++ $(CXX) $(CXXFLAGS) $(DEFINES) -c $< ++ ++$(NAME): main.o io.o dformat.o func.o ++ $(CXX) $(LDFLAGS) -o $@ $^ + + install: + @echo -n "Installing binary: " +--- ninka-orig/Makefile.PL ++++ ninka/Makefile.PL +@@ -13,7 +13,7 @@ + 'Yuki Manabe <y-manabe@ist.osaka-u.ac.jp>', + 'René Scheibe <rene.scheibe@gmail.com>', + ], +- EXE_FILES => ['bin/ninka'], ++ EXE_FILES => ['bin/ninka', 'bin/ninka-excel', 'bin/ninka-sqlite'], + CONFIGURE_REQUIRES => { + 'ExtUtils::MakeMaker' => '6.52', + }, |