Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37729469
en ru br
Репозитории ALT
5.1: 0.24-alt1
4.1: 0.24-alt1
4.0: 0.24-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: intercal

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: intercal-0.24-debian-fixes.patch
Скачать


--- intercal-0.24.orig/ick.1
+++ intercal-0.24/ick.1
@@ -0,0 +1,57 @@
+.TH ICK 1
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+ick \- intercal compiler
+.SH SYNOPSIS
+.B ick
+.I "[options] files ..."
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR ick
+command.
+This manual page was written for the Debian GNU/Linux distribution
+(but may be used by others), because the original program does not
+have a manual page.
+Instead, it has other documentation in
+.B /usr/share/doc/intercal
+and
+.B /usr/share/doc/intercal/examples
+as one would expect on a debian system.
+.PP
+.B ick
+takes intercal programs and generates code from them (by running gcc.)
+.SH OPTIONS
+.TP
+.B \-c
+Leave generated C source code in place.
+.TP
+.B \-d
+Eenables verbose parse reporting from the yacc/bison parser.
+.TP
+.B \-t
+Requires strict INTERCAL-72 compliance (rejecting COME FROM and the extensions
+for bases other than two).
+.TP
+.B \-b
+Disables the INTERCAL-72 random-bug feature.
+.TP
+.B \-O
+Attempt to optimize generated code.
+.TP
+.B \-C
+Clockface output.
+.TP
+.B \-?
+Usage help.
+.SH "SEE ALSO"
+The newsgroup
+.B alt.lang.intercal
+and the web page
+.B http://www.tuxedo.org/~esr/intercal/
+.
+.SH AUTHOR
+.B ick
+was written by Eric S. Raymond.
+This manual page was written by Mark W. Eichin <eichin@kitten.gen.ma.us>,
+for the Debian GNU/Linux system.
--- intercal-0.24.orig/doc/Makefile
+++ intercal-0.24/doc/Makefile
@@ -15,32 +15,32 @@
 all: intercal.ps intercal.txt original.ps original.txt
 
 intercal.ps: intercal.mm
-	groff -dc=y -Tps    -p -t -mm intercal.mm >/dev/null
+	groff -dc=y -Tps    -p -t -mm intercal.mm > intercal.refs.tmp
 	sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
 	mv tmp.refs intercal.refs.tmp
 	groff -dc=y -Tps    -p -t -mm intercal.mm >intercal.ps
-	rm intercal.refs.qrf
+	-rm intercal.refs.qrf
 
 original.ps: intercal.mm
-	groff -dc=n -Tps    -p -t -mm intercal.mm >/dev/null
+	groff -dc=n -Tps    -p -t -mm intercal.mm > intercal.refs.tmp
 	sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
 	mv tmp.refs intercal.refs.tmp
 	groff -dc=n -Tps    -p -t -mm intercal.mm >original.ps
-	rm intercal.refs.qrf
+	-rm intercal.refs.qrf
 
 intercal.txt: intercal.mm
-	groff -dc=y -Tascii -p -t -mm intercal.mm >/dev/null
+	groff -dc=y -Tascii -p -t -mm intercal.mm > intercal.refs.tmp
 	sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
 	mv tmp.refs intercal.refs.tmp
-	groff -dc=y -Tascii -p -t -mm intercal.mm >intercal.txt
-	rm intercal.refs.qrf
+	GROFF_NO_SGR=1 groff -dc=y -Tascii -p -t -mm intercal.mm >intercal.txt
+	-rm intercal.refs.qrf
 
 original.txt: intercal.mm
-	groff -dc=n -Tascii -p -t -mm intercal.mm >/dev/null
+	groff -dc=n -Tascii -p -t -mm intercal.mm > intercal.refs.tmp
 	sed <intercal.refs.tmp -e '/hn \([0-9]*\)\.$$/s//hn \1/' >tmp.refs;
 	mv tmp.refs intercal.refs.tmp
-	groff -dc=n -Tascii -p -t -mm intercal.mm >original.txt
-	rm intercal.refs.qrf
+	GROFF_NO_SGR=1 groff -dc=n -Tascii -p -t -mm intercal.mm >original.txt
+	-rm intercal.refs.qrf
 
 clean:
 	rm -f *.ps *.txt *.refs*
--- intercal-0.24.orig/Makefile.in
+++ intercal-0.24/Makefile.in
@@ -13,9 +13,10 @@
 # Directory in which to install libraries.
 libdir = @libdir@
 # Directory to install data files.
-datadir = @datadir@/intercal-@PACKAGE_VERSION@
+# No versioned dirs for Debian.
+datadir = @datadir@/intercal
 # Directory to install the include files in.
-incdir = @includedir@/intercal-@PACKAGE_VERSION@
+incdir = @includedir@/intercal
 
 # Program to install binaries
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -81,7 +82,7 @@
 	-mkdir -p $(DESTDIR)$(incdir)
 	cp lose.h abcess.h fiddle.h $(DESTDIR)$(incdir)
 	-mkdir $(DESTDIR)$(datadir)
-	(cp -r pit $(DESTDIR)$(datadir))
+	(cp -r pit/lib $(DESTDIR)$(datadir))
 	cp ick-wrap.c $(DESTDIR)$(datadir)
 
 uninstall:
--- intercal-0.24.orig/ick.h
+++ intercal-0.24/ick.h
@@ -1,7 +1,7 @@
 /* ick.h -- compilation types for intercal parser */
 
 /* Comment this out if your version of lex automatically supplies yylineno. */
-#define YYLINENO_BY_HAND
+/* #define YYLINENO_BY_HAND */
 
 /* Comment this out if your version of lex doesn't use yyrestart(). */
 #define USE_YYRESTART
--- intercal-0.24.orig/perpetrate.c
+++ intercal-0.24/perpetrate.c
@@ -66,7 +66,7 @@
 static bool clockface;	/* set up output to do IIII for IV */
 
 #define SKELETON	"ick-wrap.c"
-#define SYSLIB          "pit/lib/syslib"
+#define SYSLIB          "lib/syslib"
 
 /* numeric base defaults, exported to other files */
 
--- intercal-0.24.orig/lexer.l
+++ intercal-0.24/lexer.l
@@ -183,6 +183,8 @@
 
 %}
 
+%option nounput yylineno
+
 W	[\ \t\n]*
 D	[0-9][\ \t\n0-9]*
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin