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-misc/cmatrix/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/cmatrix/files')
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch | 28 | ||||
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch | 48 | ||||
-rw-r--r-- | app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch | 33 |
3 files changed, 109 insertions, 0 deletions
diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch new file mode 100644 index 000000000000..6e69841b5e01 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch @@ -0,0 +1,28 @@ +diff -Naru cmatrix-1.2a.orig/Makefile.am cmatrix-1.2a/Makefile.am +--- cmatrix-1.2a.orig/Makefile.am 2008-12-24 02:37:43.000000000 +0000 ++++ cmatrix-1.2a/Makefile.am 2008-12-24 02:50:08.000000000 +0000 +@@ -18,20 +18,9 @@ + $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \ + $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \ + fi +- @if test -d /usr/lib/X11/fonts/misc; then \ +- echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ +- echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ +- echo " Done. If this is the first time you have installed CMatrix you will"; \ ++ @if test -d /usr/share/fonts/misc; then \ ++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/share/fonts/misc..."; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/share/fonts/misc; \ ++ echo " If this is the first time you have installed CMatrix you will"; \ + echo " probably have to restart X window in order to use the mtx.pcf font."; \ +- else \ +- if test -d /usr/X11R6/lib/X11/fonts/misc; then \ +- echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ +- echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ +- echo " Done. If this is the first time you have installed CMatrix you will"; \ +- echo " probably have to restart X window in order to use the mtx.pcf font."; \ +- fi \ + fi diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch new file mode 100644 index 000000000000..5f88cd0fa876 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-gentoo.patch @@ -0,0 +1,48 @@ +diff -urN cmatrix-1.2a.old/Makefile.am cmatrix-1.2a/Makefile.am +--- cmatrix-1.2a.old/Makefile.am Sun Mar 31 17:17:17 2002 ++++ cmatrix-1.2a/Makefile.am Sat Jul 6 05:32:06 2002 +@@ -9,30 +9,28 @@ + + install-data-local: + @if test -d /usr/share/consolefonts; then \ +- echo " Installing matrix fonts in /usr/share/consolefonts..."; \ +- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \ +- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \ ++ echo " Installing matrix fonts in $(DESTDIR)/usr/share/consolefonts..."; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/share/consolefonts; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/share/consolefonts; \ + fi + @if test -d /usr/lib/kbd/consolefonts; then \ +- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \ +- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \ +- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \ ++ echo " Installing matrix fonts in $(DESTDIR)/usr/lib/kbd/consolefonts..."; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \ ++ $(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \ + fi + @if test -d /usr/lib/X11/fonts/misc; then \ +- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \ +- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \ +- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \ ++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \ ++ echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \ + echo " Done. If this is the first time you have installed CMatrix you will"; \ + echo " probably have to restart X window in order to use the mtx.pcf font."; \ + else \ + if test -d /usr/X11R6/lib/X11/fonts/misc; then \ +- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ +- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \ +- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \ +- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \ ++ echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ ++ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \ ++ echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \ + echo " Done. If this is the first time you have installed CMatrix you will"; \ + echo " probably have to restart X window in order to use the mtx.pcf font."; \ + fi \ diff --git a/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch new file mode 100644 index 000000000000..60720c7da8b9 --- /dev/null +++ b/app-misc/cmatrix/files/cmatrix-1.2a-tinfo.patch @@ -0,0 +1,33 @@ +--- a/configure.in ++++ b/configure.in +@@ -8,9 +8,7 @@ + AC_PROG_INSTALL + AC_PROG_MAKE_SET + +-dnl Checks for libraries. +-dnl Replace `main' with a function in -lncurses: +-AC_CHECK_LIB(ncurses, main) ++PKG_PROG_PKG_CONFIG + + dnl Checks for header files. + AC_HEADER_STDC +@@ -26,18 +24,7 @@ + + AC_CHECK_HEADERS(curses.h ncurses.h) + +-CURSES_LIB_NAME="" +-AC_CHECK_LIB(ncurses, tgetent, CURSES_LIB="-lncurses" CURSES_LIB_NAME=ncurses) +- +-if eval "test x$CURSES_LIB_NAME = x" +-then +- AC_CHECK_LIB(curses, tgetent, CURSES_LIB="-lcurses" CURSES_LIB_NAME=curses) +-fi +- +-if eval "test x$CURSES_LIB_NAME = x" +-then +- AC_CHECK_LIB(termcap, tgetent, CURSES_LIB="-ltermcap" CURSES_LIB_NAME=termcap) +-fi ++PKG_CHECK_MODULES(ncurses,ncurses,[LIBS="$LIBS $ncurses_LIBS";CURSES_LIB_NAME=ncurses]) + + if eval "test x$CURSES_LIB_NAME = x" + then |