From 69257a0530be17a6cf3c9427e0fdf337930f0428 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 5 Mar 2017 20:12:44 -0800 Subject: update patches for new upstream (5f2) --- debian/patches/texinfo5_fixes.patch | 236 +++--------------------------------- 1 file changed, 17 insertions(+), 219 deletions(-) (limited to 'debian/patches/texinfo5_fixes.patch') diff --git a/debian/patches/texinfo5_fixes.patch b/debian/patches/texinfo5_fixes.patch index d1237da..3a6bd77 100644 --- a/debian/patches/texinfo5_fixes.patch +++ b/debian/patches/texinfo5_fixes.patch @@ -1,8 +1,6 @@ -Index: scm/Xlibscm.texi -=================================================================== ---- scm.orig/Xlibscm.texi 2013-11-23 13:14:37.672671849 +0100 -+++ scm/Xlibscm.texi 2013-11-23 13:14:55.696761226 +0100 -@@ -257,8 +257,9 @@ +--- a/Xlibscm.texi ++++ b/Xlibscm.texi +@@ -257,8 +257,9 @@ used. Returns the root window for the specified @var{screen-number}. Use @code{x:root-window} for functions that need a drawable of a particular screen or for creating top-level windows. @@ -13,7 +11,7 @@ Index: scm/Xlibscm.texi Returns the root window for the specified @var{window}'s screen. @end defun -@@ -345,7 +346,9 @@ +@@ -345,7 +346,9 @@ Returns the number of entries in the def @defun x:screen-depth display screen-number Returns the depth of the root window of the specified screen. @@ -24,7 +22,7 @@ Index: scm/Xlibscm.texi @defunx x:screen-depth window @defunx x:screen-depth visual Returns the depth of argument. -@@ -420,8 +423,9 @@ +@@ -420,8 +423,9 @@ and the @var{visual} must be one support The returned window will have the attributes specified by @var{field-name}s and @var{value}. @@ -35,7 +33,7 @@ Index: scm/Xlibscm.texi The returned window inherits its depth, class, and visual from its parent. All other window attributes, except @var{background} and @var{border}, have their default values. -@@ -909,7 +913,9 @@ +@@ -909,7 +913,9 @@ those for @code{x:window-set!}: @defun x:get-window-property window property Returns the (string or list of numbers) value of @var{property} of @var{window}. @@ -46,7 +44,7 @@ Index: scm/Xlibscm.texi Removes and returns the (string or list of numbers) value of @var{property} of @var{window}. @end defun -@@ -1392,8 +1398,9 @@ +@@ -1392,8 +1398,9 @@ The hotspot comes from the information s initial colors of a cursor are a black foreground and a white background (see X:Recolor-Cursor). The names of all cursor shapes are defined with the prefix XC: in @file{x11.scm}. @@ -57,7 +55,7 @@ Index: scm/Xlibscm.texi Creates a cursor from the source and mask bitmaps obtained from the specified font glyphs. The integer @var{source-char} must be a defined glyph in @var{source-font}. The integer @var{mask-char} must be a -@@ -1402,12 +1409,14 @@ +@@ -1402,12 +1409,14 @@ and @var{mask-char} glyphs are positione hotspot. The @var{source-char} and @var{mask-char} need not have the same bounding box metrics, and there is no restriction on the placement of the hotspot relative to the bounding boxes. @@ -74,7 +72,7 @@ Index: scm/Xlibscm.texi @var{mask-pixmap} must be the same size as the pixmap defined by the @var{source-pixmap} argument. The foreground and background RGB values must be specified using @var{foreground-color} and -@@ -1422,8 +1431,9 @@ +@@ -1422,8 +1431,9 @@ source and mask must have depth one but @var{mask-pixmap} defines the shape of the cursor. The pixels set to 1 in @var{mask-pixmap} define which source pixels are displayed, and the pixels set to 0 define which pixels are ignored. @@ -85,7 +83,7 @@ Index: scm/Xlibscm.texi If @var{mask-pixmap} is #f, all pixels of the source are displayed. @end defun -@@ -1539,8 +1549,9 @@ +@@ -1539,8 +1549,9 @@ The RGB values of the allocated entries succeeded or #f if it failed. The first array has the pixels allocated and the second has the plane-masks. @@ -96,7 +94,7 @@ Index: scm/Xlibscm.texi @defunx x:alloc-colormap-cells colormap ncolors rgb contiguous? The specified @var{ncolors} must be positive; and @var{rgb} a list or -@@ -1596,8 +1607,9 @@ +@@ -1596,8 +1607,9 @@ is in error, the one that gets reported @var{rgb} is a list or vector of 3 integers, describing the red, green, and blue intensities respectively; or an integer @samp{#x@i{rrggbb}}, packing red, green and blue intensities in the range 0 - 255. @@ -107,7 +105,7 @@ Index: scm/Xlibscm.texi The case-insensitive string @var{color_name} specifies the name of a color (for example, @file{red}) -@@ -1630,8 +1642,9 @@ +@@ -1630,8 +1642,9 @@ The integer @var{pixel} must be a valid @var{rgb} is a list or vector of 3 integers, describing the red, green, and blue intensities respectively; or an integer @samp{#x@i{rrggbb}}, packing red, green and blue intensities in the range 0 - 255. @@ -118,7 +116,7 @@ Index: scm/Xlibscm.texi The case-insensitive string @var{color_name} specifies the name of a color (for example, @file{red}) -@@ -1671,8 +1684,9 @@ +@@ -1671,8 +1684,9 @@ Flushes the output buffer. Some client function because the output buffer is automatically flushed as needed by calls to X:Pending, X:Next-Event, and X:Window-Event. Events generated by the server may be enqueued into the library's event queue. @@ -129,7 +127,7 @@ Index: scm/Xlibscm.texi Forces sending of GC component changes. Xlib usually defers sending changes to the components of a GC to the -@@ -1726,12 +1740,14 @@ +@@ -1726,12 +1740,14 @@ results. @defun x:draw-points drawable gc position @dots{} @var{Position} @dots{} specifies coordinates of the point to be drawn. @@ -146,7 +144,7 @@ Index: scm/Xlibscm.texi @var{point-array} is a uniform short array of rank 2, whose rightmost index spans a range of 2. -@@ -1748,12 +1764,14 @@ +@@ -1748,12 +1764,14 @@ clip-mask. @defun x:draw-segments drawable gc pos1 pos2 @dots{} @var{Pos1}, @var{pos2}, @dots{} specify coordinates to be connected by segments. @@ -163,7 +161,7 @@ Index: scm/Xlibscm.texi @var{point-array} is a uniform short array of rank 2, whose rightmost index spans a range of 2. -@@ -1779,12 +1797,14 @@ +@@ -1779,12 +1797,14 @@ dash-offset, and dash-list. @defun x:draw-lines drawable gc pos1 pos2 @dots{} @var{Pos1}, @var{pos2}, @dots{} specify coordinates to be connected by lines. @@ -180,7 +178,7 @@ Index: scm/Xlibscm.texi @var{point-array} is a uniform short array of rank 2, whose rightmost index spans a range of 2. -@@ -1810,12 +1830,14 @@ +@@ -1810,12 +1830,14 @@ dash-offset, and dash-list. @defun x:fill-polygon drawable gc pos1 pos2 @dots{} @var{Pos1}, @var{pos2}, @dots{} specify coordinates of the border path. @@ -197,203 +195,3 @@ Index: scm/Xlibscm.texi @var{point-array} is a uniform short array of rank 2, whose rightmost index spans a range of 2. -Index: scm/scm.texi -=================================================================== ---- scm.orig/scm.texi 2013-11-23 13:14:37.684671909 +0100 -+++ scm/scm.texi 2013-11-23 13:14:55.708761285 +0100 -@@ -1644,11 +1644,11 @@ - @section Editing Scheme Code - - @defun ed arg1 @dots{} -+@defunx ed filename - The value of the environment variable @code{EDITOR} (or just @code{ed} - if it isn't defined) is invoked as a command with arguments @var{arg1} - @dots{}. - --@defunx ed filename - If SCM is compiled under VMS @code{ed} will invoke the editor with a - single the single argument @var{filename}. - @end defun -@@ -1733,16 +1733,18 @@ - loads the appropriate module from SLIB if they are invoked. - - @defmac trace proc1 @dots{} --Traces the top-level named procedures given as arguments. - @defmacx trace -+Traces the top-level named procedures given as arguments. -+ - With no arguments, makes sure that all the currently traced identifiers - are traced (even if those identifiers have been redefined) and returns a - list of the traced identifiers. - @end defmac - - @defmac untrace proc1 @dots{} --Turns tracing off for its arguments. - @defmacx untrace -+Turns tracing off for its arguments. -+ - With no arguments, untraces all currently traced identifiers and returns - a list of these formerly traced identifiers. - @end defmac -@@ -2206,8 +2208,9 @@ - Returns the path (string) which SCM uses to find the executable file - whose invocation the currently running session is, or #f if the path is - not set. -+@end defun - --@defunx execpath #f -+@defun execpath #f - @defunx execpath newpath - Sets the path to @code{#f} or @var{newpath}, respectively. The old path - is returned. -@@ -2521,10 +2524,10 @@ - @itemx @code{exact->inexact} - @itemx @code{inexact->exact} - @xref{Numerical operations, , , r5rs, Revised(5) Scheme}. --@itemx @code{with-input-from-file} -+@item @code{with-input-from-file} - @itemx @code{with-output-to-file} - @xref{Ports, , , r5rs, Revised(5) Scheme}. --@itemx @code{load} -+@item @code{load} - @itemx @code{transcript-on} - @itemx @code{transcript-off} - @xref{System interface, , , r5rs, Revised(5) Scheme}. -@@ -2930,8 +2933,9 @@ - Returns the current position of the character in @var{port} which will - next be read or written. If @var{port} is open to a non-file then - @code{#f} is returned. -+@end defun - --@defunx file-position port k -+@defun file-position port k - Sets the current position in @var{port} which will next be read or - written. If successful, @code{#f} is returned. If @var{port} is open - to a non-file, then @code{file-position} returns @code{#f}. -@@ -3321,8 +3325,9 @@ - @defun comment string1 @dots{} - Appends @var{string1} @dots{} to the strings given as arguments to - previous calls @code{comment}. -+@end defun - --@defunx comment -+@defun comment - Returns the (appended) strings given as arguments to previous calls - @code{comment} and empties the current string collection. - @end defun -@@ -3345,8 +3350,9 @@ - @code{#} in which case the expression will be treated as - whitespace. @code{#} is the value returned by the - expression @code{(if #f #f)}. -+@end deffn - --@deffnx {Callback procedure} load:sharp c port -+@deffn {Callback procedure} load:sharp c port - Dispatches like @code{read:sharp}, but only during @code{load}s. The - read-syntaxes handled by @code{load:sharp} are a superset of those - handled by @code{read:sharp}. @code{load:sharp} calls -@@ -4718,12 +4724,14 @@ - each file in @var{directory}. The dynamic order in which @var{proc} is - applied to the filenames is unspecified. The value returned by - @samp{directory-for-each} is unspecified. -+@end defun - --@defunx directory-for-each proc directory pred -+@defun directory-for-each proc directory pred - Applies @var{proc} only to those filenames for which the procedure - @var{pred} returns a non-false value. -+@end defun - --@defunx directory-for-each proc directory match -+@defun directory-for-each proc directory match - Applies @var{proc} only to those filenames for which - @code{(filename:match?? @var{match})} would return a non-false value - (@pxref{Filenames, , , slib, SLIB}). -@@ -4843,8 +4851,9 @@ - - If successful, this procedure does not return. Otherwise an error - message is printed and the integer @code{errno} is returned. -+@end defun - --@defunx execv command arglist -+@defun execv command arglist - @defunx execvp command arglist - Like @code{execl} and @code{execlp} except that the set of arguments to - @var{command} is @var{arglist}. -@@ -5123,8 +5132,9 @@ - - @defun setpwent #t - Rewinds the pw entry table back to the begining. -+@end defun - --@defunx setpwent #f -+@defun setpwent #f - @defunx setpwent - Closes the pw table. - @end defun -@@ -5151,8 +5161,9 @@ - - @defun setgrent #t - Rewinds the group entry table back to the begining. -+@end defun - --@defunx setgrent #f -+@defun setgrent #f - @defunx setgrent - Closes the group table. - @end defun -@@ -5435,8 +5446,9 @@ - - @defun line-editing - Returns the current edited line port or @code{#f}. -+@end defun - --@defunx line-editing bool -+@defun line-editing bool - If @var{bool} is false, exits line-editing mode and returns the previous - value of @code{(line-editing)}. If @var{bool} is true, sets the current - input and output ports to an edited line port and returns the previous -@@ -6434,8 +6446,9 @@ - @code{letrec}, @code{or}, @code{quote}, @code{set!}, @code{#f}, - @code{#t}, @code{#}, @code{#}, @code{()}, and - @code{#}. -+@end deftp - --@deftpx {CAR Immediate} ispcsym -+@deftp {CAR Immediate} ispcsym - special symbols: syntax-checked versions of first 14 isyms - @end deftp - -@@ -6561,8 +6574,9 @@ - - @deftp Header tc7_ssymbol - static scheme symbol (part of initial system) -+@end deftp - --@deftpx Header tc7_msymbol -+@deftp Header tc7_msymbol - @code{malloc}ed scheme symbol (can be GCed) - - @defmac SYMBOLP x -@@ -7262,8 +7276,9 @@ - @code{deferred_proc} is set to non-zero, one of the global variables - @code{SIGINT_deferred} or @code{SIGALRM_deferred} is set to 1, and the - handler returns. -+@end defmac - --@defmacx ALLOW_INTS -+@defmac ALLOW_INTS - Checks the deferred variables and if set the appropriate handler is - called. - -@@ -8011,8 +8026,9 @@ - - @code{scm_addr} is useful for performing C operations on strings or - other uniform arrays (@pxref{Uniform Array}). -+@end deftypefun - --@deftypefunx unsigned long scm_base_addr(SCM @var{ra}, char *@var{s_name}) -+@deftypefun unsigned long scm_base_addr(SCM @var{ra}, char *@var{s_name}) - Returns a pointer (cast to an @code{unsigned long}) to the beginning - of storage of array @var{ra}. Note that if @var{ra} is a - shared-array, the strorage accessed this way may be much larger than -- cgit v1.2.3