Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:ARM:Factory:Contrib:ILP32
texi2roff
texi2roff-2.0.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File texi2roff-2.0.dif of Package texi2roff
--- Makefile +++ Makefile @@ -1,14 +1,14 @@ # Makefile for Texinfo to nroff/troff translator (texi2roff) -CC = cc +CC = gcc # Flags: # -DBSD controls use of string(s).h and strchr/index only (not needed for Sun) # use -Dvoid=int for System III and V7 # problems have been reported for -O with Sun4's, SunOS 4.0.1 -CFLAGS = -O -s +CFLAGS = $(RPM_OPT_FLAGS) -pipe # CFLAGS = -g # CFLAGS = -p # CFLAGS = -ql @@ -16,7 +16,7 @@ OBJECTS = texi2roff.o table.o translate.o items.o texi2roff: $(OBJECTS) - $(CC) -o $@ $(CFLAGS) $(OBJECTS) -lc_s -link -z + $(CC) -o $@ $(CFLAGS) $(OBJECTS) texi2roff.o : texi2roff.h --- texi2index +++ texi2index @@ -14,7 +14,13 @@ # characters that make troff drop lines and preserves sort order # for index entries containing typesetting commands. -FILE="$*" +FILE="$@" + +if test -z "$FILE" ; then + echo "${0##*/}: No index files of texi2roff call given," 1>&2 + echo " please read manual page of texi2roff." 1>&2 + exit 1 +fi sed -n "s/^../&\\\\\\&/p" $FILE \ | sed " --- texi2roff.1 +++ texi2roff.1 @@ -1,4 +1,5 @@ -.TH TEXI2ROFF 1 +.TH Texi2roff 1 "1 Jan 90" "2.0" +.UC 1 .DA 1 Jan 90 .SH NAME texi2roff, texi2index \- convert Texinfo documents for formatting by troff. --- texi2roff.c +++ texi2roff.c 2019-09-09 12:11:54.145422485 +0000 @@ -28,6 +28,7 @@ int transparent = NO; /* for -t flag */ * - initialize tables and other strings * - open files and pass them to process(). */ +int main(argc, argv) int argc; char *argv[];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor