diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2018-11-18 22:06:44 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2018-11-18 22:06:44 +0000 |
commit | fce5ac2c97c4a5b3cd45b18591fb52be70cae196 (patch) | |
tree | 89954b9d69b077a098346126a15ad76f091a45c5 /lang/scm/files/patch-texinfo5_fixes | |
parent | devel/p5-App-SVN-Bisect: Add LICENSE_FILE (diff) |
Try to improve chances of successful build - including, but not
limited to disabling compiler-optimizations.
Proper fixing seems inherently impossible -- even with -O0 valgrind
flags hundreds of unitilized memory accesses during self-check.
Tested with gcc8 and the base cc (clang) -- remove the GCC-requirement.
Add some patches from Debian.
While here simplify the extract-target a little and remove the BROKEN*
lines to attempt building on other platforms again...
Bump port-revision.
PR: 232936
Notes
Notes:
svn path=/head/; revision=485281
Diffstat (limited to 'lang/scm/files/patch-texinfo5_fixes')
-rw-r--r-- | lang/scm/files/patch-texinfo5_fixes | 201 |
1 files changed, 201 insertions, 0 deletions
diff --git a/lang/scm/files/patch-texinfo5_fixes b/lang/scm/files/patch-texinfo5_fixes new file mode 100644 index 000000000000..3991e97c65ed --- /dev/null +++ b/lang/scm/files/patch-texinfo5_fixes @@ -0,0 +1,201 @@ +Obtained from Debian: + + https://launchpad.net/ubuntu/+source/scm/5f2-2build1 + +--- Xlibscm.texi ++++ 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. ++@end defun + +-@defunx x:root-window window ++@defun x:root-window window + Returns the root window for the specified @var{window}'s screen. + @end defun + +@@ -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. +-@defunx x:screen-depth display ++@end defun ++ ++@defun x:screen-depth display + @defunx x:screen-depth window + @defunx x:screen-depth visual + Returns the depth of argument. +@@ -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}. ++@end defun + +-@defunx x:create-window window position size border-width border background ++@defun x:create-window window position size border-width border background + 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 @@ 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}. +-@defunx x:get-window-property window property #t ++@end defun ++ ++@defun x:get-window-property window property #t + Removes and returns the (string or list of numbers) value of + @var{property} of @var{window}. + @end defun +@@ -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}. ++@end defun + +-@defunx x:create-cursor source-font source-char mask-font mask-char fgc bgc ++@defun x:create-cursor source-font source-char mask-font mask-char fgc bgc + 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 @@ 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. ++@end defun + +-@defunx x:create-cursor source-font source-char #f #f fgc bgc ++@defun x:create-cursor source-font source-char #f #f fgc bgc + If @var{mask-font} and @var{mask-char} are #f, all pixels of the source + are displayed. ++@end defun + +-@defunx x:create-cursor source-pixmap mask-pixmap fgc bgc origin ++@defun x:create-cursor source-pixmap mask-pixmap fgc bgc origin + @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 @@ 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. ++@end defun + +-@defunx x:create-cursor source-pixmap #f fgc bgc origin ++@defun x:create-cursor source-pixmap #f fgc bgc origin + If @var{mask-pixmap} is #f, all pixels of the source are displayed. + @end defun + +@@ -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. + ++@end defun + +-@defunx x:alloc-colormap-cells colormap ncolors rgb ++@defun x:alloc-colormap-cells colormap ncolors rgb + @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 @@ 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. ++@end defun + +-@defunx x:colormap-find-color colormap color-name ++@defun x:colormap-find-color colormap color-name + + The case-insensitive string @var{color_name} specifies the name of a + color (for example, @file{red}) +@@ -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. ++@end defun + +-@defunx X:Color-Set! colormap pixel color-name ++@defun X:Color-Set! colormap pixel color-name + + The case-insensitive string @var{color_name} specifies the name of a + color (for example, @file{red}) +@@ -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. ++@end defun + +-@defunx x:flush gc ++@defun x:flush gc + Forces sending of GC component changes. + + Xlib usually defers sending changes to the components of a GC to the +@@ -1726,12 +1740,14 @@ results. + + @defun x:draw-points drawable gc position @dots{} + @var{Position} @dots{} specifies coordinates of the point to be drawn. ++@end defun + +-@defunx x:draw-points drawable gc x y @dots{} ++@defun x:draw-points drawable gc x y @dots{} + (@var{x}, @var{y}) @dots{} specifies coordinates of the point to be + drawn. ++@end defun + +-@defunx x:draw-points drawable gc point-array ++@defun x:draw-points drawable gc point-array + @var{point-array} is a uniform short array of rank 2, whose rightmost + index spans a range of 2. + +@@ -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. ++@end defun + +-@defunx x:draw-segments drawable gc x1 y1 x2 y2 @dots{} ++@defun x:draw-segments drawable gc x1 y1 x2 y2 @dots{} + (@var{x1}, @var{y1}), (@var{x2}, @var{y2}) @dots{} specify coordinates + to be connected by segments. ++@end defun + +-@defunx x:draw-segments drawable gc point-array ++@defun x:draw-segments drawable gc point-array + @var{point-array} is a uniform short array of rank 2, whose rightmost + index spans a range of 2. + +@@ -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. ++@end defun + +-@defunx x:draw-lines drawable gc x1 y1 x2 y2 @dots{} ++@defun x:draw-lines drawable gc x1 y1 x2 y2 @dots{} + (@var{x1}, @var{y1}), (@var{x2}, @var{y2}) @dots{} specify coordinates + to be connected by lines. ++@end defun + +-@defunx x:draw-lines drawable gc point-array ++@defun x:draw-lines drawable gc point-array + @var{point-array} is a uniform short array of rank 2, whose rightmost + index spans a range of 2. + +@@ -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. ++@end defun + +-@defunx x:fill-polygon drawable gc x1 y1 x2 y2 @dots{} ++@defun x:fill-polygon drawable gc x1 y1 x2 y2 @dots{} + (@var{x1}, @var{y1}), (@var{x2}, @var{y2}) @dots{} specify coordinates + of the border path. ++@end defun + +-@defunx x:fill-polygon drawable gc point-array ++@defun x:fill-polygon drawable gc point-array + @var{point-array} is a uniform short array of rank 2, whose rightmost + index spans a range of 2. + |