diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-i18n/kanjipad/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-i18n/kanjipad/files')
-rw-r--r-- | app-i18n/kanjipad/files/kanjipad-2.0.0-cflags.patch | 19 | ||||
-rw-r--r-- | app-i18n/kanjipad/files/kanjipad-2.0.0-underlinking.patch | 13 |
2 files changed, 32 insertions, 0 deletions
diff --git a/app-i18n/kanjipad/files/kanjipad-2.0.0-cflags.patch b/app-i18n/kanjipad/files/kanjipad-2.0.0-cflags.patch new file mode 100644 index 000000000000..b1a6786bf17a --- /dev/null +++ b/app-i18n/kanjipad/files/kanjipad-2.0.0-cflags.patch @@ -0,0 +1,19 @@ +diff --git a/Makefile b/Makefile +index 4869923..0f7509c 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,4 @@ +-OPTIMIZE=-g -Wall ++OPTIMIZE=-Wall + #OPTIMIZE=-O2 + + GTKINC=$(shell pkg-config --cflags gtk+-2.0) -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED +@@ -26,7 +26,7 @@ PACKAGE = kanjipad + VERSION = 2.0.0 + + OBJS = kpengine.o scoring.o util.o +-CFLAGS = $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\" -DBINDIR=\"$(BINDIR)\" ++CFLAGS += $(OPTIMIZE) $(GTKINC) -DFOR_PILOT_COMPAT -DKP_LIBDIR=\"$(LIBDIR)\" -DBINDIR=\"$(BINDIR)\" + + all: kpengine kanjipad jdata.dat + diff --git a/app-i18n/kanjipad/files/kanjipad-2.0.0-underlinking.patch b/app-i18n/kanjipad/files/kanjipad-2.0.0-underlinking.patch new file mode 100644 index 000000000000..26fbcd765119 --- /dev/null +++ b/app-i18n/kanjipad/files/kanjipad-2.0.0-underlinking.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index 7e67d30..5bf53ba 100644 +--- a/Makefile ++++ b/Makefile +@@ -40,7 +40,7 @@ kpengine: $(OBJS) + $(CC) -o kpengine $(OBJS) $(GLIBLIBS) $(LDFLAGS) + + kanjipad: kanjipad.o padarea.o +- $(CC) -o kanjipad kanjipad.o padarea.o $(GTKLIBS) $(LDFLAGS) ++ $(CC) -o kanjipad kanjipad.o padarea.o -lm $(GTKLIBS) $(LDFLAGS) + + jdata.dat: jstroke/strokedata.h conv_jdata.pl + perl conv_jdata.pl < jstroke/strokedata.h > jdata.dat |