openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
November 2012
- 1 participants
- 1324 discussions
Hello community,
here is the log from the commit of package pixz for openSUSE:Factory checked in at 2012-11-29 09:28:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pixz (Old)
and /work/SRC/openSUSE:Factory/.pixz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pixz", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/pixz/pixz.changes 2012-09-23 21:09:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pixz.new/pixz.changes 2012-11-29 09:28:57.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Nov 27 12:08:26 UTC 2012 - sweet_f_a(a)gmx.de
+
+- update to first official release 1.0
+ * Support streaming input, still decompressing in parallel
+ * Platform independent endian support
+ * Allow capping the number of threads (new switch -p)
+ * Add help option (-h)
+ * Write the compressed/uncompressed size into block headers
+
+-------------------------------------------------------------------
Old:
----
pixz-c5f99bf4b4.tar.xz
New:
----
pixz-1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pixz.spec ++++++
--- /var/tmp/diff_new_pack.X8pX2q/_old 2012-11-29 09:28:58.000000000 +0100
+++ /var/tmp/diff_new_pack.X8pX2q/_new 2012-11-29 09:28:58.000000000 +0100
@@ -16,18 +16,15 @@
#
-%define _githash c5f99bf4b4
-
Name: pixz
-Version: 0.0+git20120918
+Version: 1.0
Release: 0
Summary: Parallel, indexing version of XZ
License: BSD-2-Clause
Group: Productivity/Archiving/Compression
Url: https://github.com/vasi/pixz
-Source: pixz-%{_githash}.tar.xz
+Source: pixz-%{version}.tar.gz
BuildRequires: libarchive-devel
-BuildRequires: xz
BuildRequires: xz-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -40,7 +37,7 @@
rather than a collection of smaller blocks. This makes random access to the original data impossible.
%prep
-%setup -q -n pixz
+%setup -q
%build
make %{?_smp_mflags}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package cross-aarch64-binutils for openSUSE:Factory checked in at 2012-11-29 09:25:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cross-aarch64-binutils (Old)
and /work/SRC/openSUSE:Factory/.cross-aarch64-binutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cross-aarch64-binutils", Maintainer is ""
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
New:
----
_link
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ _link ++++++
<link package="binutils" cicount="copy" />
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package netpbm for openSUSE:Factory checked in at 2012-11-29 09:24:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netpbm (Old)
and /work/SRC/openSUSE:Factory/.netpbm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "netpbm", Maintainer is "nadvornik(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes 2012-09-17 16:58:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.netpbm.new/netpbm.changes 2012-11-29 09:24:57.000000000 +0100
@@ -1,0 +2,32 @@
+Wed Nov 21 08:25:24 UTC 2012 - pgajdos(a)suse.com
+
+- updated to 10.60.03:
+ * Xbmtopbm: fix incorrect output, memory leak. Thanks Prophet of
+ the Way <afu(a)wta.att.ne.jp>.
+ * Pamtojpeg2k: default to no compression ratio constraint and
+ allow compression ratios less than 1. Because of compression
+ metadata, small images do require loss of quality in order to
+ get down to a compression ratio of 1.
+ * Sunicontopnm: Fix incorrect output for depth 8. Always broken
+ (depth = 8 capability was added in Netpbm 10.53 (December 2010).
+
+ pamgauss: Fix bug: erroneously says -maxval is too big on 64 bit
+ system. Always broken (Pamgauss was added in 10.23 (July 2004).
+ * xpmtoppm: major speedup for 3-character-per pixel files,
+ memory reduction for all files: use hash table instead of
+ linear search or direct index, go row by row.
+ * xpmtoppm: fix bogus "color number too large" failure. Broken
+ in 10.49 (December 2009).
+ * pnm_hashtuple: slight performance improvement from new hash
+ function. Thanks Prophet of the Way <afu(a)wta.att.ne.jp>.
+ * ppmtospu: wild memory accesses. Always broken (program added in
+ 10.58 (March 2012).
+ * pamtosrf: fix storage corruption. Always broken (program added
+ in 10.55 (June 2011).
+
+-------------------------------------------------------------------
+Tue Nov 20 09:34:37 UTC 2012 - pgajdos(a)suse.com
+
+- add url tag
+
+-------------------------------------------------------------------
Old:
----
netpbm-10.59.2-documentation.tar.bz2
netpbm-10.59.2-nohpcdtoppm-noppmtompeg.tar.bz2
New:
----
netpbm-10.60.3-documentation.tar.bz2
netpbm-10.60.3-nohpcdtoppm-noppmtompeg.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ netpbm.spec ++++++
--- /var/tmp/diff_new_pack.dtg1Ve/_old 2012-11-29 09:24:58.000000000 +0100
+++ /var/tmp/diff_new_pack.dtg1Ve/_new 2012-11-29 09:24:58.000000000 +0100
@@ -31,11 +31,12 @@
%define libmaj 11
%define libmin 59
%define libver %{libmaj}.%{libmin}
-Version: 10.59.2
+Version: 10.60.3
Release: 0
Summary: A Powerful Graphics Conversion Package
License: BSD-3-Clause and GPL-2.0+ and SUSE-IJG and MIT and SUSE-Public-Domain
Group: Productivity/Graphics/Convertors
+Url: http://http://netpbm.sourceforge.net/
Source: netpbm-%{version}-nohpcdtoppm-noppmtompeg.tar.bz2
Source1: netpbm-%{version}-documentation.tar.bz2
Source2: baselibs.conf
++++++ netpbm-10.59.2-documentation.tar.bz2 -> netpbm-10.60.3-documentation.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/directory.html new/netpbm.sourceforge.net/doc/directory.html
--- old/netpbm.sourceforge.net/doc/directory.html 2012-03-08 04:23:19.000000000 +0100
+++ new/netpbm.sourceforge.net/doc/directory.html 2012-09-29 04:34:49.000000000 +0200
@@ -885,12 +885,6 @@
<DT><B><a href=pgmmorphconv.html>pgmmorphconv</a></b>
<DD>perform morphological convolutions on a PGM image: dilation and erosion.
-<DT><B><a href=pgmminkowski.html>pgmminkowski</a></b>
-<DD>Compute Minkowski integral over a PGM image</DD>
-
-<DT><B><a href=pbmminkowski.html>pbmminkowski</a></b>
-<DD>Compute Minkowski integral over a PBM image</DD>
-
<DT><B><a href=pamedge.html>pamedge</a> </B>
<DD>edge-detect (outline) an image
@@ -912,7 +906,7 @@
<DT><B><a href=ppmdist.html>ppmdist</a> </B>
<DD>map colors to high contrast grayscales arbitrarily
-<dt><b><a href="pnmmercator.html"></a></b>
+<dt><b><a href="pnmmercator.html">pnmmercator</a></b>
<dd>Turns a rectangular projection map into a Mercator projection
<DT><B><a href=ppmglobe.html>ppmglobe</a></b>
@@ -977,6 +971,12 @@
<DT><B><a href=pamtilt.html>pamtilt</a></B>
<DD>Measure the tilt of an image, i.e. document skew
+<DT><B><a href=pgmminkowski.html>pgmminkowski</a></b>
+<DD>Compute Minkowski integral over a PGM image</DD>
+
+<DT><B><a href=pbmminkowski.html>pbmminkowski</a></b>
+<DD>Compute Minkowski integral over a PBM image</DD>
+
<DT><B><a href=pammosaicknit.html>pammosaicknit</a></B>
<DD>Validate a mosaic knitting pattern
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/giftopnm.html new/netpbm.sourceforge.net/doc/giftopnm.html
--- old/netpbm.sourceforge.net/doc/giftopnm.html 2012-05-26 03:48:59.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/giftopnm.html 2012-09-13 23:48:25.000000000 +0200
@@ -2,7 +2,7 @@
<HTML><HEAD><TITLE>Giftopnm User Manual</TITLE></HEAD>
<BODY>
<H1>giftopnm</H1>
-Updated: 25 May 2012
+Updated: 13 September 2012
<BR>
<A HREF="#index">Table Of Contents</A>
@@ -52,12 +52,13 @@
<DL COMPACT>
<DT><B>--alphaout=</B><I>alpha-filename</I>
-<DD><B>giftopnm </B> creates a PBM file containing the alpha channel values in
-the input image. If the input image doesn't contain an alpha channel,
-the <I>alpha-filename</I> file contains all zero (transparent) alpha values.
-If you don't specify <B>--alphaout</B>, <B>giftopnm</B> does not generate an
-alpha file, and if the input image has an alpha channel, <B>giftopnm</B>
-simply discards it.
+<DD><B>giftopnm </B> creates a PBM file containing the transparency
+information from the input image. This "alpha image" is the same
+dimensions as the input image, and each pixel of the alpha image tells whether
+the corresponding pixel of the input image is transparent. Black means
+transparent; white means opaque. If you don't specify <B>--alphaout</B>,
+<B>giftopnm</B> does not generate an alpha file, and if the input image has an
+alpha channel, <B>giftopnm</B> simply discards it.
<P>If you specify <B>-</B> as the filename, <B>giftopnm</B> writes the
alpha output to Standard Output and discards the image.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/jpeg2ktopam.html new/netpbm.sourceforge.net/doc/jpeg2ktopam.html
--- old/netpbm.sourceforge.net/doc/jpeg2ktopam.html 2010-06-14 04:19:01.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/jpeg2ktopam.html 2012-10-02 00:28:31.000000000 +0200
@@ -119,7 +119,7 @@
<H2 id="seealso">SEE ALSO</H2>
-<B><A HREF="pamtojpeg2k.html">jpctopam</A></B>,
+<B><A HREF="pamtojpeg2k.html">pamtojpeg2k</A></B>,
<B><A HREF="jpegtopnm.html">pnmtopeg</A></B>,
<B><A HREF="ppm.html">ppm</A></B>,
<B><A HREF="pgm.html">pgm</A></B>,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/pammasksharpen.html new/netpbm.sourceforge.net/doc/pammasksharpen.html
--- old/netpbm.sourceforge.net/doc/pammasksharpen.html 2011-01-26 17:55:50.000000000 +0100
+++ new/netpbm.sourceforge.net/doc/pammasksharpen.html 2012-09-26 00:32:10.000000000 +0200
@@ -25,7 +25,7 @@
<pre>
pamgauss 5 5 -sigma=.7 -tupletype=GRAYSCALE | pamtopnm >gauss.pgm
- pnmconvol -noffset gauss.pgm myimage.ppm >blurred.ppm
+ pnmconvol -nooffset gauss.pgm myimage.ppm >blurred.ppm
pammasksharpen blurred.ppm myimage.ppm >sharpened.ppm
</pre>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/pamsumm.html new/netpbm.sourceforge.net/doc/pamsumm.html
--- old/netpbm.sourceforge.net/doc/pamsumm.html 2010-06-14 04:19:01.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/pamsumm.html 2012-10-26 04:56:26.000000000 +0200
@@ -2,17 +2,15 @@
<HTML><HEAD><TITLE>Pamsumm User Manual</TITLE></HEAD>
<BODY>
<H1>pamsumm</H1>
-Updated: 07 February 2004
+Updated: 26 October 2012
<BR>
<A HREF="#index">Table Of Contents</A>
-<A NAME="lbAB"> </A>
<H2>NAME</H2>
pamsumm - Summarize the samples in a Netpbm image arithmetically
-<A NAME="lbAC"> </A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
<B>pamsumm</B>
{
<b>-sum</b> |
@@ -28,8 +26,7 @@
You may use two hyphens instead of one. You may separate an option
name and its value with white space instead of an equals sign.
-<A NAME="lbAD"> </A>
-<H2>DESCRIPTION</H2>
+<H2 id="description">DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
@@ -37,12 +34,15 @@
summary function over all the samples in all the rows, columns, and planes
and prints the result to Standard Output.
-<p><b>pamsumm</b> performs the operation on the actual sample values,
-not on the light intensities represented by them in the case that the
-image is a PGM or PPM image or PAM equivalent. If you want to do
-arithmetic on light intensities of such a visual image, you can use
-<b>pnmgamma</b> to convert it to one with samples proportional to
-light intensity, and then use <b>pamsumm</b> on the result.
+<p><b>pamsumm</b> performs the operation on the actual sample values. In the
+case of a PGM or PPM or PAM equivalent (i.e. a visual image), this is not the
+same as the light intensities represented by those samples. See the format
+specifications of <a href="pgm.html">PGM</a>,
+<a href="ppm.html">PPM</a>, and <a href="pgm.html">PAM</a>, for the precise
+meanings of samples in these formats. If you want to do arithmetic on light
+intensities of such a visual image, you can use <b>pnmgamma</b> to convert it
+to one with samples proportional to light intensity, and then
+use <b>pamsumm</b> on the result.
<p>If you want to summarize by column (e.g. add up the columns
separately), use <b>pamsummcol</b>. If you want to summarize by row,
@@ -51,8 +51,7 @@
extract it and then <b>pamsumm</b>.
-<A NAME="options"> </A>
-<H2>OPTIONS</H2>
+<H2 id="options">OPTIONS</H2>
<p>You must specify exactly one of <b>-sum</b>, <b>-mean</b>,
<b>-min</b>, or <b>-max</b>.
@@ -109,28 +108,24 @@
</DL>
-<A NAME="lbAE"> </A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
<B><A HREF="pamsummcol.html">pamsumm</A></B>,
<B><A HREF="pam.html">pam</A></B>,
-<A NAME="history"> </A>
-<h2>HISTORY</h2>
+<h2 id="history">HISTORY</h2>
<p><b>pamsumm</b> was added to Netpbm in Release 10.21 (March
2004).
<HR>
-<A NAME="index"> </A>
-<H2>Table Of Contents</H2>
+<H2 id="index">Table Of Contents</H2>
<UL>
-<LI><A HREF="#lbAB">NAME</A>
-<LI><A HREF="#lbAC">SYNOPSIS</A>
-<LI><A HREF="#lbAD">DESCRIPTION</A>
+<LI><A HREF="#synopsis">SYNOPSIS</A>
+<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#options">OPTIONS</A>
-<LI><A HREF="#lbAE">SEE ALSO</A>
+<LI><A HREF="#seealso">SEE ALSO</A>
<LI><A HREF=#history>HISTORY</A>
</UL>
</BODY>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/pamtojpeg2k.html new/netpbm.sourceforge.net/doc/pamtojpeg2k.html
--- old/netpbm.sourceforge.net/doc/pamtojpeg2k.html 2011-01-26 17:55:50.000000000 +0100
+++ new/netpbm.sourceforge.net/doc/pamtojpeg2k.html 2012-10-21 22:45:59.000000000 +0200
@@ -120,13 +120,27 @@
you get this compression ratio. E.g. 4 means the output will be about
one fourth the size in bytes of the input file.
-<p>The compression ratio must be at least 1. The default is 1, which means
-the output has all the quality of the input -- the conversion is lossless.
+<p>The ratio concerns just the raster part of the image, with the denominator
+being what the raster would take if it were encoded the most naive way
+possible (e.g. 3 bytes per pixel in 8-bit-per-sample RGB). It does,
+however, include metadata that is part of the compressed raster. Because
+of that, it may not be possible to give you your requested compression ratio
+at any quality. If it isn't, <b>pamtojpeg2k</b> fails with a message
+saying so.
+
+<p>If you don't specify this option, <b>pamtojpeg2k</b> gives you the best
+compression it can without losing any quality. Because of the metadata issue
+described above, this may mean, for a small image, the image actually expands.
<p>Note that though Jasper library takes a compression factor, this
option specifies a compression ratio. The compression factor is the
multiplicative inverse of (1 divided by) the compression ratio.
+<p>Before Netpbm 10.61 (December 2012), the default was a compression ratio
+of 1, and if <b>pamtojpeg2k</b> could not make the output that small, it just
+made it as small as it could, with zero quality. You know this is happening
+when you see the warning message, "empty layer generated."
+
<DT><B>-verbose</b>
<DD>This option causes <b>pamtojpeg2k</b> to issue informational messages about
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/pgmmedian.html new/netpbm.sourceforge.net/doc/pgmmedian.html
--- old/netpbm.sourceforge.net/doc/pgmmedian.html 2010-06-14 04:19:01.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/pgmmedian.html 2012-11-12 00:24:06.000000000 +0100
@@ -30,6 +30,7 @@
hyphens instead of single hyphen to denote options. You may use white
space in place of the equals sign to separate an option name from its value.
+
<H2 id="description">DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
@@ -37,9 +38,15 @@
<p><b>pgmmedian</b> applies a median filter to a PGM image, using either
the histogram sort or select kth value method to determine the median.
+<p>A median filter is a convolution filter in which the value of a pixel in
+the output is the median of a certain set of pixels in the neighborhood of the
+corresponding input pixel. The effect is to eliminate locally extreme values.
+Such pixels typically show up as speckles.
+
<p>See the <b>-type</b> and <b>-cutoff</b> options for information on
how <b>pgmmedian</b> chooses between the two methods.
+
<H2 id="options">OPTIONS</H2>
<DL COMPACT>
@@ -105,6 +112,8 @@
<A HREF="pgmnoise.html">pgmnoise</A>,
<A HREF="pamaddnoise.html">pamaddnoise</A>,
+<A HREF="pnmconvol.html">pnmconvol</A>,
+<A HREF="pgmmorphconv.html">pgmmorphconv</A>,
<A HREF="pgm.html">pgm</A>
<h2 id="history">HISTORY</h2>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/pnmconvol.html new/netpbm.sourceforge.net/doc/pnmconvol.html
--- old/netpbm.sourceforge.net/doc/pnmconvol.html 2010-09-22 18:10:43.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/pnmconvol.html 2012-11-12 00:19:30.000000000 +0100
@@ -259,6 +259,22 @@
want to use a PPM and do a different convolution to different
colors, you can certainly do that.
+
+<h3 id="otherconvol">Other Forms of Convolution</h3>
+
+<p><b>pnmconvol</b> does only arithmetic, linear combination convolution.
+There are other forms of convolution that are especially useful in image
+processing.
+
+<p><b>pgmmedian</b> does median filtering, which is a form of convolution
+where the output pixel value, rather than being a linear combination of the
+pixels in the window, is the median of a certain subset of them.
+
+<p><b>pgmmorphconv</b> does dilation and erosion, which is like the median
+filter but the output value is the minimum or maximum of the values in the
+window.
+
+
<H2 id="options">OPTIONS</H2>
<DL COMPACT>
@@ -335,6 +351,7 @@
<B><A HREF="pnmsmooth.html">pnmsmooth</A></B>,
<B><A HREF="pgmmorphconv.html">pgmmorphconv</A></B>,
+<B><A HREF="pgmmedian.html">pgmmedian</A></B>,
<B><A HREF="pnmnlfilt.html">pnmnlfilt</A></B>,
<B><A HREF="pgmkernel.html">pgmkernel</A></B>,
<B><A HREF="pamgauss.html">pamgauss</A></B>,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/ppmbrighten.html new/netpbm.sourceforge.net/doc/ppmbrighten.html
--- old/netpbm.sourceforge.net/doc/ppmbrighten.html 2011-06-25 22:19:35.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/ppmbrighten.html 2012-10-26 04:56:30.000000000 +0200
@@ -2,16 +2,14 @@
<HTML><HEAD><TITLE>Ppmbrighten User Manual</TITLE></HEAD>
<BODY>
<H1>ppmbrighten</H1>
-Updated: 09 January 2003
+Updated: 26 October 2012
<BR>
<A HREF="#index">Table Of Contents</A>
-<A NAME="lbAB"> </A>
<H2>NAME</H2>
ppmbrighten - change a PPM image's Saturation and Value
-<A NAME="lbAC"> </A>
-<H2>SYNOPSIS</H2>
+<H2 id="synopsis">SYNOPSIS</H2>
<b>ppmbrighten</b>
[<b>-normalize</b>]
@@ -19,11 +17,12 @@
[<b>-value </b>[<b>+</b>|<b>-</b><i>value_percent</i>]]
<i>ppmfile</i>
-<?makeman .SH OPTION USAGE ?>
-<P>All options can be abbreviated to their shortest unique prefix.
+<P>Minimum unique abbreviation of option is acceptable. You may use
+double hyphens instead of single hyphen to denote options. You may use
+white space in place of the equals sign to separate an option name
+from its value.
-<A NAME="lbAD"> </A>
-<H2>DESCRIPTION</H2>
+<H2 id="description">DESCRIPTION</H2>
<p>This program is part of <a href="index.html">Netpbm</a>.
@@ -41,15 +40,14 @@
"value" as a conventional English word has a much more abstract
meaning.
-<p>Value is a measure of how much total light intensity is in the
-color, relative to some specified maximum (the PPM format is also
-defined in terms of a specified maximum intensity -- For the purposes
-of this program, they are the same). In particular, it is the
-intensity of the most intense primary color component of the color
-divided by the maximum intensity possible for a component. Zero Value
-means black. White has full Value.
+<p>Value is a measure of how bright the color is, relative to some specified
+maximum (the PPM format is also defined in terms of a specified maximum
+brightness -- For the purposes of this program, they are the same). In
+particular, it is the brightness of the brightest primary color component of
+the color divided by the maximum brightness possible for a component. Zero
+Value means black. White has full Value.
-<p>Hue is an indication of the secondary color with the same intensity
+<p>Hue is an indication of the secondary color with the same brightness
that most closely approximates the color. A secondary color is made
of a combination of at most two of the primary colors.
@@ -68,21 +66,19 @@
you specify (e.g. it is already half saturated and you specify +200%),
<b>ppmbrighten</b> increases it to full Saturation instead.
-<p>For a simpler kind of brightening, you can use <b>pamfunc
--multiplier</b> simply to increase the intensity of each pixel by a
-specified per centage, clipping each RGB component where the
-calculated intensity would exceed full intensity. Thus, the brightest
-colors in the image would change chromaticity in addition to not
-getting the specified intensity boost. For <em>decreasing</em>
-brightness, <b>pamfunc</b> should do the same thing as
+<p>For a simpler kind of brightening, you can use <b>pamfunc -multiplier</b>
+simply to increase the brightness of each pixel by a specified per centage,
+clipping each RGB component where the calculated brightness would exceed full
+brightness. Thus, the brightest colors in the image would change chromaticity
+in addition to not getting the specified brightness boost.
+For <em>decreasing</em> brightness, <b>pamfunc</b> should do the same thing as
<b>ppmbrighten</b>.
<p><b>ppmflash</b> does another kind of brightening. It changes the
color of each pixel to bring it a specified per centage closer to white.
This increases the value and saturation.
-<A NAME="examples"></a>
-<H2>EXAMPLES</H2>
+<H2 id="examples">EXAMPLES</H2>
<p>To double the Value of each pixel:
<pre>
ppmbrighten -v 100
@@ -93,8 +89,7 @@
ppmbrighten -s 100 -v -50
</pre>
-<A NAME="options"></a>
-<H2>OPTIONS</H2>
+<H2 id="options">OPTIONS</H2>
<DL>
<DT><b>-value </b><i>value_percent</i>
@@ -124,8 +119,7 @@
</DL>
-<A NAME="lbAE"> </A>
-<H2>SEE ALSO</H2>
+<H2 id="seealso">SEE ALSO</H2>
<A HREF="pnmnorm.html">pnmnorm</A>,
<A HREF="ppmdim.html">ppmdim</A>,
@@ -136,8 +130,7 @@
<A HREF="ppmhist.html">ppmhist</A>,
<A HREF="ppm.html">ppm</A>
-<A NAME="lbAF"> </A>
-<H2>AUTHOR</H2>
+<H2 id="author">AUTHOR</H2>
<p>Copyright (C) 1990 by Brian Moffet.
Copyright (C) 1989 by Jef Poskanzer.
@@ -151,16 +144,14 @@
implied warranty.
<HR>
-<A NAME="index"> </A>
-<H2>Table Of Contents</H2>
+<H2 id="index">Table Of Contents</H2>
<UL>
-<LI><A HREF="#lbAB">NAME</A>
-<LI><A HREF="#lbAC">SYNOPSIS</A>
-<LI><A HREF="#lbAD">DESCRIPTION</A>
+<LI><A HREF="#synopsis">SYNOPSIS</A>
+<LI><A HREF="#description">DESCRIPTION</A>
<LI><A HREF="#examples">EXAMPLES</A>
<LI><A HREF="#options">OPTIONS</A>
-<LI><A HREF="#lbAE">SEE ALSO</A>
-<LI><A HREF="#lbAF">AUTHOR</A>
+<LI><A HREF="#seealso">SEE ALSO</A>
+<LI><A HREF="#author">AUTHOR</A>
</UL>
</BODY>
</HTML>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/doc/pstopnm.html new/netpbm.sourceforge.net/doc/pstopnm.html
--- old/netpbm.sourceforge.net/doc/pstopnm.html 2011-08-01 04:05:58.000000000 +0200
+++ new/netpbm.sourceforge.net/doc/pstopnm.html 2012-09-30 18:50:45.000000000 +0200
@@ -76,6 +76,13 @@
<B>pnm</B>, <B>pnmraw</B>, <B>ppm</B>, or <B>ppmraw</B>, you're in
business.
+<p>It's important to understand that <b>pstopnm</b> is a Netpbm image file
+format converter only in the broadest sense of the word, because Postscript is
+far from an image file format. What <b>pstopnm</b> really is is a Postscript
+renderer - an image generator. One place you'll notice the difference is
+where you expect <kbd>pstopnm | pnmtops</kbd> to be idempotent (which is not
+the case). There are details on this kind of conversion below.
+
<P><B>pstopnm</B> uses the value of the <B>GHOSTSCRIPT</B>
environment variable as the file name for the Ghostscript program. If
<B>GHOSTSCRIPT</B> is not set, <B>pstopnm</B> searches your
@@ -207,6 +214,41 @@
(above) that <b>pstopnm</b> trims the edges of the bordered subject
image to fit the computed output size.
+<h3 id="usagenotes">Usage Notes</h3>
+
+<p>There is some good advice on converting to and from Postscript, in the
+document <a href="http://mintaka.sdsu.edu/GF/bibliog/latex/PSconv.html">Postcript
+File Conversions</a> by Andrew T. Young.
+
+<h4 id="reversible">Reversible Conversion</h4>
+
+<p>If you're trying to do the equivalent of the naive
+<kbd>pstopnm | pnmtops</kbd>, the following steps will do it.
+
+<pre>
+<kbd>
+ $ pnmtops -nocenter -equalpixels -dpi 72 -noturn testimg.ppm > testimg.ps
+ $ pstopnm -xborder=0 -yborder=0 -xsize=<i>XSIZE</i> -ysize=<I>YSIZE</I> \
+ -stdout -quiet testimg.ps
+</kbd>
+</pre>
+
+<i>XSIZE</i> and <i>YSIZE</i> above are the image dimensions, which you can
+get from .ps file can awk or sed:
+
+<pre>
+<kbd>
+ $ grep "BoundingBox" testimg.ps
+ %%BoundingBox: 0 0 227 149
+
+ $ awk '/%%BoundingBox/ {print $4,$5}' testimg.ps
+ 227 149
+
+ $ xysize=$(awk '/%%BoundingBox/ {print "-xsize="$4,"-ysize="$5}' testimg.ps)
+ $ pstopnm -xborder=0 -yborder=0 $xysize ... testimg.ps
+</kbd>
+</pre>
+
<H2 id="options">OPTIONS</H2>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netpbm.sourceforge.net/getting_netpbm.php new/netpbm.sourceforge.net/getting_netpbm.php
--- old/netpbm.sourceforge.net/getting_netpbm.php 2012-09-06 13:54:10.000000000 +0200
+++ new/netpbm.sourceforge.net/getting_netpbm.php 2012-11-20 14:39:32.000000000 +0100
@@ -107,9 +107,9 @@
<tr><th colspan="3" class="th1">Latest Tarballs</th></tr>
<tr><th>Series</th><th>Number</th><th>Date</th></tr>
<tr><td class="td1">Development</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/trunk/?view=tar">unnumbered</a></td><td>unknown</td></tr>
-<tr><td class="td1">Advanced</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/advanced/?view=tar">10.59.02</a></td><td>20 Jul 2012</td></tr>
-<tr><td class="td1">Stable</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable/?view=tar">10.47.40</a></td><td>20 Aug 2012</td></tr>
-<tr><td class="td1">Super Stable</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/super_stable/?view=tar">10.35.86</a></td><td>23 Jul 2012</td></tr>
+<tr><td class="td1">Advanced</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/advanced/?view=tar">0.00.00</a></td><td>not listed</td></tr>
+<tr><td class="td1">Stable</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/stable/?view=tar">0.00.00</a></td><td>not listed</td></tr>
+<tr><td class="td1">Super Stable</td><td class="td2"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/super_stable/?view=tar">0.00.00</a></td><td>not listed</td></tr>
<tr><td colspan="3" class="td3"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/userguide/?view=tar">User's Guide (HTML tree)</a></td></tr>
<tr><td colspan="3" class="td3"><a href="http://netpbm.svn.sourceforge.net/viewvc/netpbm/">Browse SVN repository to access additional releases</a></td></tr>
</table>
@@ -265,6 +265,6 @@
</address>
<p style="font-size:75%">
-This page was generated on 06 Sep 2012.
+This page was generated on 20 Nov 2012.
</body> </html>
++++++ netpbm-10.59.2-nohpcdtoppm-noppmtompeg.tar.bz2 -> netpbm-10.60.3-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++
++++ 4269 lines of diff (skipped)
++++++ netpbm-security-code.patch ++++++
--- /var/tmp/diff_new_pack.dtg1Ve/_old 2012-11-29 09:24:59.000000000 +0100
+++ /var/tmp/diff_new_pack.dtg1Ve/_new 2012-11-29 09:24:59.000000000 +0100
@@ -988,17 +988,6 @@
header->colors = (Color *)calloc((unsigned int)header->ncolors,
sizeof(Color));
if (header->colors == NULL) {
-diff -up netpbm-10.58.01/converter/ppm/xpmtoppm.c.security-code netpbm-10.58.01/converter/ppm/xpmtoppm.c
---- netpbm-10.58.01/converter/ppm/xpmtoppm.c.security-code 2012-04-09 15:31:44.000000000 +0200
-+++ netpbm-10.58.01/converter/ppm/xpmtoppm.c 2012-04-09 15:41:54.193232227 +0200
-@@ -851,6 +851,7 @@ readXpmFile(FILE * const ifP
- &nColors, colorsP, &ptab);
- transparentP->none = true; /* No transparency in version 1 */
- }
-+ overflow2(*widthP, *heightP);
- totalpixels = width * height;
- MALLOCARRAY(data, totalpixels);
- if (!data)
diff -up netpbm-10.58.01/converter/ppm/yuvtoppm.c.security-code netpbm-10.58.01/converter/ppm/yuvtoppm.c
--- netpbm-10.58.01/converter/ppm/yuvtoppm.c.security-code 2012-04-09 15:31:44.000000000 +0200
+++ netpbm-10.58.01/converter/ppm/yuvtoppm.c 2012-04-09 15:40:03.218619602 +0200
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package libqjson for openSUSE:Factory checked in at 2012-11-29 09:24:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqjson (Old)
and /work/SRC/openSUSE:Factory/.libqjson.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqjson", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqjson/libqjson.changes 2012-01-19 09:42:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libqjson.new/libqjson.changes 2012-11-29 09:24:17.000000000 +0100
@@ -1,0 +2,17 @@
+Fri Nov 27 14:57:00 UTC 2012 - cgiboudeaux(a)gmx.com
+
+- Fix the SLES build (directory not owned by a package).
+- Install the license files.
+
+-------------------------------------------------------------------
+Tue Nov 27 10:12:58 UTC 2012 - fcastelli(a)suse.com
+
+- Update to version 0.8.1
+- Ensure API and ABI compatibility with 0.7.1
+
+-------------------------------------------------------------------
+Thu Nov 22 10:28:41 UTC 2012 - fcastelli(a)suse.com
+
+- Update to version 0.8.0
+
+-------------------------------------------------------------------
Old:
----
qjson-svn-r1058132.tar.bz2
New:
----
qjson-0.8.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqjson.spec ++++++
--- /var/tmp/diff_new_pack.5MWOIw/_old 2012-11-29 09:24:18.000000000 +0100
+++ /var/tmp/diff_new_pack.5MWOIw/_new 2012-11-29 09:24:18.000000000 +0100
@@ -15,15 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: libqjson
Summary: QJson is a qt-based library that maps JSON data to QVariant objects
License: LGPL-2.1+
Group: Development/Libraries/C and C++
-Version: 0.7.1
+Version: 0.8.1
Release: 0
Url: http://qjson.sourceforge.net/
-%define svn_rev 1058132
-Source: qjson-svn-r%{svn_rev}.tar.bz2
+Source: qjson-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: libqt4-devel
@@ -75,7 +75,7 @@
Flavio Castelli <flavio(a)castelli.name>
%prep
-%setup -q -n qjson
+%setup -q -n qjson-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -94,22 +94,21 @@
%install
%makeinstall
-%clean
-rm -rf %{buildroot}
-
%post -n %{soname} -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%files -n %{soname}
%defattr(-,root,root)
+%doc ChangeLog COPYING.lib README*
%{_libdir}/libqjson.so.*
%files devel
%defattr(-,root,root)
+%dir %{_libdir}/cmake
%{_includedir}/qjson
%{_libdir}/libqjson.so
%{_libdir}/pkgconfig/QJson.pc
-%{_datadir}/cmake/Modules/FindQJSON.cmake
+%{_libdir}/cmake/qjson
%changelog
++++++ qjson-svn-r1058132.tar.bz2 -> qjson-0.8.1.tar.bz2 ++++++
++++ 8418 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package gcc for openSUSE:Factory checked in at 2012-11-29 09:23:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc (Old)
and /work/SRC/openSUSE:Factory/.gcc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc", Maintainer is "matz(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc/gcc.changes 2012-04-20 06:51:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gcc.new/gcc.changes 2012-11-29 09:23:58.000000000 +0100
@@ -1,0 +2,14 @@
+Wed Nov 28 14:03:29 UTC 2012 - rguenther(a)suse.com
+
+- Rework gcc-info.
+ * Install symlinks to the versioned info files and adjust
+ install_info calls. [bnc#756182]
+ * Provide uninstall hook that removes the alias entries.
+
+-------------------------------------------------------------------
+Thu Oct 4 18:21:01 UTC 2012 - dmueller(a)suse.com
+
+- remove gcc-ada subpackage for those architectures that
+ don't have a gccXX-ada package
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gcc.spec ++++++
--- /var/tmp/diff_new_pack.fSQgb6/_old 2012-11-29 09:23:59.000000000 +0100
+++ /var/tmp/diff_new_pack.fSQgb6/_new 2012-11-29 09:23:59.000000000 +0100
@@ -25,6 +25,15 @@
%ifarch x86_64 s390x ppc64
%define separate_bi32 1
%endif
+# Ada currently fails to build on a few platforms, enable it only
+# on those that work
+# Note that AdaCore only supports %ix86, x86_64 and ia64
+%ifarch %ix86 x86_64 ppc s390 ia64
+%define build_ada 1
+%else
+# alpha ppc64 s390x hppa arm
+%define build_ada 0
+%endif
Url: http://gcc.gnu.org/
%define gcc_version 47
%define gcc_suffix 4.7
@@ -97,21 +106,28 @@
License: GFDL-1.2
Group: Development/Languages/C and C++
PreReq: %{install_info_prereq}
-Requires: gcc%{gcc_version}-info
+PreReq: gcc%{gcc_version}-info
%description -n gcc-info
The system GNU Compiler documentation.
-# There is intentionally no postun with install_info_delete as there
-# is no way to just remove the aliased entries. The content owners
-# install_info_delete will also remove the aliases though.
-# install-info does not pick up descriptions from the content.
+# install / update the entries
%post -n gcc-info
-%install_info --info-dir=%{_infodir} --name=cpp --description=\\"The GNU C preprocessor.\\" %{_infodir}/cpp-%{gcc_suffix}.info.gz
-%install_info --info-dir=%{_infodir} --name=gcc --description=\\"The GNU Compiler Collection.\\" %{_infodir}/gcc-%{gcc_suffix}.info.gz
-%install_info --info-dir=%{_infodir} --name=g++ --description=\\"The GNU C++ compiler.\\" %{_infodir}/g++-%{gcc_suffix}.info.gz
-%install_info --info-dir=%{_infodir} --name=gcj --description=\\"Ahead-of-time compiler for the Java language\\" %{_infodir}/gcj-%{gcc_suffix}.info.gz
-%install_info --info-dir=%{_infodir} --name=gfortran --description=\\"The GNU Fortran compiler.\\" %{_infodir}/gfortran-%{gcc_suffix}.info.gz
+%install_info --info-dir=%{_infodir} --name=cpp --description='The GNU C preprocessor.' %{_infodir}/cpp.info.gz
+%install_info --info-dir=%{_infodir} --name=gcc --description='The GNU Compiler Collection.' %{_infodir}/gcc.info.gz
+%install_info --info-dir=%{_infodir} --name=g++ --description='The GNU C++ compiler.' %{_infodir}/g++.info.gz
+%install_info --info-dir=%{_infodir} --name=gcj --description='Ahead-of-time compiler for the Java language' %{_infodir}/gcj.info.gz
+%install_info --info-dir=%{_infodir} --name=gfortran --description='The GNU Fortran compiler.' %{_infodir}/gfortran.info.gz
+
+# if we uninstall, clean the entries
+%preun -n gcc-info
+if [ "$1" -eq "0" ] ; then
+ %install_info --delete --info-dir=%{_infodir} --name=cpp %{_infodir}/cpp.info.gz
+ %install_info --delete --info-dir=%{_infodir} --name=gcc %{_infodir}/gcc.info.gz
+ %install_info --delete --info-dir=%{_infodir} --name=g++ %{_infodir}/g++.info.gz
+ %install_info --delete --info-dir=%{_infodir} --name=gcj %{_infodir}/gcj.info.gz
+ %install_info --delete --info-dir=%{_infodir} --name=gfortran %{_infodir}/gfortran.info.gz
+fi
%package -n gcc-c++
Summary: The system GNU C++ Compiler
@@ -302,7 +318,7 @@
The system GNU Objective C++ Compiler.
-
+%if %{build_ada}
%package -n gcc-ada
Summary: The system GNU Ada Compiler
License: GPL-3.0+
@@ -312,7 +328,7 @@
%description -n gcc-ada
The system GNU Ada Compiler.
-
+%endif
%package -n gcc-z9
Summary: The system GNU C Compiler
@@ -333,6 +349,7 @@
mkdir -p $RPM_BUILD_ROOT/lib
mkdir -p $RPM_BUILD_ROOT%{_prefix}/bin
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+mkdir -p $RPM_BUILD_ROOT%{_infodir}
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-objc/
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/doc/packages/gcc-obj-c++/
# Link all the binaries
@@ -354,8 +371,10 @@
gij64 \
%endif
gfortran \
+%if %{build_ada}
gnat gnatbind gnatbl gnatchop gnatclean gnatfind gnatkr \
gnatlink gnatls gnatmake gnatname gnatprep gnatxref gprmake \
+%endif
; do
ln -sf $program-%{gcc_suffix} $RPM_BUILD_ROOT%{_prefix}/bin/$program
done
@@ -373,6 +392,10 @@
; do
ln -sf $man1-%{gcc_suffix}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/$man1.1.gz
done
+# Link info pages
+for info in cpp gcc g++ gcj gfortran ; do
+ ln -sf $info-%{gcc_suffix}.info.gz $RPM_BUILD_ROOT%{_infodir}/$info.info.gz
+done
# Provide the traditional /lib/cpp that only handles C
cp $RPM_SOURCE_DIR/cpp $RPM_BUILD_ROOT/lib/
chmod 755 $RPM_BUILD_ROOT/lib/cpp
@@ -479,9 +502,13 @@
%files -n gcc-info
%defattr(-,root,root)
-# empty - only for the dependency
-%doc README
+%{_infodir}/cpp.info.gz
+%{_infodir}/gcc.info.gz
+%{_infodir}/g++.info.gz
+%{_infodir}/gcj.info.gz
+%{_infodir}/gfortran.info.gz
+%if %{build_ada}
%files -n gcc-ada
%defattr(-,root,root)
%{_prefix}/bin/gnat
@@ -498,6 +525,7 @@
%{_prefix}/bin/gnatprep
%{_prefix}/bin/gnatxref
%{_prefix}/bin/gprmake
+%endif
%files -n libstdc++-devel
%defattr(-,root,root)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package evas-generic-loaders for openSUSE:Factory checked in at 2012-11-29 09:23:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evas-generic-loaders (Old)
and /work/SRC/openSUSE:Factory/.evas-generic-loaders.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evas-generic-loaders", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/evas-generic-loaders/evas-generic-loaders.changes 2012-11-28 10:16:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.evas-generic-loaders.new/evas-generic-loaders.changes 2012-11-29 09:23:25.000000000 +0100
@@ -0,0 +1,12 @@
+Sat Nov 24 01:44:22 UTC 2012 - sleep_walker(a)suse.cz
+
+- require the same version or higher for EFL libraries
+- simplify make install
+- --disable-silent-rules
+
+-------------------------------------------------------------------
+Fri Nov 23 18:37:05 UTC 2012 - simon(a)simotek.net
+
+- bump to 1.7.2
+- 1.7.2 is required to build and use the latest e17 alpha's
+
Old:
----
evas_generic_loaders-1.7.1.tar.bz2
New:
----
evas_generic_loaders-1.7.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evas-generic-loaders.spec ++++++
--- /var/tmp/diff_new_pack.oowKJi/_old 2012-11-29 09:23:26.000000000 +0100
+++ /var/tmp/diff_new_pack.oowKJi/_new 2012-11-29 09:23:26.000000000 +0100
@@ -17,14 +17,14 @@
Name: evas-generic-loaders
-Version: 1.7.1
+Version: 1.7.2
Release: 1
License: GPL-2.0+
Summary: Set of generic loaders for Evas
Url: http://.enlightenment.org/
Group: Development/Libraries/C and C++
Source: evas_generic_loaders-%{version}.tar.bz2
-BuildRequires: eina-devel
+BuildRequires: eina-devel >= %version
BuildRequires: gcc-c++
BuildRequires: gstreamer-devel
BuildRequires: libpoppler-devel
@@ -41,15 +41,11 @@
%setup -q -n evas_generic_loaders-%{version}
%build
-%configure --disable-static
+%configure --disable-static --disable-silent-rules
make %{?_smp_mflags}
%install
-%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?mandriva_version}
make install DESTDIR="%buildroot"
-%else
-%makeinstall
-%endif
%clean
%{?buildroot:rm -rf %{buildroot}}
++++++ evas_generic_loaders-1.7.1.tar.bz2 -> evas_generic_loaders-1.7.2.tar.bz2 ++++++
++++ 11180 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.7.1/ChangeLog new/evas_generic_loaders-1.7.2/ChangeLog
--- old/evas_generic_loaders-1.7.1/ChangeLog 2012-10-20 15:56:36.000000000 +0200
+++ new/evas_generic_loaders-1.7.2/ChangeLog 2012-11-23 00:09:21.000000000 +0100
@@ -35,3 +35,8 @@
2012-10-20 Cedric Bail
1.7.1 release
+
+2012-11-23 Luis Felipe Strano Moraes
+
+ 1.7.2 release
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.7.1/INSTALL new/evas_generic_loaders-1.7.2/INSTALL
--- old/evas_generic_loaders-1.7.1/INSTALL 2012-10-20 13:49:40.000000000 +0200
+++ new/evas_generic_loaders-1.7.2/INSTALL 2012-11-22 19:44:47.000000000 +0100
@@ -1,8 +1,8 @@
Installation Instructions
*************************
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
+Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -226,6 +226,11 @@
and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+ HP-UX `make' updates targets which have the same time stamps as
+their prerequisites, which makes it generally unusable when shipped
+generated files such as `configure' are involved. Use GNU `make'
+instead.
+
On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
a workaround. If GNU CC is not installed, it is therefore recommended
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.7.1/NEWS new/evas_generic_loaders-1.7.2/NEWS
--- old/evas_generic_loaders-1.7.1/NEWS 2012-09-08 04:33:22.000000000 +0200
+++ new/evas_generic_loaders-1.7.2/NEWS 2012-11-22 23:55:42.000000000 +0100
@@ -1,4 +1,9 @@
-Evas Generic Loaders 1.7.0
+Evas Generic Loaders 1.7.2
+
+Changes since Evas Generic Loaders 1.7.1:
+-----------------------------------------
+
+No changes, just updating to keep in sync with last release.
Changes since Evas Generic Loaders 1.2.0:
-----------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.7.1/compile new/evas_generic_loaders-1.7.2/compile
--- old/evas_generic_loaders-1.7.1/compile 2012-10-20 13:49:40.000000000 +0200
+++ new/evas_generic_loaders-1.7.2/compile 2012-11-22 19:44:46.000000000 +0100
@@ -1,10 +1,10 @@
#! /bin/sh
-# Wrapper for compilers which do not understand `-c -o'.
+# Wrapper for compilers which do not understand '-c -o'.
-scriptversion=2009-10-06.20; # UTC
+scriptversion=2012-01-04.17; # UTC
-# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
-# Foundation, Inc.
+# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free
+# Software Foundation, Inc.
# Written by Tom Tromey <tromey(a)cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
@@ -29,21 +29,186 @@
# bugs to <bug-automake(a)gnu.org> or send patches to
# <automake-patches(a)gnu.org>.
+nl='
+'
+
+# We need space, tab and new line, in precisely that order. Quoting is
+# there to prevent tools from complaining about whitespace usage.
+IFS=" "" $nl"
+
+file_conv=
+
+# func_file_conv build_file lazy
+# Convert a $build file to $host form and store it in $file
+# Currently only supports Windows hosts. If the determined conversion
+# type is listed in (the comma separated) LAZY, no conversion will
+# take place.
+func_file_conv ()
+{
+ file=$1
+ case $file in
+ / | /[!/]*) # absolute file, and not a UNC file
+ if test -z "$file_conv"; then
+ # lazily determine how to convert abs files
+ case `uname -s` in
+ MINGW*)
+ file_conv=mingw
+ ;;
+ CYGWIN*)
+ file_conv=cygwin
+ ;;
+ *)
+ file_conv=wine
+ ;;
+ esac
+ fi
+ case $file_conv/,$2, in
+ *,$file_conv,*)
+ ;;
+ mingw/*)
+ file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
+ ;;
+ cygwin/*)
+ file=`cygpath -m "$file" || echo "$file"`
+ ;;
+ wine/*)
+ file=`winepath -w "$file" || echo "$file"`
+ ;;
+ esac
+ ;;
+ esac
+}
+
+# func_cl_wrapper cl arg...
+# Adjust compile command to suit cl
+func_cl_wrapper ()
+{
+ # Assume a capable shell
+ lib_path=
+ shared=:
+ linker_opts=
+ for arg
+ do
+ if test -n "$eat"; then
+ eat=
+ else
+ case $1 in
+ -o)
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ eat=1
+ case $2 in
+ *.o | *.[oO][bB][jJ])
+ func_file_conv "$2"
+ set x "$@" -Fo"$file"
+ shift
+ ;;
+ *)
+ func_file_conv "$2"
+ set x "$@" -Fe"$file"
+ shift
+ ;;
+ esac
+ ;;
+ -I*)
+ func_file_conv "${1#-I}" mingw
+ set x "$@" -I"$file"
+ shift
+ ;;
+ -l*)
+ lib=${1#-l}
+ found=no
+ save_IFS=$IFS
+ IFS=';'
+ for dir in $lib_path $LIB
+ do
+ IFS=$save_IFS
+ if $shared && test -f "$dir/$lib.dll.lib"; then
+ found=yes
+ set x "$@" "$dir/$lib.dll.lib"
+ break
+ fi
+ if test -f "$dir/$lib.lib"; then
+ found=yes
+ set x "$@" "$dir/$lib.lib"
+ break
+ fi
+ done
+ IFS=$save_IFS
+
+ test "$found" != yes && set x "$@" "$lib.lib"
+ shift
+ ;;
+ -L*)
+ func_file_conv "${1#-L}"
+ if test -z "$lib_path"; then
+ lib_path=$file
+ else
+ lib_path="$lib_path;$file"
+ fi
+ linker_opts="$linker_opts -LIBPATH:$file"
+ ;;
+ -static)
+ shared=false
+ ;;
+ -Wl,*)
+ arg=${1#-Wl,}
+ save_ifs="$IFS"; IFS=','
+ for flag in $arg; do
+ IFS="$save_ifs"
+ linker_opts="$linker_opts $flag"
+ done
+ IFS="$save_ifs"
+ ;;
+ -Xlinker)
+ eat=1
+ linker_opts="$linker_opts $2"
+ ;;
+ -*)
+ set x "$@" "$1"
+ shift
+ ;;
+ *.cc | *.CC | *.cxx | *.CXX | *.[cC]++)
+ func_file_conv "$1"
+ set x "$@" -Tp"$file"
+ shift
+ ;;
+ *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO])
+ func_file_conv "$1" mingw
+ set x "$@" "$file"
+ shift
+ ;;
+ *)
+ set x "$@" "$1"
+ shift
+ ;;
+ esac
+ fi
+ shift
+ done
+ if test -n "$linker_opts"; then
+ linker_opts="-link$linker_opts"
+ fi
+ exec "$@" $linker_opts
+ exit 1
+}
+
+eat=
+
case $1 in
'')
- echo "$0: No command. Try \`$0 --help' for more information." 1>&2
+ echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: compile [--help] [--version] PROGRAM [ARGS]
-Wrapper for compilers which do not understand `-c -o'.
-Remove `-o dest.o' from ARGS, run PROGRAM with the remaining
+Wrapper for compilers which do not understand '-c -o'.
+Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
arguments, and rename the output as expected.
If you are trying to build a whole package this is not the
-right script to run: please start by reading the file `INSTALL'.
+right script to run: please start by reading the file 'INSTALL'.
Report bugs to <bug-automake(a)gnu.org>.
EOF
@@ -53,11 +218,13 @@
echo "compile $scriptversion"
exit $?
;;
+ cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+ func_cl_wrapper "$@" # Doesn't return...
+ ;;
esac
ofile=
cfile=
-eat=
for arg
do
@@ -66,8 +233,8 @@
else
case $1 in
-o)
- # configure might choose to run compile as `compile cc -o foo foo.c'.
- # So we strip `-o arg' only if arg is an object.
+ # configure might choose to run compile as 'compile cc -o foo foo.c'.
+ # So we strip '-o arg' only if arg is an object.
eat=1
case $2 in
*.o | *.obj)
@@ -94,10 +261,10 @@
done
if test -z "$ofile" || test -z "$cfile"; then
- # If no `-o' option was seen then we might have been invoked from a
+ # If no '-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
- # `.c' file was seen then we are probably linking. That is also
+ # '.c' file was seen then we are probably linking. That is also
# ok.
exec "$@"
fi
@@ -106,7 +273,7 @@
cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
# Create the lock directory.
-# Note: use `[/\\:.-]' here to ensure that we don't use the same name
+# Note: use '[/\\:.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.7.1/configure.ac new/evas_generic_loaders-1.7.2/configure.ac
--- old/evas_generic_loaders-1.7.1/configure.ac 2012-10-20 13:23:55.000000000 +0200
+++ new/evas_generic_loaders-1.7.2/configure.ac 2012-11-23 00:35:40.000000000 +0100
@@ -2,7 +2,7 @@
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [1])
m4_define([v_min], [7])
-m4_define([v_mic], [1])
+m4_define([v_mic], [2])
m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*(a)\([0-9]*\).*/\1/' | tr -d '\n']))])
##-- When released, remove the dnl on the below line
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/evas_generic_loaders-1.7.1/missing new/evas_generic_loaders-1.7.2/missing
--- old/evas_generic_loaders-1.7.1/missing 2012-10-20 13:49:40.000000000 +0200
+++ new/evas_generic_loaders-1.7.2/missing 2012-11-22 19:44:46.000000000 +0100
@@ -1,10 +1,10 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
-scriptversion=2009-04-28.21; # UTC
+scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
-# 2008, 2009 Free Software Foundation, Inc.
+# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard(a)iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
@@ -84,7 +84,6 @@
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
- tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
@@ -122,15 +121,6 @@
# Not GNU programs, they don't have --version.
;;
- tar*)
- if test -n "$run"; then
- echo 1>&2 "ERROR: \`tar' requires --run"
- exit 1
- elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
- exit 1
- fi
- ;;
-
*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
@@ -226,7 +216,7 @@
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if test $# -ne 1; then
- eval LASTARG="\${$#}"
+ eval LASTARG=\${$#}
case $LASTARG in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
@@ -256,7 +246,7 @@
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if test $# -ne 1; then
- eval LASTARG="\${$#}"
+ eval LASTARG=\${$#}
case $LASTARG in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
@@ -318,41 +308,6 @@
touch $file
;;
- tar*)
- shift
-
- # We have already tried tar in the generic part.
- # Look for gnutar/gtar before invocation to avoid ugly error
- # messages.
- if (gnutar --version > /dev/null 2>&1); then
- gnutar "$@" && exit 0
- fi
- if (gtar --version > /dev/null 2>&1); then
- gtar "$@" && exit 0
- fi
- firstarg="$1"
- if shift; then
- case $firstarg in
- *o*)
- firstarg=`echo "$firstarg" | sed s/o//`
- tar "$firstarg" "$@" && exit 0
- ;;
- esac
- case $firstarg in
- *h*)
- firstarg=`echo "$firstarg" | sed s/h//`
- tar "$firstarg" "$@" && exit 0
- ;;
- esac
- fi
-
- echo 1>&2 "\
-WARNING: I can't seem to be able to run \`tar' with the given arguments.
- You may want to install GNU tar or Free paxutils, or check the
- command line arguments."
- exit 1
- ;;
-
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and is $msg.
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package evas for openSUSE:Factory checked in at 2012-11-29 09:23:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evas (Old)
and /work/SRC/openSUSE:Factory/.evas.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evas", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/evas/evas.changes 2012-11-26 18:56:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.evas.new/evas.changes 2012-11-29 09:23:03.000000000 +0100
@@ -1,0 +2,16 @@
+Sat Nov 24 01:33:39 UTC 2012 - sleep_walker(a)suse.cz
+
+- require the same version or higher for EFL libraries
+
+-------------------------------------------------------------------
+Fri Nov 23 18:17:31 UTC 2012 - simon(a)simotek.net
+
+- bump to 1.7.2
+- 1.7.2 is required to build and use the latest e17 alpha's
+
+-------------------------------------------------------------------
+Thu Nov 22 00:46:52 UTC 2012 - sleep_walker(a)suse.cz
+
+- remove sles 10 and centos 5 conditions as we don't build for it anymore
+
+-------------------------------------------------------------------
Old:
----
evas-1.7.1.tar.bz2
New:
----
evas-1.7.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evas.spec ++++++
--- /var/tmp/diff_new_pack.KDx7Rj/_old 2012-11-29 09:23:05.000000000 +0100
+++ /var/tmp/diff_new_pack.KDx7Rj/_new 2012-11-29 09:23:05.000000000 +0100
@@ -16,7 +16,7 @@
#
Name: evas
-Version: 1.7.1
+Version: 1.7.2
Release: 0
License: BSD-2-Clause
Summary: Canvas and scenegraph rendering library
@@ -25,8 +25,8 @@
Source: %{name}-%{version}.tar.bz2
BuildRequires: Mesa-devel
BuildRequires: SDL-devel
-BuildRequires: eet-devel
-BuildRequires: eina-devel
+BuildRequires: eet-devel >= %version
+BuildRequires: eina-devel >= %version
BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
BuildRequires: giflib-devel
@@ -58,8 +58,8 @@
Group: Development/Libraries/C and C++
Requires: Mesa-devel
Requires: SDL-devel
-Requires: eet-devel
-Requires: eina-devel
+Requires: eet-devel >= %version
+Requires: eina-devel >= %version
Requires: fontconfig-devel
Requires: freetype2-devel
Requires: giflib-devel
@@ -87,13 +87,9 @@
%setup -q
%build
-%if 0%{?sles_version} >= 10 || 0%{?centos_version} == 505 || 0%{?mandriva_version} == 200910
+%if 0%{?sles_version} >= 10
# old gcc without intristic
- %if 0%{?centos_version} == 505
- %configure --disable-static --disable-cpu-sse3 --disable-gl-xlib --disable-gl-xcb --enable-image-loader-generic --enable-software-16-x11
- %else
%configure --disable-static --disable-cpu-sse3 --enable-image-loader-generic --enable-software-16-x11
- %endif
%else
%configure --disable-static --enable-image-loader-generic --enable-image-loader-svg --enable-software-16-x11
%endif
@@ -102,11 +98,9 @@
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \;
-%if 0%{?centos_version} != 505 && 0%{?sles_version} != 10
if [ /usr/lib != %{_libexecdir} ] && [ -e %{buildroot}%{_prefix}/lib/dummy_slave ]; then
mv %{buildroot}%{_prefix}/lib/evas* %{buildroot}%{_prefix}/lib/dummy_slave %{buildroot}%{_libexecdir}
fi
-%endif
%post -n libevas1 -p /sbin/ldconfig
%postun -n libevas1 -p /sbin/ldconfig
@@ -147,9 +141,7 @@
%{_libdir}/pkgconfig/evas*.pc
%{_libdir}/libevas.so
%{_datadir}/evas/
-%if 0%{?centos_version} != 505 && 0%{?sles_version} != 10
%{_libexecdir}/evas_*
%{_libexecdir}/dummy_slave
-%endif
%changelog
++++++ evas-1.7.1.tar.bz2 -> evas-1.7.2.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/evas/evas-1.7.1.tar.bz2 /work/SRC/openSUSE:Factory/.evas.new/evas-1.7.2.tar.bz2 differ: char 11, line 1
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package ecore for openSUSE:Factory checked in at 2012-11-29 09:22:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ecore (Old)
and /work/SRC/openSUSE:Factory/.ecore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ecore", Maintainer is ""
Changes:
--------
--- /work/SRC/openSUSE:Factory/ecore/ecore.changes 2012-11-28 10:14:44.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ecore.new/ecore.changes 2012-11-29 09:22:31.000000000 +0100
@@ -1,0 +2,13 @@
+Sat Nov 24 01:34:36 UTC 2012 - sleep_walker(a)suse.cz
+
+- require the same version or higher for EFL libraries
+
+-------------------------------------------------------------------
+Sat Nov 24 00:14:58 UTC 2012 - sleep_walker(a)suse.cz
+
+- simplify make install
+- clean up spec file
+- update to 1.7.2
+ - only version number change to be synced with other EFL libraries
+
+-------------------------------------------------------------------
Old:
----
ecore-1.7.1.tar.bz2
New:
----
ecore-1.7.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ecore.spec ++++++
--- /var/tmp/diff_new_pack.0IVEUR/_old 2012-11-29 09:22:32.000000000 +0100
+++ /var/tmp/diff_new_pack.0IVEUR/_new 2012-11-29 09:22:32.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ecore
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,20 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+
Name: ecore
-Version: 1.7.1
-Release: 1
-License: BSD-2-Clause
+Version: 1.7.2
+Release: 0
Summary: Core mainloop, display abstraction and utility library
-Url: http://enlightenment.org/
+License: BSD-2-Clause
Group: Development/Libraries/C and C++
+Url: http://enlightenment.org/
Source: %{name}-%{version}.tar.bz2
BuildRequires: SDL-devel
-BuildRequires: eet-devel
-BuildRequires: eina-devel
-BuildRequires: evas-devel
+BuildRequires: eet-devel >= %version
+BuildRequires: eina-devel >= %version
+BuildRequires: evas-devel >= %version
BuildRequires: freetype2-devel
BuildRequires: gettext-devel
+BuildRequires: glib2-devel
BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: libpixman-1-0-devel
@@ -39,7 +41,6 @@
BuildRequires: xorg-x11-libXdmcp-devel
BuildRequires: xorg-x11-libXext-devel
BuildRequires: xorg-x11-libxcb-devel
-BuildRequires: glib2-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -55,16 +56,16 @@
%package devel
Summary: Ecore headers, static libraries, documentation and test programs
Group: Development/Libraries/C and C++
-Requires: eet-devel
-Requires: eina-devel
-Requires: evas-devel
+Requires: eet-devel >= %version
+Requires: eina-devel >= %version
+Requires: evas-devel >= %version
Requires: freetype2-devel
+Requires: glib2-devel
Requires: libcurl-devel
Requires: libecore1 = %{version}
Requires: libpixman-1-0-devel
Requires: xorg-x11-devel
Requires: xorg-x11-libXdmcp-devel
-Requires: glib2-devel
%description devel
Headers, static libraries, test programs and documentation for ecore
@@ -77,7 +78,7 @@
make %{?_smp_mflags}
%install
-%makeinstall
+make install DESTDIR="%buildroot"
find %{buildroot}%{_libdir} -name '*.la' -exec rm -v {} \;
%find_lang %{name}
++++++ ecore-1.7.1.tar.bz2 -> ecore-1.7.2.tar.bz2 ++++++
++++ 28355 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package clisp for openSUSE:Factory checked in at 2012-11-29 09:22:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clisp (Old)
and /work/SRC/openSUSE:Factory/.clisp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clisp", Maintainer is "werner(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/clisp/clisp.changes 2012-07-31 13:56:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.clisp.new/clisp.changes 2012-11-29 09:22:12.000000000 +0100
@@ -1,0 +2,8 @@
+Wed Nov 28 15:03:30 UTC 2012 - toganm(a)opensuse.org
+
+- Fix build with glibc 2.17 (clisp-glibc-fix.patch)
+ * rebase patches to -p1 as stated in the patching guidelines
+ * update to libsegsev-2.10
+
+
+-------------------------------------------------------------------
Old:
----
libsigsegv-2.9.tar.gz
New:
----
clisp-glibc-fix.patch
libsigsegv-2.10.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ clisp.spec ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -50,7 +50,7 @@
# Original source at http://www.haible.de/bruno/gnu/ffcall-1.10.tar.gz
# adopted to work with clisp-2.43 and higher
Source1: ffcall-1.10+2.43.tar.bz2
-Source2: ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.9.tar.gz
+Source2: ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.10.tar.gz
Source3: clisp-rpmlintrc
Source4: README.SuSE
Patch0: clisp-2.49.dif
@@ -63,6 +63,7 @@
Patch10: ffcall-1.10+2.43.dif
Patch11: fix-build-in-qemu.patch
Patch12: clisp-linux.patch
+Patch13: clisp-glibc-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global vimdir %{_datadir}/vim/site/after/syntax
%global xarch ppc64 s390x armv4l
@@ -96,19 +97,22 @@
%prep
%setup -qT -b0 -a1 -a2
-%patch1 -p0 -b .mappriv
-%patch2 -p0 -b .mapvar
-%patch3 -p0 -b .sel
-%patch4 -p0 -b .ia64
-%patch7 -p0 -b .wooh
-%patch8 -p0 -b .clx
-%patch10 -p0 -b .ffcall
-%patch0
+%patch1 -p1 -b .mappriv
+%patch2 -p1 -b .mapvar
+%patch3 -p1 -b .sel
+%patch4 -p1 -b .ia64
+%patch7 -p1 -b .wooh
+%patch8 -p1 -b .clx
+%patch10 -p1 -b .ffcall
+%patch0 -p1
%if 0%{?qemu_user_space_build:1}
# qemu does not support stack overflows well ;)
-%patch11 -p0 -b .qemu
+%patch11 -p1 -b .qemu
+%endif
+%patch12 -p1
+%if 0%{?suse_version} > 1220
+%patch13 -p1 -b .glibc
%endif
-%patch12 -p0
%build
#
++++++ clisp-2.39-clx.dif ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,6 +1,10 @@
---- modules/clx/new-clx/clx.f
-+++ modules/clx/new-clx/clx.f 2007-01-24 11:33:44.000000000 +0100
-@@ -1563,7 +1563,8 @@ static void general_lookup (object type)
+---
+ modules/clx/new-clx/clx.f | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+--- a/modules/clx/new-clx/clx.f
++++ b/modules/clx/new-clx/clx.f
+@@ -1721,7 +1721,8 @@ static void general_lookup (object type)
DEFUN(XLIB:##L##-ID,xxx) \
{ VALUES1(make_uint29((XID)get_##c (popSTACK()))); } \
DEFUN(XLIB:##L##-EQUAL,xxx yyy) \
@@ -10,7 +14,7 @@
DEFUN(XLIB:LOOKUP-##L,display xxx) \
{ general_lookup (`XLIB::##L##`); }
-@@ -1580,7 +1581,8 @@ static void general_lookup (object type)
+@@ -1738,7 +1739,8 @@ static void general_lookup (object type)
DEFUN(XLIB:##L##-P,xxx) \
{ VALUES_IF(c##_p (popSTACK())); } \
DEFUN(XLIB:##L##-EQUAL,xxx yyy) \
++++++ clisp-2.39-ia64-wooh.dif ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,6 +1,10 @@
---- tests/streams.tst
-+++ tests/streams.tst 2006-07-25 15:58:55.000000000 +0000
-@@ -1031,8 +1031,8 @@ T
+---
+ tests/streams.tst | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/tests/streams.tst
++++ b/tests/streams.tst
+@@ -1036,8 +1036,8 @@ T
(describe (make-array nil :element-type nil) s)))
T
++++++ clisp-2.44.1-ia64.dif ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,5 +1,11 @@
---- ffcall-1.10+2.43/avcall/avcall-ia64.s
-+++ ffcall-1.10+2.43/avcall/avcall-ia64.s 2006-07-21 16:24:20.000000000 +0200
+---
+ ffcall-1.10+2.43/avcall/avcall-ia64.s | 1071 ++++++++++++-----------
+ ffcall-1.10+2.43/avcall/avcall.h.in | 4
+ ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in | 4
+ 3 files changed, 581 insertions(+), 498 deletions(-)
+
+--- a/ffcall-1.10+2.43/avcall/avcall-ia64.s
++++ b/ffcall-1.10+2.43/avcall/avcall-ia64.s
@@ -1,739 +1,822 @@
.file "avcall-ia64.c"
- .version "01.01"
@@ -1317,8 +1323,8 @@
.endp __builtin_avcall#
- .ident "GCC: (GNU) 2.9-ia64-000216 snap-000324"
+ .ident "GCC: (GNU) 4.1.0 (SUSE Linux)"
---- ffcall-1.10+2.43/avcall/avcall.h.in
-+++ ffcall-1.10+2.43/avcall/avcall.h.in 2006-07-19 17:19:49.000000000 +0200
+--- a/ffcall-1.10+2.43/avcall/avcall.h.in
++++ b/ffcall-1.10+2.43/avcall/avcall.h.in
@@ -1112,7 +1112,7 @@ typedef struct
* different alignment.
*/
@@ -1337,8 +1343,8 @@
/* Types larger than a word have 2-word alignment. */
#define __av_struct(LIST,TYPE,TYPE_SIZE,TYPE_ALIGN,ASSIGN,VAL) \
((LIST).aptr = (__avword*)(((__avword)(LIST).aptr+(TYPE_SIZE)+__av_struct_alignment(TYPE_ALIGN)-1) & -(long)__av_struct_alignment(TYPE_ALIGN)), \
---- ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in
-+++ ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in 2006-07-19 17:23:49.000000000 +0200
+--- a/ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in
++++ b/ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in
@@ -1059,7 +1059,7 @@ typedef __va_alist* va_alist;
#endif
#define __va_align_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \
++++++ clisp-2.44.1-map_private.patch ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,6 +1,10 @@
---- ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
-+++ ffcall-1.10+2.43/callback/trampoline_r/trampoline.c 2003-12-10 23:14:50.000000000 -0800
-@@ -452,7 +452,7 @@
+---
+ ffcall-1.10+2.43/callback/trampoline_r/trampoline.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
++++ b/ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
+@@ -368,7 +368,7 @@ __TR_function alloc_trampoline_r (__TR_f
{ /* Get a new page. */
char* page;
#ifdef EXECUTABLE_VIA_MMAP_ANONYMOUS
++++++ clisp-2.44.1-map_variable.patch ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,5 +1,9 @@
---- ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
-+++ ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in 2003-12-10 22:04:30.000000000 -0800
+---
+ ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- a/ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
++++ b/ffcall-1.10+2.43/callback/trampoline_r/trampoline_r.h.in
@@ -22,4 +22,9 @@ extern __TR_function trampoline_r_addres
extern void* trampoline_r_data0 (void*);
extern void* trampoline_r_data1 (void*);
++++++ clisp-2.49-personality.patch ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,5 +1,9 @@
---- src/_clisp.c
-+++ src/_clisp.c 2010-07-14 13:14:48.983463701 +0000
+---
+ src/_clisp.c | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+--- a/src/_clisp.c
++++ b/src/_clisp.c
@@ -46,6 +46,11 @@
/* Declare stderr, perror(). */
# include <stdio.h>
++++++ clisp-2.49.dif ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,5 +1,23 @@
---- configure
-+++ configure 2010-07-15 08:38:16.978924992 +0000
+---
+ configure | 6 --
+ ffcall-1.10+2.43/build-aux/config.guess | 1
+ ffcall-1.10+2.43/callback/trampoline_r/trampoline.c | 4 -
+ modules/clx/new-clx/clx.lisp | 1
+ modules/clx/new-clx/demos/clx-demos.lisp | 2
+ modules/clx/new-clx/demos/koch.lisp | 29 ++++++++++
+ modules/clx/new-clx/demos/qix.lisp | 30 ++++++++++-
+ modules/clx/new-clx/demos/sokoban.lisp | 34 +++++++++++-
+ modules/postgresql/link.sh.in | 2
+ src/aclocal.m4 | 2
+ src/build-aux/config.guess | 54 ++++++++++----------
+ src/lispbibl.d | 16 ++++-
+ src/makemake.in | 10 +++
+ utils/gctrigger.c | 1
+ utils/modprep.lisp | 2
+ 15 files changed, 145 insertions(+), 49 deletions(-)
+
+--- a/configure
++++ b/configure
@@ -393,11 +393,11 @@ do
passnext=both ;;
@@ -26,8 +44,8 @@
subdir_configure_args="$subdir_configure_args $arg"
prev=host
passnext=configure ;;
---- ffcall-1.10+2.43/build-aux/config.guess
-+++ ffcall-1.10+2.43/build-aux/config.guess 2008-02-25 13:00:18.000000000 +0000
+--- a/ffcall-1.10+2.43/build-aux/config.guess
++++ b/ffcall-1.10+2.43/build-aux/config.guess
@@ -985,6 +985,7 @@ EOF
exit ;;
esac
@@ -36,8 +54,8 @@
eval $set_cc_for_build
sed 's/^ //' << EOF >$dummy.c
#include <features.h>
---- ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
-+++ ffcall-1.10+2.43/callback/trampoline_r/trampoline.c 2008-02-25 13:00:18.000000000 +0000
+--- a/ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
++++ b/ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
@@ -191,15 +191,11 @@ extern RETGETPAGESIZETYPE getpagesize (v
#ifdef ultrix
#include <mips/cachectl.h>
@@ -54,8 +72,8 @@
#ifdef __m88k__
#include <sys/syslocal.h>
#endif
---- modules/clx/new-clx/clx.lisp
-+++ modules/clx/new-clx/clx.lisp 2008-02-25 13:00:18.000000000 +0000
+--- a/modules/clx/new-clx/clx.lisp
++++ b/modules/clx/new-clx/clx.lisp
@@ -22,6 +22,7 @@
;;;; --------------------------------------------------------------------------
;;;; Exports
@@ -64,8 +82,8 @@
(export
'(*version* access-control access-error access-hosts activate-screen-saver
add-access-host add-resource add-to-save-set alist alloc-color
---- modules/clx/new-clx/demos/clx-demos.lisp
-+++ modules/clx/new-clx/demos/clx-demos.lisp 2010-07-14 12:49:25.000000000 +0000
+--- a/modules/clx/new-clx/demos/clx-demos.lisp
++++ b/modules/clx/new-clx/demos/clx-demos.lisp
@@ -11,7 +11,7 @@
(defparameter *demos*
@@ -75,8 +93,8 @@
(recurrence) (plaid) (clclock) (bball) (bwindow)))
(defmacro do-demos ((fun-var) &body body)
---- modules/clx/new-clx/demos/koch.lisp
-+++ modules/clx/new-clx/demos/koch.lisp 2008-02-25 13:00:18.000000000 +0000
+--- a/modules/clx/new-clx/demos/koch.lisp
++++ b/modules/clx/new-clx/demos/koch.lisp
@@ -7,7 +7,30 @@
;;; $Id: koch.lisp,v 1.5 2008/06/25 23:05:28 sds Exp $
;;; $Source: /cvsroot/clisp/clisp/modules/clx/new-clx/demos/koch.lisp,v $
@@ -88,7 +106,7 @@
+ (:shadowing-import-from "XLIB" "CHAR-WIDTH") ; EXT has CHAR-WIDTH
+ (:export "KOCH"))
+
-+(in-package :koch)
++(in-package :koch)
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(defun x-host-display (&optional (disp (getenv "DISPLAY")))
+ "Parse the DISPLAY environment variable.
@@ -118,8 +136,8 @@
+~% Call (koch:koch)~%~%")
+
(provide "koch")
---- modules/clx/new-clx/demos/qix.lisp
-+++ modules/clx/new-clx/demos/qix.lisp 2008-02-25 13:00:18.000000000 +0000
+--- a/modules/clx/new-clx/demos/qix.lisp
++++ b/modules/clx/new-clx/demos/qix.lisp
@@ -14,7 +14,30 @@
;;;; o or a spline option?!
;;;;
@@ -162,8 +180,8 @@
+~% Call (qix:qix) or (qix:qix :delay 0)~%~%")
+
(provide "qix")
---- modules/clx/new-clx/demos/sokoban.lisp
-+++ modules/clx/new-clx/demos/sokoban.lisp 2008-02-25 13:00:18.000000000 +0000
+--- a/modules/clx/new-clx/demos/sokoban.lisp
++++ b/modules/clx/new-clx/demos/sokoban.lisp
@@ -41,7 +41,30 @@
;;;; - maximum field size is hard wired to 20x20. (This is not in the LISP spirit!)
;;;; - sometimes the programm could not count correctly ...
@@ -217,8 +235,8 @@
+(format t "~&~% Call (sokoban:sokoban)~%~%")
+
(provide "sokoban")
---- modules/postgresql/link.sh.in
-+++ modules/postgresql/link.sh.in 2008-02-25 13:00:18.000000000 +0000
+--- a/modules/postgresql/link.sh.in
++++ b/modules/postgresql/link.sh.in
@@ -4,5 +4,5 @@ ${MAKE-make} clisp-module \
NEW_MODULES='postgresql'
NEW_FILES=''
@@ -226,8 +244,8 @@
-NEW_LIBS="${NEW_FILES} @LIBS@"
+NEW_LIBS="${NEW_FILES} @LIBS@ -lcrypt -lssl"
TO_LOAD='postgresql sql'
---- src/aclocal.m4
-+++ src/aclocal.m4 2008-02-25 13:00:18.000000000 +0000
+--- a/src/aclocal.m4
++++ b/src/aclocal.m4
@@ -6668,7 +6668,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
dnl When using libtool, the option that works for both libraries and
dnl executables is -R. The -R options are cumulative.
@@ -237,89 +255,8 @@
done
fi
popdef([P_A_C_K])
---- src/lispbibl.d
-+++ src/lispbibl.d 2010-07-14 12:53:05.000000000 +0000
-@@ -121,7 +121,7 @@
- #define PC386 /* IBMPC-compatible with 80386/80486-processor */
- #endif
- #ifdef GENERIC_UNIX
-- #if (defined(unix) && (defined(linux) || defined(__CYGWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) && (defined(i386) || defined(__i386__) || defined(__x86_64__) || defined(__amd64__)))
-+ #if (defined(unix) && ((defined(linux) || defined(__linux__)) || defined(__CYGWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) && (defined(i386) || defined(__i386__) || defined(__x86_64__) || defined(__amd64__)))
- #define PC386
- #endif
- #if (defined(sun) && defined(unix) && defined(sparc))
-@@ -218,8 +218,14 @@
- #endif
- #ifdef GENERIC_UNIX
- #define UNIX
-- #ifdef __linux__
-+ #if defined(__linux__) || defined(linux)
- #define UNIX_LINUX /* Linux (Linus Torvalds Unix) */
-+ #ifndef linux
-+ #define linux
-+ #endif
-+ #ifndef __linux__
-+ #define __linux__
-+ #endif
- #endif
- #ifdef __GNU__
- #define UNIX_HURD /* the GNU system (Hurd + glibc) */
-@@ -1245,7 +1251,7 @@ typedef signed int signean;
- address of its component 'ident' and return it as number: */
- #include <stddef.h>
- #ifndef offsetof
-- #define offsetof(type,ident) ((ULONG)&(((type*)0)->ident))
-+ #define offsetof(type,ident) ((size_t)&(((type*)0)->ident))
- #endif
- /* Determine the offset of an array 'ident' in a struct of the type 'type': */
- #if defined(__cplusplus) || defined(MICROSOFT)
-@@ -3312,9 +3318,9 @@ typedef signed_int_with_n_bits(intVsize)
- type_data_object(type,data) */
- #if defined(WIDE) && defined(WIDE_STRUCT)
- #if BIG_ENDIAN_P==WIDE_ENDIANNESS
-- #define type_data_object(type,data) ((object){{(tint)(type),(aint)(data)}INIT_ALLOCSTAMP})
-+ #define type_data_object(type,data) (object){{(tint)(type),(aint)(data)}INIT_ALLOCSTAMP}
- #else
-- #define type_data_object(type,data) ((object){{(aint)(data),(tint)(type)}INIT_ALLOCSTAMP})
-+ #define type_data_object(type,data) (object){{(aint)(data),(tint)(type)}INIT_ALLOCSTAMP}
- #endif
- #elif !(oint_addr_shift==0)
- #define type_data_object(type,data) \
---- src/makemake.in
-+++ src/makemake.in 2010-07-16 09:24:56.183425374 +0000
-@@ -228,6 +228,9 @@ verbose=${CLISP_MAKEMAKE_VERBOSE:-false}
- # Handle --with-... arguments
- while test -z "$endofargs"; do
- case "$1" in
-+ -ignore* | --ignore* )
-+ shift
-+ ;;
- -verb* | --verb* )
- verbose=`echol "$1"|sed 's/-*v[^=]*=*//'`
- test -n "${verbose}" || verbose=true
-@@ -1335,6 +1338,10 @@ if [ $XCC_GCC = true ] ; then
- XCFLAGS=${XCFLAGS}" -pthread"
- fi
-
-+ if [ -n "${MYCFLAGS}" ] ; then
-+ XCFLAGS=$XCFLAGS' ${MYCFLAGS} '
-+ fi
-+
- else
-
- if [ $TSYS = sun4 -a $CROSS = false ] ; then
-@@ -3593,7 +3600,8 @@ if [ $CROSS = false ] ; then
- echotab " mkdir -p \"\$\$absdest/\$\$m\"; \\"
- echotab " cd \$\$m; \$(MAKE) clisp-module-distrib LN=\"\$(INSTALL_DATA)\" distribdir=\"\$\$absdest/\$\$m\" ; cd \"\$\$here\"; \\"
- echotab " done; fi"
-- line='linkkit/* base/*'
-+ echotab "mkdir -p \$(DESTDIR)\$(lisplibdir)/full"
-+ line='linkkit/* base/* full/*'
- else
- echotab "mkdir -p \$(DESTDIR)\$(lisplibdir)/full"
- line='linkkit/* base/* full/*'
---- src/build-aux/config.guess
-+++ src/build-aux/config.guess 2010-07-14 13:01:48.000000000 +0000
+--- a/src/build-aux/config.guess
++++ b/src/build-aux/config.guess
@@ -870,29 +870,29 @@ EOF
esac
objdump --private-headers /bin/sh | grep -q ld.so.1
@@ -446,8 +383,89 @@
exit ;;
i*86:DYNIX/ptx:4*:*)
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
---- utils/gctrigger.c
-+++ utils/gctrigger.c 2008-02-25 13:00:18.000000000 +0000
+--- a/src/lispbibl.d
++++ b/src/lispbibl.d
+@@ -121,7 +121,7 @@
+ #define PC386 /* IBMPC-compatible with 80386/80486-processor */
+ #endif
+ #ifdef GENERIC_UNIX
+- #if (defined(unix) && (defined(linux) || defined(__CYGWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) && (defined(i386) || defined(__i386__) || defined(__x86_64__) || defined(__amd64__)))
++ #if (defined(unix) && ((defined(linux) || defined(__linux__)) || defined(__CYGWIN32__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) && (defined(i386) || defined(__i386__) || defined(__x86_64__) || defined(__amd64__)))
+ #define PC386
+ #endif
+ #if (defined(sun) && defined(unix) && defined(sparc))
+@@ -218,8 +218,14 @@
+ #endif
+ #ifdef GENERIC_UNIX
+ #define UNIX
+- #ifdef __linux__
++ #if defined(__linux__) || defined(linux)
+ #define UNIX_LINUX /* Linux (Linus Torvalds Unix) */
++ #ifndef linux
++ #define linux
++ #endif
++ #ifndef __linux__
++ #define __linux__
++ #endif
+ #endif
+ #ifdef __GNU__
+ #define UNIX_HURD /* the GNU system (Hurd + glibc) */
+@@ -1245,7 +1251,7 @@ typedef signed int signean;
+ address of its component 'ident' and return it as number: */
+ #include <stddef.h>
+ #ifndef offsetof
+- #define offsetof(type,ident) ((ULONG)&(((type*)0)->ident))
++ #define offsetof(type,ident) ((size_t)&(((type*)0)->ident))
+ #endif
+ /* Determine the offset of an array 'ident' in a struct of the type 'type': */
+ #if defined(__cplusplus) || defined(MICROSOFT)
+@@ -3312,9 +3318,9 @@ typedef signed_int_with_n_bits(intVsize)
+ type_data_object(type,data) */
+ #if defined(WIDE) && defined(WIDE_STRUCT)
+ #if BIG_ENDIAN_P==WIDE_ENDIANNESS
+- #define type_data_object(type,data) ((object){{(tint)(type),(aint)(data)}INIT_ALLOCSTAMP})
++ #define type_data_object(type,data) (object){{(tint)(type),(aint)(data)}INIT_ALLOCSTAMP}
+ #else
+- #define type_data_object(type,data) ((object){{(aint)(data),(tint)(type)}INIT_ALLOCSTAMP})
++ #define type_data_object(type,data) (object){{(aint)(data),(tint)(type)}INIT_ALLOCSTAMP}
+ #endif
+ #elif !(oint_addr_shift==0)
+ #define type_data_object(type,data) \
+--- a/src/makemake.in
++++ b/src/makemake.in
+@@ -228,6 +228,9 @@ verbose=${CLISP_MAKEMAKE_VERBOSE:-false}
+ # Handle --with-... arguments
+ while test -z "$endofargs"; do
+ case "$1" in
++ -ignore* | --ignore* )
++ shift
++ ;;
+ -verb* | --verb* )
+ verbose=`echol "$1"|sed 's/-*v[^=]*=*//'`
+ test -n "${verbose}" || verbose=true
+@@ -1335,6 +1338,10 @@ if [ $XCC_GCC = true ] ; then
+ XCFLAGS=${XCFLAGS}" -pthread"
+ fi
+
++ if [ -n "${MYCFLAGS}" ] ; then
++ XCFLAGS=$XCFLAGS' ${MYCFLAGS} '
++ fi
++
+ else
+
+ if [ $TSYS = sun4 -a $CROSS = false ] ; then
+@@ -3593,7 +3600,8 @@ if [ $CROSS = false ] ; then
+ echotab " mkdir -p \"\$\$absdest/\$\$m\"; \\"
+ echotab " cd \$\$m; \$(MAKE) clisp-module-distrib LN=\"\$(INSTALL_DATA)\" distribdir=\"\$\$absdest/\$\$m\" ; cd \"\$\$here\"; \\"
+ echotab " done; fi"
+- line='linkkit/* base/*'
++ echotab "mkdir -p \$(DESTDIR)\$(lisplibdir)/full"
++ line='linkkit/* base/* full/*'
+ else
+ echotab "mkdir -p \$(DESTDIR)\$(lisplibdir)/full"
+ line='linkkit/* base/* full/*'
+--- a/utils/gctrigger.c
++++ b/utils/gctrigger.c
@@ -599,6 +599,7 @@ static inline void VectorToken_delete (V
static Token nexttoken (boolean within_prep_directive)
{
@@ -456,8 +474,8 @@
restart:
{ int c = next_char();
switch (c) {
---- utils/modprep.lisp
-+++ utils/modprep.lisp 2008-02-25 13:00:18.000000000 +0000
+--- a/utils/modprep.lisp
++++ b/utils/modprep.lisp
@@ -345,7 +345,7 @@ FOO(bar,baz,zot) ==> FOO; (bar baz zot);
((or (char= cc #\_) (char= cc #\-)) (write-char #\_ out))
(t (format out "_~2,'0x" (char-code cc))))))
++++++ clisp-glibc-fix.patch ++++++
From: Togan Muftuoglu <toganm(a)opensuse.org>
Date: Access: 2012-11-28 16:13:07 +0100
Referencens: http://comments.gmane.org/gmane.comp.lib.glibc.alpha/25618
Subject: remove __swblk_t from linux.lisp
Upstream: no
Glibc got rid of unused __swblk_t type, so the linux.lisp package needs to
be updated, enabling build
---
modules/bindings/glibc/linux.lisp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/modules/bindings/glibc/linux.lisp
+++ b/modules/bindings/glibc/linux.lisp
@@ -38,7 +38,6 @@
; =========================== <sys/types.h> ===================================
(c-lines "#include <sys/types.h>~%")
-
; --------------------------- <gnu/types.h> -----------------------------------
(def-c-type __u_char uchar)
@@ -67,7 +66,7 @@
(def-c-type __daddr_t) ; int
(def-c-type __caddr_t) ; c-pointer
(def-c-type __time_t) ; long
-(def-c-type __swblk_t) ; long
+;;(def-c-type __swblk_t) ; long
(def-c-type __fd_mask ulong)
(eval-when (load compile eval)
++++++ clisp-linux.patch ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,5 +1,9 @@
---- ./modules/bindings/glibc/linux.lisp.orig 2008-10-08 10:36:19.000000000 -0600
-+++ ./modules/bindings/glibc/linux.lisp 2012-07-25 19:05:07.014592097 -0600
+---
+ modules/bindings/glibc/linux.lisp | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/modules/bindings/glibc/linux.lisp
++++ b/modules/bindings/glibc/linux.lisp
@@ -86,7 +86,7 @@
(def-c-type __key_t) ; int
++++++ ffcall-1.10+2.43.dif ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,5 +1,31 @@
---- ffcall-1.10+2.43/avcall/Makefile.in
-+++ ffcall-1.10+2.43/avcall/Makefile.in 2008-02-25 14:49:20.095314920 +0100
+---
+ ffcall-1.10+2.43/avcall/Makefile.in | 40 -
+ ffcall-1.10+2.43/avcall/avcall-mips.S | 774 +++++++++-----------
+ ffcall-1.10+2.43/avcall/avcall-mips.c | 147 ++-
+ ffcall-1.10+2.43/avcall/avcall.h.in | 37
+ ffcall-1.10+2.43/callback/Makefile.in | 40 -
+ ffcall-1.10+2.43/callback/trampoline_r/Makefile.in | 36
+ ffcall-1.10+2.43/callback/trampoline_r/cache-arm.c | 16
+ ffcall-1.10+2.43/callback/trampoline_r/cache-arm.s | 15
+ ffcall-1.10+2.43/callback/trampoline_r/configure.in | 2
+ ffcall-1.10+2.43/callback/trampoline_r/tramp-arm.s | 10
+ ffcall-1.10+2.43/callback/trampoline_r/tramp-mips.s | 12
+ ffcall-1.10+2.43/callback/trampoline_r/trampoline.c | 105 --
+ ffcall-1.10+2.43/callback/vacall_r/Makefile.in | 36
+ ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in | 28
+ ffcall-1.10+2.43/m4/general.m4 | 6
+ ffcall-1.10+2.43/trampoline/Makefile.in | 32
+ ffcall-1.10+2.43/trampoline/cache-arm.c | 16
+ ffcall-1.10+2.43/trampoline/cache-arm.s | 15
+ ffcall-1.10+2.43/trampoline/configure.in | 2
+ ffcall-1.10+2.43/trampoline/tramp-arm.s | 12
+ ffcall-1.10+2.43/trampoline/trampoline.c | 63 -
+ ffcall-1.10+2.43/vacall/Makefile.in | 32
+ ffcall-1.10+2.43/vacall/vacall.h.in | 18
+ 23 files changed, 757 insertions(+), 737 deletions(-)
+
+--- a/ffcall-1.10+2.43/avcall/Makefile.in
++++ b/ffcall-1.10+2.43/avcall/Makefile.in
@@ -155,34 +155,34 @@ libavcall.la : $(OBJECTS)
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
@@ -55,8 +81,8 @@
uninstall : force
$(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libavcall.la
---- ffcall-1.10+2.43/avcall/avcall-mips.S
-+++ ffcall-1.10+2.43/avcall/avcall-mips.S 2008-02-25 14:49:16.398841723 +0100
+--- a/ffcall-1.10+2.43/avcall/avcall-mips.S
++++ b/ffcall-1.10+2.43/avcall/avcall-mips.S
@@ -1,418 +1,406 @@
-#include "asmmips.h"
.file 1 "avcall-mips.c"
@@ -857,8 +883,8 @@
-
.end __builtin_avcall
+ .ident "GCC: (GNU) 3.3.5 (Debian 1:3.3.5-8)"
---- ffcall-1.10+2.43/avcall/avcall-mips.c
-+++ ffcall-1.10+2.43/avcall/avcall-mips.c 2008-02-25 14:49:16.418844285 +0100
+--- a/ffcall-1.10+2.43/avcall/avcall-mips.c
++++ b/ffcall-1.10+2.43/avcall/avcall-mips.c
@@ -3,6 +3,7 @@
/**
Copyright 1993 Bill Triggs, <Bill.Triggs(a)inrialpes.fr>
@@ -896,7 +922,7 @@
+ float fret;
+ double dret;
+
-+ /* load leading float args */
++ /* load leading float args */
+ if (l->flags & __AV_FLOAT_1)
+ __asm__("l.s $f12,%1(%0)" : : "p" (l), "i" OFFSETOF(av_alist,floatarg[0]));
+ if (l->flags & __AV_DOUBLE_1)
@@ -1056,8 +1082,8 @@
}
return 0;
}
---- ffcall-1.10+2.43/avcall/avcall.h.in
-+++ ffcall-1.10+2.43/avcall/avcall.h.in 2008-02-25 14:49:16.398841723 +0100
+--- a/ffcall-1.10+2.43/avcall/avcall.h.in
++++ b/ffcall-1.10+2.43/avcall/avcall.h.in
@@ -286,9 +286,11 @@ enum __AV_alist_flags
#if defined(__i386__) || defined(__m68k__) || defined(__mipsn32__) || defined(__mips64__) || defined(__sparc64__) || defined(__alpha__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__)) || defined(__convex__) || defined(__ia64__) || defined(__x86_64__) || defined(__s390__)
__AV_REGISTER_STRUCT_RETURN = 1<<9,
@@ -1162,8 +1188,8 @@
#define __av_struct_leftadjusted(LIST,TYPE,TYPE_SIZE,TYPE_ALIGN,ASSIGN,VAL) \
(((LIST).aptr = \
(__avword*)(((__avword)(LIST).aptr+(TYPE_SIZE)+(TYPE_ALIGN)-1) & -(long)(TYPE_ALIGN)))\
---- ffcall-1.10+2.43/callback/Makefile.in
-+++ ffcall-1.10+2.43/callback/Makefile.in 2008-02-25 14:49:20.095314920 +0100
+--- a/ffcall-1.10+2.43/callback/Makefile.in
++++ b/ffcall-1.10+2.43/callback/Makefile.in
@@ -67,36 +67,36 @@ libcallback.la : vacall_r/libvacall.la t
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
@@ -1221,9 +1247,9 @@
uninstall : force
cd @subdir@; $(MAKE) uninstall
---- ffcall-1.10+2.43/callback/trampoline_r/Makefile.in
-+++ ffcall-1.10+2.43/callback/trampoline_r/Makefile.in 2008-02-25 14:49:20.119317993 +0100
-@@ -126,32 +126,32 @@ libtrampoline.la : $(OBJECTS)
+--- a/ffcall-1.10+2.43/callback/trampoline_r/Makefile.in
++++ b/ffcall-1.10+2.43/callback/trampoline_r/Makefile.in
+@@ -123,32 +123,32 @@ libtrampoline.la : $(OBJECTS)
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
install-lib : all force
@@ -1274,8 +1300,8 @@
uninstall : force
# $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libtrampoline.la
---- ffcall-1.10+2.43/callback/trampoline_r/cache-arm.c
-+++ ffcall-1.10+2.43/callback/trampoline_r/cache-arm.c 2008-02-25 14:49:16.506855549 +0100
+--- /dev/null
++++ b/ffcall-1.10+2.43/callback/trampoline_r/cache-arm.c
@@ -0,0 +1,16 @@
+/* Instruction cache flushing for arm */
+
@@ -1293,8 +1319,8 @@
+{
+ asm volatile ("swi %0" : : "i" (__ARM_NR_cacheflush));
+}
---- ffcall-1.10+2.43/callback/trampoline_r/cache-arm.s
-+++ ffcall-1.10+2.43/callback/trampoline_r/cache-arm.s 2008-02-25 14:49:16.566863234 +0100
+--- /dev/null
++++ b/ffcall-1.10+2.43/callback/trampoline_r/cache-arm.s
@@ -0,0 +1,15 @@
+ .file "cache-arm.c"
+ .text
@@ -1311,8 +1337,8 @@
+ mov pc, lr
+ .size __TR_clear_cache, .-__TR_clear_cache
+ .ident "GCC: (GNU) 3.4.0 (Debian 20040516)"
---- ffcall-1.10+2.43/callback/trampoline_r/configure.in
-+++ ffcall-1.10+2.43/callback/trampoline_r/configure.in 2008-02-25 14:49:16.474851452 +0100
+--- a/ffcall-1.10+2.43/callback/trampoline_r/configure.in
++++ b/ffcall-1.10+2.43/callback/trampoline_r/configure.in
@@ -30,7 +30,7 @@ if test ${host_cpu_abi} = powerpc; then
*) ;;
esac
@@ -1322,8 +1348,8 @@
CPU_OBJECTS="$CPU_OBJECTS "'cache-$(CPU).lo'
fi
if test ${host_cpu_abi} = powerpc; then
---- ffcall-1.10+2.43/callback/trampoline_r/tramp-arm.s
-+++ ffcall-1.10+2.43/callback/trampoline_r/tramp-arm.s 2008-02-25 14:49:16.598867330 +0100
+--- a/ffcall-1.10+2.43/callback/trampoline_r/tramp-arm.s
++++ b/ffcall-1.10+2.43/callback/trampoline_r/tramp-arm.s
@@ -22,19 +22,15 @@ pc .req r15
_tramp:
@ Immediate constants are a problem. I take the indirect load approach
@@ -1347,8 +1373,8 @@
_function:
.word 0xbabebec0
+ .global _function
---- ffcall-1.10+2.43/callback/trampoline_r/tramp-mips.s
-+++ ffcall-1.10+2.43/callback/trampoline_r/tramp-mips.s 2008-02-25 14:49:16.634871936 +0100
+--- a/ffcall-1.10+2.43/callback/trampoline_r/tramp-mips.s
++++ b/ffcall-1.10+2.43/callback/trampoline_r/tramp-mips.s
@@ -17,12 +17,12 @@
.globl tramp
.ent tramp
@@ -1368,8 +1394,8 @@
+$LC0: .word 0x73554711
+$LC1: .word 0xbabebec0
.end tramp
---- ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
-+++ ffcall-1.10+2.43/callback/trampoline_r/trampoline.c 2008-02-25 14:49:16.538859649 +0100
+--- a/ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
++++ b/ffcall-1.10+2.43/callback/trampoline_r/trampoline.c
@@ -240,11 +240,7 @@ extern void __TR_clear_cache();
#define TRAMP_LENGTH 14
#define TRAMP_ALIGN 16
@@ -1541,8 +1567,8 @@
#endif
#if defined(__powerpc__) && !defined(__powerpc64__)
__TR_clear_cache(function);
---- ffcall-1.10+2.43/callback/vacall_r/Makefile.in
-+++ ffcall-1.10+2.43/callback/vacall_r/Makefile.in 2008-02-25 14:49:20.155322601 +0100
+--- a/ffcall-1.10+2.43/callback/vacall_r/Makefile.in
++++ b/ffcall-1.10+2.43/callback/vacall_r/Makefile.in
@@ -163,32 +163,32 @@ libvacall.la : $(OBJECTS)
# Installs the library and include files only. Typically called with only
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
@@ -1594,8 +1620,8 @@
uninstall : force
# $(LIBTOOL_UNINSTALL) $(RM) $(DESTDIR)$(libdir)/libvacall.la
---- ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in
-+++ ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in 2008-02-25 14:49:16.662875524 +0100
+--- a/ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in
++++ b/ffcall-1.10+2.43/callback/vacall_r/vacall_r.h.in
@@ -288,7 +288,7 @@ enum __VA_alist_flags
#if defined(__i386__) || defined(__m68k__) || defined(__mipsn32__) || defined(__mips64__) || defined(__sparc64__) || defined(__alpha__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__)) || defined(__convex__) || defined(__ia64__) || defined(__x86_64__) || defined(__s390__)
__VA_REGISTER_STRUCT_RETURN = 1<<10,
@@ -1694,8 +1720,8 @@
/* small structures < 1 word are adjusted depending on compiler */
#define __va_arg_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \
(__va_align_struct(LIST,TYPE_SIZE,TYPE_ALIGN) \
---- ffcall-1.10+2.43/m4/general.m4
-+++ ffcall-1.10+2.43/m4/general.m4 2008-02-25 14:49:16.686878594 +0100
+--- a/ffcall-1.10+2.43/m4/general.m4
++++ b/ffcall-1.10+2.43/m4/general.m4
@@ -149,7 +149,7 @@ changequote(,)dnl
host_cpu_instructionset=arm
;;
@@ -1723,8 +1749,8 @@
AC_CACHE_CHECK([for 64-bit MIPS], cl_cv_host_mips64, [
AC_EGREP_CPP(yes,
[#if defined(_MIPS_SZLONG)
---- ffcall-1.10+2.43/trampoline/Makefile.in
-+++ ffcall-1.10+2.43/trampoline/Makefile.in 2008-02-25 14:49:20.179325674 +0100
+--- a/ffcall-1.10+2.43/trampoline/Makefile.in
++++ b/ffcall-1.10+2.43/trampoline/Makefile.in
@@ -110,28 +110,28 @@ libtrampoline.a : $(OBJECTS)
$(RANLIB) libtrampoline.a
@@ -1770,8 +1796,8 @@
uninstall : force
$(RM) $(DESTDIR)$(libdir)/libtrampoline.a
---- ffcall-1.10+2.43/trampoline/cache-arm.c
-+++ ffcall-1.10+2.43/trampoline/cache-arm.c 2008-02-25 14:49:16.750886790 +0100
+--- /dev/null
++++ b/ffcall-1.10+2.43/trampoline/cache-arm.c
@@ -0,0 +1,16 @@
+/* Instruction cache flushing for arm */
+
@@ -1789,8 +1815,8 @@
+{
+ asm volatile ("swi %0" : : "i" (__ARM_NR_cacheflush));
+}
---- ffcall-1.10+2.43/trampoline/cache-arm.s
-+++ ffcall-1.10+2.43/trampoline/cache-arm.s 2008-02-25 14:49:16.814894982 +0100
+--- /dev/null
++++ b/ffcall-1.10+2.43/trampoline/cache-arm.s
@@ -0,0 +1,15 @@
+ .file "cache-arm.c"
+ .text
@@ -1807,8 +1833,8 @@
+ mov pc, lr
+ .size __TR_clear_cache, .-__TR_clear_cache
+ .ident "GCC: (GNU) 3.4.0 (Debian 20040516)"
---- ffcall-1.10+2.43/trampoline/configure.in
-+++ ffcall-1.10+2.43/trampoline/configure.in 2008-02-25 14:49:16.718882694 +0100
+--- a/ffcall-1.10+2.43/trampoline/configure.in
++++ b/ffcall-1.10+2.43/trampoline/configure.in
@@ -28,7 +28,7 @@ if test ${host_cpu_abi} = powerpc; then
*) ;;
esac
@@ -1818,8 +1844,8 @@
CPU_OBJECTS="$CPU_OBJECTS "'cache-$(CPU).o'
fi
if test ${host_cpu_abi} = powerpc; then
---- ffcall-1.10+2.43/trampoline/tramp-arm.s
-+++ ffcall-1.10+2.43/trampoline/tramp-arm.s 2008-02-25 14:49:16.850899593 +0100
+--- a/ffcall-1.10+2.43/trampoline/tramp-arm.s
++++ b/ffcall-1.10+2.43/trampoline/tramp-arm.s
@@ -23,13 +23,11 @@ _tramp:
@ Immediate constants are a problem. I take the indirect load approach
@ because I don't want 4 instructions for each constant.
@@ -1839,8 +1865,8 @@
.global _data
.align 0
---- ffcall-1.10+2.43/trampoline/trampoline.c
-+++ ffcall-1.10+2.43/trampoline/trampoline.c 2008-02-25 14:49:16.778890375 +0100
+--- a/ffcall-1.10+2.43/trampoline/trampoline.c
++++ b/ffcall-1.10+2.43/trampoline/trampoline.c
@@ -278,7 +278,7 @@ extern void __TR_clear_cache();
#define TRAMP_BIAS 2
#endif
@@ -1934,8 +1960,8 @@
#endif
#if defined(__powerpc__) && !defined(__powerpc64__)
__TR_clear_cache(function);
---- ffcall-1.10+2.43/vacall/Makefile.in
-+++ ffcall-1.10+2.43/vacall/Makefile.in 2008-02-25 14:49:20.215330284 +0100
+--- a/ffcall-1.10+2.43/vacall/Makefile.in
++++ b/ffcall-1.10+2.43/vacall/Makefile.in
@@ -145,28 +145,28 @@ libvacall.a : $(OBJECTS)
$(RANLIB) libvacall.a
@@ -1981,8 +2007,8 @@
uninstall : force
$(RM) $(DESTDIR)$(libdir)/libvacall.a
---- ffcall-1.10+2.43/vacall/vacall.h.in
-+++ ffcall-1.10+2.43/vacall/vacall.h.in 2008-02-25 14:49:16.878903178 +0100
+--- a/ffcall-1.10+2.43/vacall/vacall.h.in
++++ b/ffcall-1.10+2.43/vacall/vacall.h.in
@@ -289,7 +289,7 @@ enum __VA_alist_flags
#if defined(__i386__) || defined(__m68k__) || defined(__mipsn32__) || defined(__mips64__) || defined(__sparc64__) || defined(__alpha__) || defined(__arm__) || (defined(__powerpc__) && !defined(__powerpc64__)) || defined(__convex__) || defined(__ia64__) || defined(__x86_64__) || defined(__s390__)
__VA_REGISTER_STRUCT_RETURN = 1<<10,
++++++ fix-build-in-qemu.patch ++++++
--- /var/tmp/diff_new_pack.P5BHQM/_old 2012-11-29 09:22:13.000000000 +0100
+++ /var/tmp/diff_new_pack.P5BHQM/_new 2012-11-29 09:22:13.000000000 +0100
@@ -1,7 +1,10 @@
-Index: libsigsegv-2.9/tests/Makefile.am
-===================================================================
---- libsigsegv-2.9/tests/Makefile.am.orig
-+++ libsigsegv-2.9/tests/Makefile.am
+---
+ libsigsegv-2.10/tests/Makefile.am | 2 +-
+ libsigsegv-2.10/tests/Makefile.in | 1 -
+ 2 files changed, 1 insertion(+), 2 deletions(-)
+
+--- a/libsigsegv-2.10/tests/Makefile.am
++++ b/libsigsegv-2.10/tests/Makefile.am
@@ -20,7 +20,7 @@
AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests
@@ -11,10 +14,8 @@
EXTRA_DIST = mmaputil.h altstack.h
-Index: libsigsegv-2.9/tests/Makefile.in
-===================================================================
---- libsigsegv-2.9/tests/Makefile.in.orig
-+++ libsigsegv-2.9/tests/Makefile.in
+--- a/libsigsegv-2.10/tests/Makefile.in
++++ b/libsigsegv-2.10/tests/Makefile.in
@@ -35,7 +35,6 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
++++++ libsigsegv-2.9.tar.gz -> libsigsegv-2.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/ChangeLog new/libsigsegv-2.10/ChangeLog
--- old/libsigsegv-2.9/ChangeLog 2010-11-06 12:59:35.000000000 +0100
+++ new/libsigsegv-2.10/ChangeLog 2011-04-03 17:50:18.000000000 +0200
@@ -1,3 +1,53 @@
+2011-04-03 Bruno Haible <bruno(a)clisp.org>
+
+ * Version 2.10 released.
+
+2011-04-03 Bruno Haible <bruno(a)clisp.org>
+
+ Don't ask for success reports on MacOS X any more.
+ * Makefile.am (check-next): No longer ask for success reports on
+ MacOS X.
+
+2011-04-03 Bruno Haible <bruno(a)clisp.org>
+
+ Bump version number.
+ * configure.ac: Bump version number to 2.10.
+ * src/sigsegv.h.in (LIBSIGSEGV_VERSION): Likewise.
+ * README: Likewise. Recommend ftpmirror.gnu.org in the first place.
+ * src/Makefile.am (LIBSIGSEGV_VERSION_INFO): Bump to 2:3:0.
+
+2011-03-13 Bruno Haible <bruno(a)clisp.org>
+
+ Support for Linux/S390.
+ * m4/fault.m4 (SV_TRY_FAULT): Define
+ SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS. On Linux/S390 systems, expect a
+ page-aligned fault address.
+ * src/sigsegv.h.in (SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS): New macro.
+ (sigsegv_register): Mention constraint about address and len arguments.
+ * tests/sigsegv1.c (handler): On Linux/S390 systems, expect a
+ page-aligned fault address.
+ * tests/sigsegv3.c (handler): Likewise.
+ * tests/sigsegv2.c: Add comment.
+ * NEWS: Document the change.
+ Reported by Christoph Egger <christoph(a)debian.org>.
+
+2011-01-29 Bruno Haible <bruno(a)clisp.org>
+
+ Improve OpenBSD support: Allow faster VMA determination.
+ * configure.ac: Check also for mquery.
+ (CFG_STACKVMA): Set to stackvma-mquery.c if mquery() exists.
+ * src/stackvma-mquery.c: New file.
+ * src/Makefile.am (EXTRA_DIST): Add it.
+ * NEWS: Document the improvement.
+
+2011-01-23 Bruno Haible <bruno(a)clisp.org>
+
+ Improve NetBSD support: Allow VMA determination with fewer system calls.
+ * src/stackvma-netbsd.c: New file, based on src/stackvma-freebsd.c.
+ * src/stackvma-freebsd.c: Add comment.
+ * src/Makefile.am (EXTRA_DIST): Add stackvma-netbsd.c.
+ * configure.ac (CFG_STACKVMA): Set to stackvma-netbsd.c on NetBSD.
+
2010-11-06 Bruno Haible <bruno(a)clisp.org>
* Version 2.9 released.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/Makefile.am new/libsigsegv-2.10/Makefile.am
--- old/libsigsegv-2.9/Makefile.am 2009-06-24 00:46:32.000000000 +0200
+++ new/libsigsegv-2.10/Makefile.am 2011-04-03 17:49:03.000000000 +0200
@@ -1,5 +1,5 @@
## Makefile for libsigsegv.
-## Copyright (C) 2002-2003, 2007, 2009 Bruno Haible <bruno(a)clisp.org>
+## Copyright (C) 2002-2003, 2007, 2009, 2011 Bruno Haible <bruno(a)clisp.org>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -47,10 +47,10 @@
@when="Now"; \
if grep '^@PLATFORM@ .* @VERSION@$$' $(srcdir)/PORTING > /dev/null; then :; else \
case '@PLATFORM@' in \
- i?86-*-linux* | x86_64-*-linux*) ;; \
+ i?86-*-linux* | x86_64-*-linux* | *-apple-darwin*) ;; \
*) \
echo; \
- echo "Please send the following summary line via email to the author"; \
+ echo "Please send the following summary line via email to the main author"; \
echo "Bruno Haible <bruno(a)clisp.org> for inclusion into the list of"; \
echo "successfully tested platforms (see PORTING file)."; echo; \
if test @HAVE_SIGSEGV_RECOVERY@ = 1; then have1=yes; else have1=no; fi; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/Makefile.in new/libsigsegv-2.10/Makefile.in
--- old/libsigsegv-2.9/Makefile.in 2010-11-06 13:01:46.000000000 +0100
+++ new/libsigsegv-2.10/Makefile.in 2011-04-03 17:50:49.000000000 +0200
@@ -757,10 +757,10 @@
@when="Now"; \
if grep '^@PLATFORM@ .* @VERSION@$$' $(srcdir)/PORTING > /dev/null; then :; else \
case '@PLATFORM@' in \
- i?86-*-linux* | x86_64-*-linux*) ;; \
+ i?86-*-linux* | x86_64-*-linux* | *-apple-darwin*) ;; \
*) \
echo; \
- echo "Please send the following summary line via email to the author"; \
+ echo "Please send the following summary line via email to the main author"; \
echo "Bruno Haible <bruno(a)clisp.org> for inclusion into the list of"; \
echo "successfully tested platforms (see PORTING file)."; echo; \
if test @HAVE_SIGSEGV_RECOVERY@ = 1; then have1=yes; else have1=no; fi; \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/NEWS new/libsigsegv-2.10/NEWS
--- old/libsigsegv-2.9/NEWS 2010-10-25 21:14:11.000000000 +0200
+++ new/libsigsegv-2.10/NEWS 2011-04-03 17:26:46.000000000 +0200
@@ -1,3 +1,14 @@
+New in 2.10:
+
+* Support for Linux/S390.
+ <sigsegv.h> now defines a macro SIGSEGV_FAULT_ADDRESS_ALIGNMENT.
+ It is either 1 or pagesize. Its meaning is that
+ - The fault address passed to a SIGSEGV handler has been rounded down
+ to a multiple of SIGSEGV_FAULT_ADDRESS_ALIGNMENT.
+ - The address and length arguments of sigsegv_register function calls
+ must be multiples of SIGSEGV_FAULT_ADDRESS_ALIGNMENT.
+* Faster distinction between stack overflow and other fault on OpenBSD.
+
New in 2.9:
* Correct support for 64-bit ABI on MacOS X 10.5 and newer.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/PORTING new/libsigsegv-2.10/PORTING
--- old/libsigsegv-2.9/PORTING 2010-11-06 11:32:17.000000000 +0100
+++ new/libsigsegv-2.10/PORTING 2011-04-03 17:43:14.000000000 +0200
@@ -13,8 +13,8 @@
alphaev67-dec-osf5.1 | yes | yes | 2.2
alphaev67-dec-osf5.1a | yes | yes | 2.6
alphaev56-dec-osf5.1b | yes | yes | 2.6
-alphaev6-dec-osf5.1b | yes | yes | 2.6
-alphaev68-dec-osf5.1b | yes | yes | 2.8
+alphaev6-dec-osf5.1b | yes | yes | 2.9
+alphaev68-dec-osf5.1b | yes | yes | 2.9
alpha-unknown-freebsd4.8 | yes | yes | 2.1
alpha-portbld-freebsd5.5 | yes | yes | 2.3
alphaev67-unknown-linux2.4.17-gnu-glibc2.1 | yes | yes | 1.95
@@ -27,7 +27,7 @@
alphaev67-unknown-linux2.4.18-gnu-glibc2.2 | yes | yes | 2.1
alpha-unknown-linux2.4.19-gnu-glibc2.3 | yes | yes | 2.6
alphaev68-unknown-linux2.6.11-gnu-glibc2.3 | yes | yes | 2.2
-alphaev56-unknown-linux2.6.34-gnu-glibc2.11 | yes | yes | 2.8
+alphaev56-unknown-linux2.6.34-gnu-glibc2.11 | yes | yes | 2.9
alpha-unknown-openbsd3.7 | yes | yes | 2.2
alpha-unknown-openbsd4.5 | yes | yes | 2.6
alpha-unknown-netbsd1.6 | yes | yes | 2.1
@@ -47,7 +47,7 @@
hppa2.0-unknown-linux2.6.20.1-gnu-glibc2.3 | yes | no | 2.4
i370-ibm-openedition | no | no | 2.6
i586-pc-beos | no | yes | 2.1
-i686-pc-cygwin | yes | yes | 2.8
+i686-pc-cygwin | yes | yes | 2.9
i386-apple-darwin8.6.1 | yes | yes | 2.3
i686-apple-darwin8.6.1 | yes | yes | 2.3
i386-apple-darwin8.8.1 | yes | yes | 2.4
@@ -64,7 +64,7 @@
i386-apple-darwin9.5.0 | yes | yes | 2.6
i386-apple-darwin9.6.0 | yes | yes | 2.6
i386-apple-darwin9.7.0 | yes | yes | 2.8
-i386-apple-darwin9.8.0 | yes | yes | 2.8
+i386-apple-darwin9.8.0 | yes | yes | 2.9
i386-apple-darwin10.2.0 | yes | yes | 2.6
i386-apple-darwin10.3.0 | yes | yes | 2.6
i586-pc-linux2.2.14-gnu-glibc2.1 | yes | yes | 2.1
@@ -91,16 +91,17 @@
i686-pc-linux2.4.21-gnu-glibc2.3 | yes | yes | 2.6
i586-pc-linux2.4.22-gnu-glibc2.3 | yes | yes | 2.0
i386-pc-mingw32 | yes | yes | 2.4
-i586-pc-mingw32 | yes | yes | 2.1
+i586-pc-mingw32 | yes | yes | 2.9
i686-pc-mingw32 | yes | yes | 2.6
-i386-unknown-mirbsd10 | yes | yes | 2.8
+i386-unknown-mirbsd10 | yes | yes | 2.9
i386-pc-os2-emx | no | no | 2.5
i386-pc-nto-qnx6.3.2 | yes | no | 2.6
i386-pc-solaris2.8 | yes | yes | 2.7
i386-pc-solaris2.9 | yes | yes | 2.2
-i386-pc-solaris2.10 | yes | yes | 2.8
-i386-pc-solaris2.11 | yes | yes | 2.2
+i386-pc-solaris2.10 | yes | yes | 2.9
+i386-pc-solaris2.11 | yes | yes | 2.9
i686-pc-win32-msvc6 | yes | yes | 1.96
+i686-pc-win32-msvc9 | yes | yes | 2.9
i386-unknown-freebsd4.0 | yes | yes | 2.1
i386-unknown-freebsd4.0-gnu-glibc2.3 | yes | yes | 2.1
i386-unknown-freebsd4.6 | yes | yes | 1.95
@@ -113,10 +114,12 @@
i386-unknown-freebsd6.2 | yes | yes | 2.6
i386-unknown-freebsd6.4 | yes | yes | 2.6
i386-portbld-freebsd8.0 | yes | yes | 2.8
+i386-unknown-freebsd8.1 | yes | yes | 2.9
i686-unknown-kfreebsd6.2-gnu-glibc2.6 | yes | yes | 2.5+
i386-unknown-netbsdelf1.6 | no | no | 2.8
i386-unknown-netbsdelf2.0.2 | yes | yes | 2.4
i386-unknown-netbsdelf3.0 | yes | yes | 2.4
+i386-unknown-netbsdelf5.0.2 | yes | yes | 2.9
i386-unknown-netbsd | yes | no | 2.2
i386-unknown-openbsd3.2 | yes | yes | 2.3
i386-unknown-openbsd3.3 | yes | yes | 2.1
@@ -125,6 +128,7 @@
i386-unknown-openbsd3.8 | yes | yes | 2.4
i386-unknown-openbsd3.9 | yes | yes | 2.8
i386-unknown-openbsd4.0 | yes | yes | 2.6
+i386-unknown-openbsd4.7 | yes | yes | 2.9
ia64-portbld-freebsd7.0 | yes | no | 2.3
ia64-hp-hpux11.22 | yes | no | 2.1
ia64-hp-hpux11.23 | yes | no | 2.2
@@ -134,9 +138,10 @@
ia64-unknown-linux2.6.9-gnu-glibc2.3 | yes | yes | 2.6
ia64-unknown-linux2.6.16.27-gnu-glibc2.4 | yes | yes | 2.6
ia64-unknown-linux2.6.18-gnu-glibc2.3 | yes | yes | 2.6
+ia64-unknown-linux2.6.18-gnu-glibc2.5 | yes | yes | 2.9
mips-sgi-irix5.3 | yes | yes | 2.6+
mips-sgi-irix6.2 | yes | yes | 2.6+
-mips-sgi-irix6.5 | yes | yes | 2.8
+mips-sgi-irix6.5 | yes | yes | 2.9
mips-unknown-linux2.4.27-gnu-glibc2.3 | yes | yes | 2.6
nsr-tandem-nsk | no | no | 2.1
rs6000-ibm-aix3.2.5 | yes | no | 2.2
@@ -144,9 +149,9 @@
rs6000-ibm-aix4.2.1.0 | yes | yes | 2.1
powerpc-ibm-aix4.3.2.0 | yes | yes | 2.6
powerpc-ibm-aix4.3.3.0 | yes | yes | 1.95
-powerpc-ibm-aix5.1.0.0 | yes | yes | 2.8
+powerpc-ibm-aix5.1.0.0 | yes | yes | 2.9
powerpc-ibm-aix5.2.0.0 | yes | yes | 2.5
-powerpc-ibm-aix5.3.0.0 | yes | yes | 2.8
+powerpc-ibm-aix5.3.0.0 | yes | yes | 2.9
powerpc-ibm-aix6.1.0.0 | yes | yes | 2.6
powerpc-apple-darwin5.5 | yes | yes | 2.2
powerpc-apple-darwin6.0 | yes | yes | 2.4
@@ -165,7 +170,7 @@
powerpc-apple-darwin8.11.1 | yes | yes | 2.5
powerpc-apple-darwin9.2.0 | yes | yes | 2.5
powerpc-apple-darwin9.6.0 | yes | yes | 2.6
-powerpc-apple-darwin9.8.0 | yes | yes | 2.8
+powerpc-apple-darwin9.8.0 | yes | yes | 2.9
powerpc-unknown-linux2.2.17-gnu-glibc2.1 | no | yes | 1.95
powerpc-unknown-linux2.2.17-gnu-glibc2.2 | yes | yes | 2.0.1
powerpc-unknown-linux2.4.12-gnu-glibc2.2 | yes | yes | 2.6
@@ -176,28 +181,34 @@
powerpc-unknown-linux2.6.12-gnu-glibc2.3 | yes | yes | 2.7
powerpc-unknown-linux2.6.16-gnu-glibc2.3 | yes | yes | 2.4
powerpc-unknown-linux2.6.16-gnu-glibc2.4 | yes | yes | 2.6
+powerpc-unknown-linux2.6.34-gnu-glibc2.11 | yes | yes | 2.9
powerpc-unknown-netbsd2.0 | yes | no | 2.1
powerpc-unknown-netbsd3.99.23 | yes | yes | 2.4
powerpc-unknown-openbsd4.0 | yes | yes | 2.4
powerpc-unknown-openbsd4.1 | yes | yes | 2.4
powerpc64-unknown-linux2.6.5-gnu-glibc2.3 | yes | yes | 2.4
powerpc64-unknown-linux2.6.16.27-gnu-glibc2.4 | yes | yes | 2.4
+powerpc64-unknown-linux2.6.31-gnu-glibc2.11 | yes | yes | 2.9
sh-unknown-openbsd4.6 | yes | yes | 2.5
s390x-ibm-linux2.6.16.46-gnu-glibc2.4 | no | yes | 2.5
+s390x-ibm-linux2.6.26-gnu-glibc2.11 | yes | yes | 2.10
sparc-unknown-linux2.4.32-gnu-glibc2.3 | yes | no | 2.1
sparc-unknown-openbsd3.9 | yes | no | 2.4
sparc-sun-solaris2.5.1 | yes | yes | 2.2
sparc-sun-solaris2.6 | yes | yes | 2.8
sparc-sun-solaris2.7 | yes | yes | 2.8
-sparc-sun-solaris2.8 | yes | yes | 2.8
+sparc-sun-solaris2.8 | yes | yes | 2.9
sparc-sun-solaris2.9 | yes | yes | 2.6
-sparc-sun-solaris2.10 | yes | yes | 2.8
+sparc-sun-solaris2.10 | yes | yes | 2.9
sparc-sun-solaris2.11 | yes | yes | 2.4
sparc64-unknown-linux2.2.18-gnu-glibc2.1 | no | no | 1.95
sparc64-unknown-linux2.4.28-gnu-glibc2.3 | yes | no | 2.8
+sparc64-unknown-linux2.6.33-gnu-glibc2.11 | yes | no | 2.9
sparc64-unknown-openbsd3.6 | no | no | 2.2
x86_64-apple-darwin10.3.0 | yes | yes | 2.8
x86_64-apple-darwin10.4.0 | yes | yes | 2.8
+x86_64-apple-darwin10.5.0 | yes | yes | 2.9
+x86_64-apple-darwin10.6.0 | yes | yes | 2.9
x86_64-unknown-kfreebsd6.2-gnu-glibc2.6 | yes | yes | 2.5+
x86_64-unknown-linux2.4.21-gnu-glibc2.2 | yes | yes | 2.1
x86_64-unknown-linux2.4.21-gnu-glibc2.3 | yes | yes | 2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/README new/libsigsegv-2.10/README
--- old/libsigsegv-2.9/README 2010-11-06 12:49:43.000000000 +0100
+++ new/libsigsegv-2.10/README 2011-04-03 17:34:25.000000000 +0200
@@ -132,7 +132,7 @@
Copyright notice
----------------
-Copyright 1998-1999, 2002-2010 Bruno Haible <bruno(a)clisp.org>
+Copyright 1998-1999, 2002-2011 Bruno Haible <bruno(a)clisp.org>
Copyright 2002-2005, 2009 Paolo Bonzini <bonzini(a)gnu.org>
Copyright 2008-2010 Eric Blake <ebb9(a)byu.net>
@@ -144,8 +144,9 @@
Download
--------
- ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.9.tar.gz
- http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.9.tar.gz
+ http://ftpmirror.gnu.org/libsigsegv/libsigsegv-2.10.tar.gz
+ http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-2.10.tar.gz
+ ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-2.10.tar.gz
Homepage
--------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/config.h.in new/libsigsegv-2.10/config.h.in
--- old/libsigsegv-2.9/config.h.in 2010-11-06 13:01:45.000000000 +0100
+++ new/libsigsegv-2.10/config.h.in 2011-04-03 17:51:17.000000000 +0200
@@ -53,6 +53,9 @@
/* Define if mmaping of the special device /dev/zero works. */
#undef HAVE_MMAP_DEVZERO
+/* Define to 1 if you have the `mquery' function. */
+#undef HAVE_MQUERY
+
/* Define if PAGESIZE is available as a macro. */
#undef HAVE_PAGESIZE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/config.h.msvc new/libsigsegv-2.10/config.h.msvc
--- old/libsigsegv-2.9/config.h.msvc 2010-11-06 13:01:54.000000000 +0100
+++ new/libsigsegv-2.10/config.h.msvc 2011-04-03 17:51:21.000000000 +0200
@@ -53,6 +53,9 @@
/* Define if mmaping of the special device /dev/zero works. */
#undef HAVE_MMAP_DEVZERO
+/* Define to 1 if you have the `mquery' function. */
+#undef HAVE_MQUERY
+
/* Define if PAGESIZE is available as a macro. */
#undef HAVE_PAGESIZE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/configure new/libsigsegv-2.10/configure
--- old/libsigsegv-2.9/configure 2010-11-06 13:01:44.000000000 +0100
+++ new/libsigsegv-2.10/configure 2011-04-03 17:50:50.000000000 +0200
@@ -2754,7 +2754,7 @@
# Define the identity of the package.
PACKAGE=libsigsegv
- VERSION=2.9
+ VERSION=2.10
cat >>confdefs.h <<_ACEOF
@@ -11833,6 +11833,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, siginfo_t *sip, void *ucp)
@@ -11841,7 +11846,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -11980,6 +11986,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, struct sigcontext sc)
@@ -11988,7 +11999,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -12129,6 +12141,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, unsigned int more)
@@ -12137,7 +12154,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -12280,6 +12298,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -12288,7 +12311,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -12429,6 +12453,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, struct sigcontext *scp)
@@ -12437,7 +12466,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -12579,6 +12609,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, siginfo_t *sip, void *ucp)
@@ -12587,7 +12622,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -12726,6 +12762,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp, void *addr)
@@ -12734,7 +12775,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -12875,6 +12917,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -12883,7 +12930,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13034,6 +13082,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -13042,7 +13095,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13183,6 +13237,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -13191,7 +13250,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13332,6 +13392,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -13340,7 +13405,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13481,6 +13547,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -13489,7 +13560,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13631,6 +13703,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, siginfo_t *sip, ucontext_t *ucp)
@@ -13639,7 +13716,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13779,6 +13857,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -13787,7 +13870,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -13929,6 +14013,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler (int sig, int code, struct sigcontext *scp)
@@ -13937,7 +14026,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
@@ -14539,12 +14629,13 @@
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $sv_cv_procfsvma" >&5
$as_echo "$sv_cv_procfsvma" >&6; }
-for ac_func in mincore
+for ac_func in mquery mincore
do :
- ac_fn_c_check_func "$LINENO" "mincore" "ac_cv_func_mincore"
-if test "x$ac_cv_func_mincore" = xyes; then :
+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
cat >>confdefs.h <<_ACEOF
-#define HAVE_MINCORE 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
_ACEOF
fi
@@ -14557,10 +14648,14 @@
case "$host_os" in
linux*) CFG_STACKVMA=stackvma-linux.c ;;
freebsd* | dragonfly*) CFG_STACKVMA=stackvma-freebsd.c ;;
+ netbsd*) CFG_STACKVMA=stackvma-netbsd.c ;;
beos*) CFG_STACKVMA=stackvma-beos.c ;;
macos* | darwin*) CFG_STACKVMA=stackvma-mach.c ;;
esac
fi
+if test -z "$CFG_STACKVMA" && test $ac_cv_func_mquery = yes; then
+ CFG_STACKVMA=stackvma-mquery.c
+fi
if test -z "$CFG_STACKVMA" && test $ac_cv_func_mincore = yes; then
CFG_STACKVMA=stackvma-mincore.c
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/configure.ac new/libsigsegv-2.10/configure.ac
--- old/libsigsegv-2.9/configure.ac 2010-11-06 12:49:43.000000000 +0100
+++ new/libsigsegv-2.10/configure.ac 2011-04-03 17:30:16.000000000 +0200
@@ -1,7 +1,7 @@
dnl Autoconf configuration for libsigsegv.
dnl Process this file with autoconf to produce a configure script.
dnl
-dnl Copyright (C) 2002-2010 Bruno Haible <bruno(a)clisp.org>
+dnl Copyright (C) 2002-2011 Bruno Haible <bruno(a)clisp.org>
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@
{ echo; echo "${term_bold}Build Tools:${term_norm}"; } >& AS_MESSAGE_FD
-AM_INIT_AUTOMAKE([libsigsegv], [2.9])
+AM_INIT_AUTOMAKE([libsigsegv], [2.10])
AM_CONFIG_HEADER([config.h])
dnl Override automake's tar command used for creating distributions.
@@ -653,7 +653,7 @@
[int x = PIOCNMAP + PIOCMAP; prmap_t y;],
[sv_cv_procfsvma=yes], [sv_cv_procfsvma=no])
])
-AC_CHECK_FUNCS([mincore])
+AC_CHECK_FUNCS([mquery mincore])
CFG_STACKVMA=
if test $sv_cv_procfsvma = yes; then
CFG_STACKVMA=stackvma-procfs.c
@@ -661,10 +661,16 @@
case "$host_os" in
linux*) CFG_STACKVMA=stackvma-linux.c ;;
freebsd* | dragonfly*) CFG_STACKVMA=stackvma-freebsd.c ;;
+ netbsd*) CFG_STACKVMA=stackvma-netbsd.c ;;
beos*) CFG_STACKVMA=stackvma-beos.c ;;
macos* | darwin*) CFG_STACKVMA=stackvma-mach.c ;;
esac
fi
+dnl We prefer the mquery based approach over the mincore based approach,
+dnl because stackvma-mincore.c:is_unmapped() has a bad worst-case runtime.
+if test -z "$CFG_STACKVMA" && test $ac_cv_func_mquery = yes; then
+ CFG_STACKVMA=stackvma-mquery.c
+fi
if test -z "$CFG_STACKVMA" && test $ac_cv_func_mincore = yes; then
CFG_STACKVMA=stackvma-mincore.c
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/m4/fault.m4 new/libsigsegv-2.10/m4/fault.m4
--- old/libsigsegv-2.9/m4/fault.m4 2009-06-20 15:42:22.000000000 +0200
+++ new/libsigsegv-2.10/m4/fault.m4 2011-03-13 11:14:55.000000000 +0100
@@ -1,5 +1,5 @@
-# fault.m4 serial 5 (libsigsegv-2.2)
-dnl Copyright (C) 2002-2003 Bruno Haible <bruno(a)clisp.org>
+# fault.m4 serial 6 (libsigsegv-2.10)
+dnl Copyright (C) 2002-2003, 2011 Bruno Haible <bruno(a)clisp.org>
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
@@ -43,6 +43,11 @@
static int zero_fd;
# define map_flags MAP_FILE | MAP_PRIVATE
#endif
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS (0x1000UL - 1)
+#else
+# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
+#endif
unsigned long page;
int handler_called = 0;
void sigsegv_handler ($5)
@@ -51,7 +56,8 @@
handler_called++;
if (handler_called == 10)
exit (4);
- if (fault_address != (void*)(page + 0x678))
+ if (fault_address
+ != (void*)((page + 0x678) & ~SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS))
exit (3);
if (mprotect ((void *) page, 0x10000, PROT_READ | PROT_WRITE) < 0)
exit (2);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/Makefile.am new/libsigsegv-2.10/src/Makefile.am
--- old/libsigsegv-2.9/src/Makefile.am 2010-11-06 12:49:43.000000000 +0100
+++ new/libsigsegv-2.10/src/Makefile.am 2011-04-03 17:41:46.000000000 +0200
@@ -1,5 +1,5 @@
## Makefile for libsigsegv/src.
-## Copyright (C) 2002-2006, 2008-2010 Bruno Haible <bruno(a)clisp.org>
+## Copyright (C) 2002-2006, 2008-2011 Bruno Haible <bruno(a)clisp.org>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -63,8 +63,8 @@
EXTRA_DIST = \
handler-none.c handler-unix.c handler-macos.c handler-win32.c \
stackvma-none.c stackvma-simple.c stackvma-linux.c stackvma-freebsd.c \
- stackvma-procfs.c stackvma-beos.c stackvma-mach.c stackvma-mincore.c \
- stackvma-rofile.c \
+ stackvma-netbsd.c stackvma-procfs.c stackvma-beos.c stackvma-mach.c \
+ stackvma-mquery.c stackvma-mincore.c stackvma-rofile.c \
leave-none.c leave-nop.c leave-sigaltstack.c leave-setcontext.c \
sigsegv.h.msvc
@@ -80,7 +80,7 @@
# Before making a release, change this according to the libtool documentation,
# section "Library interface versions".
-LIBSIGSEGV_VERSION_INFO = 2:2:0
+LIBSIGSEGV_VERSION_INFO = 2:3:0
# Dependencies.
handler.$(OBJEXT) : ../config.h sigsegv.h @CFG_HANDLER@ $(noinst_HEADERS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/Makefile.in new/libsigsegv-2.10/src/Makefile.in
--- old/libsigsegv-2.9/src/Makefile.in 2010-11-06 13:01:46.000000000 +0100
+++ new/libsigsegv-2.10/src/Makefile.in 2011-04-03 17:50:48.000000000 +0200
@@ -267,8 +267,8 @@
EXTRA_DIST = \
handler-none.c handler-unix.c handler-macos.c handler-win32.c \
stackvma-none.c stackvma-simple.c stackvma-linux.c stackvma-freebsd.c \
- stackvma-procfs.c stackvma-beos.c stackvma-mach.c stackvma-mincore.c \
- stackvma-rofile.c \
+ stackvma-netbsd.c stackvma-procfs.c stackvma-beos.c stackvma-mach.c \
+ stackvma-mquery.c stackvma-mincore.c stackvma-rofile.c \
leave-none.c leave-nop.c leave-sigaltstack.c leave-setcontext.c \
sigsegv.h.msvc
@@ -282,7 +282,7 @@
# Before making a release, change this according to the libtool documentation,
# section "Library interface versions".
-LIBSIGSEGV_VERSION_INFO = 2:2:0
+LIBSIGSEGV_VERSION_INFO = 2:3:0
DISTCLEANFILES = sigsegv.h
all: all-am
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/sigsegv.h.in new/libsigsegv-2.10/src/sigsegv.h.in
--- old/libsigsegv-2.9/src/sigsegv.h.in 2010-11-06 12:49:43.000000000 +0100
+++ new/libsigsegv-2.10/src/sigsegv.h.in 2011-04-03 17:30:41.000000000 +0200
@@ -1,5 +1,5 @@
/* Page fault handling library.
- Copyright (C) 1998-1999, 2002, 2004-2010 Bruno Haible <bruno(a)clisp.org>
+ Copyright (C) 1998-1999, 2002, 2004-2011 Bruno Haible <bruno(a)clisp.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,14 +37,28 @@
extern "C" {
#endif
-#define LIBSIGSEGV_VERSION 0x0209 /* version number: (major<<8) + minor */
+#define LIBSIGSEGV_VERSION 0x020A /* version number: (major<<8) + minor */
extern int libsigsegv_version; /* Likewise */
/* -------------------------------------------------------------------------- */
/*
+ * The mask of bits that are set to zero in a fault address that gets passed
+ * to a global SIGSEGV handler.
+ * On some platforms, the precise fault address is not known, only the memory
+ * page into which the fault address falls. On these platforms,
+ * SIGSEGV_FAULT_ADDRESS_ALIGNMENT is greater than 1.
+ */
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ALIGNMENT 0x1000UL
+#else
+# define SIGSEGV_FAULT_ADDRESS_ALIGNMENT 1UL
+#endif
+
+/*
* The type of a global SIGSEGV handler.
- * The fault address is passed as argument.
+ * The fault address, with the bits (SIGSEGV_FAULT_ADDRESS_ALIGNMENT - 1)
+ * cleared, is passed as argument.
* The access type (read access or write access) is not passed; your handler
* has to know itself how to distinguish these two cases.
* The second argument is 0, meaning it could also be a stack overflow, or 1,
@@ -176,6 +190,8 @@
/*
* Adds a local SIGSEGV handler to a sigsegv_dispatcher structure.
* It will cover the interval [address..address+len-1].
+ * The address and len arguments must be multiples of
+ * SIGSEGV_FAULT_ADDRESS_ALIGNMENT.
* Returns a "ticket" that can be used to remove the handler later.
*/
extern void* sigsegv_register (sigsegv_dispatcher* dispatcher,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/sigsegv.h.msvc new/libsigsegv-2.10/src/sigsegv.h.msvc
--- old/libsigsegv-2.9/src/sigsegv.h.msvc 2010-11-06 12:51:35.000000000 +0100
+++ new/libsigsegv-2.10/src/sigsegv.h.msvc 2011-04-03 17:51:22.000000000 +0200
@@ -1,5 +1,5 @@
/* Page fault handling library.
- Copyright (C) 1998-1999, 2002, 2004-2010 Bruno Haible <bruno(a)clisp.org>
+ Copyright (C) 1998-1999, 2002, 2004-2011 Bruno Haible <bruno(a)clisp.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,14 +37,28 @@
extern "C" {
#endif
-#define LIBSIGSEGV_VERSION 0x0209 /* version number: (major<<8) + minor */
+#define LIBSIGSEGV_VERSION 0x020A /* version number: (major<<8) + minor */
extern int libsigsegv_version; /* Likewise */
/* -------------------------------------------------------------------------- */
/*
+ * The mask of bits that are set to zero in a fault address that gets passed
+ * to a global SIGSEGV handler.
+ * On some platforms, the precise fault address is not known, only the memory
+ * page into which the fault address falls. On these platforms,
+ * SIGSEGV_FAULT_ADDRESS_ALIGNMENT is greater than 1.
+ */
+#if defined __linux__ && (defined __s390__ || defined __s390x__)
+# define SIGSEGV_FAULT_ADDRESS_ALIGNMENT 0x1000UL
+#else
+# define SIGSEGV_FAULT_ADDRESS_ALIGNMENT 1UL
+#endif
+
+/*
* The type of a global SIGSEGV handler.
- * The fault address is passed as argument.
+ * The fault address, with the bits (SIGSEGV_FAULT_ADDRESS_ALIGNMENT - 1)
+ * cleared, is passed as argument.
* The access type (read access or write access) is not passed; your handler
* has to know itself how to distinguish these two cases.
* The second argument is 0, meaning it could also be a stack overflow, or 1,
@@ -176,6 +190,8 @@
/*
* Adds a local SIGSEGV handler to a sigsegv_dispatcher structure.
* It will cover the interval [address..address+len-1].
+ * The address and len arguments must be multiples of
+ * SIGSEGV_FAULT_ADDRESS_ALIGNMENT.
* Returns a "ticket" that can be used to remove the handler later.
*/
extern void* sigsegv_register (sigsegv_dispatcher* dispatcher,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/stackvma-freebsd.c new/libsigsegv-2.10/src/stackvma-freebsd.c
--- old/libsigsegv-2.9/src/stackvma-freebsd.c 2009-06-20 15:42:22.000000000 +0200
+++ new/libsigsegv-2.10/src/stackvma-freebsd.c 2011-01-24 02:04:15.000000000 +0100
@@ -1,5 +1,5 @@
/* Determine the virtual memory area of a given address. FreeBSD version.
- Copyright (C) 2002-2003, 2006, 2008 Bruno Haible <bruno(a)clisp.org>
+ Copyright (C) 2002-2003, 2006, 2008, 2011 Bruno Haible <bruno(a)clisp.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -40,7 +40,8 @@
unsigned long prev_end;
#endif
- /* Open the current process' maps file. It describes one VMA per line. */
+ /* Open the current process' maps file. It describes one VMA per line.
+ Cf. <http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/fs/procfs/procfs_map.c?annota…> */
if (rof_open (&rof, "/proc/curproc/map") < 0)
goto failed;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/stackvma-mquery.c new/libsigsegv-2.10/src/stackvma-mquery.c
--- old/libsigsegv-2.9/src/stackvma-mquery.c 1970-01-01 01:00:00.000000000 +0100
+++ new/libsigsegv-2.10/src/stackvma-mquery.c 2011-01-29 13:44:18.000000000 +0100
@@ -0,0 +1,320 @@
+/* Determine the virtual memory area of a given address.
+ Copyright (C) 2011 Bruno Haible <bruno(a)clisp.org>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+/* mquery() is a system call that allows to inquire the status of a
+ range of pages of virtual memory. In particular, it allows to inquire
+ whether a page is mapped at all, and where is the next unmapped page
+ after a given address.
+ As of 2011, mquery() is supported by:
+ - OpenBSD, since OpenBSD 3.4.
+ Note that this file can give different results. For example, on
+ OpenBSD 4.4 / i386 the stack segment (which starts around 0xcdbfe000)
+ ends at 0xcfbfdfff according to mincore, but at 0xffffffff according to
+ mquery. */
+
+#include "stackvma.h"
+#include <limits.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#include <sys/types.h>
+#include <sys/mman.h>
+#include <stdlib.h>
+
+#if DEBUG_COMPARE_MQUERY_AND_MINCORE
+# include <stdio.h>
+# define is_mapped mincore_is_mapped
+# define mapped_range_start mincore_mapped_range_start
+# define mapped_range_end mincore_mapped_range_end
+# define is_unmapped mincore_is_unmapped
+# define sigsegv_get_vma mincore_get_vma
+# define STATIC static
+# include "stackvma-mincore.c"
+# undef is_mapped
+# undef mapped_range_start
+# undef mapped_range_end
+# undef is_unmapped
+# undef sigsegv_get_vma
+# define is_mapped mquery_is_mapped
+# define mapped_range_start mquery_mapped_range_start
+# define mapped_range_end mquery_mapped_range_end
+# define is_unmapped mquery_is_unmapped
+#else
+
+/* Cache for getpagesize(). */
+static unsigned long pagesize;
+
+/* Initialize pagesize. */
+static void
+init_pagesize (void)
+{
+#if HAVE_GETPAGESIZE
+ pagesize = getpagesize ();
+#elif HAVE_SYSCONF_PAGESIZE
+ pagesize = sysconf (_SC_PAGESIZE);
+#else
+ pagesize = PAGESIZE;
+#endif
+}
+
+#endif
+
+/* Test whether the page starting at ADDR is among the address range.
+ ADDR must be a multiple of pagesize. */
+static int
+is_mapped (unsigned long addr)
+{
+ /* Avoid calling mquery with a NULL first argument, because this argument
+ value has a specific meaning. We know the NULL page is unmapped. */
+ if (addr == 0)
+ return 0;
+ return mquery ((void *) addr, pagesize, 0, MAP_FIXED, -1, 0) == (void *) -1;
+}
+
+/* Assuming that the page starting at ADDR is among the address range,
+ return the start of its virtual memory range.
+ ADDR must be a multiple of pagesize. */
+static unsigned long
+mapped_range_start (unsigned long addr)
+{
+ unsigned long stepsize;
+ unsigned long known_unmapped_page;
+
+ /* Look at smaller addresses, in larger and larger steps, to minimize the
+ number of mquery() calls. */
+ stepsize = pagesize;
+ for (;;)
+ {
+ unsigned long hole;
+
+ if (addr == 0)
+ abort ();
+
+ if (addr <= stepsize)
+ {
+ known_unmapped_page = 0;
+ break;
+ }
+
+ hole = (unsigned long) mquery ((void *) (addr - stepsize), pagesize,
+ 0, 0, -1, 0);
+ if (!(hole == (unsigned long) (void *) -1 || hole >= addr))
+ {
+ /* Some part of [addr - stepsize, addr - 1] is unmapped. */
+ known_unmapped_page = hole;
+ break;
+ }
+
+ /* The entire range [addr - stepsize, addr - 1] is mapped. */
+ addr -= stepsize;
+
+ if (2 * stepsize > stepsize && 2 * stepsize < addr)
+ stepsize = 2 * stepsize;
+ }
+
+ /* Now reduce the step size again.
+ We know that the page at known_unmapped_page is unmapped and that
+ 0 < addr - known_unmapped_page <= stepsize. */
+ while (stepsize > pagesize && stepsize / 2 >= addr - known_unmapped_page)
+ stepsize = stepsize / 2;
+ /* Still 0 < addr - known_unmapped_page <= stepsize. */
+ while (stepsize > pagesize)
+ {
+ unsigned long hole;
+
+ stepsize = stepsize / 2;
+ hole = (unsigned long) mquery ((void *) (addr - stepsize), pagesize,
+ 0, 0, -1, 0);
+ if (!(hole == (unsigned long) (void *) -1 || hole >= addr))
+ /* Some part of [addr - stepsize, addr - 1] is unmapped. */
+ known_unmapped_page = hole;
+ else
+ /* The entire range [addr - stepsize, addr - 1] is mapped. */
+ addr -= stepsize;
+ /* Still 0 < addr - known_unmapped_page <= stepsize. */
+ }
+
+ return addr;
+}
+
+/* Assuming that the page starting at ADDR is among the address range,
+ return the end of its virtual memory range + 1.
+ ADDR must be a multiple of pagesize. */
+static unsigned long
+mapped_range_end (unsigned long addr)
+{
+ unsigned long end;
+
+ if (addr == 0)
+ abort ();
+
+ end = (unsigned long) mquery ((void *) addr, pagesize, 0, 0, -1, 0);
+ if (end == (unsigned long) (void *) -1)
+ end = 0; /* wrap around */
+ return end;
+}
+
+/* Determine whether an address range [ADDR1..ADDR2] is completely unmapped.
+ ADDR1 must be <= ADDR2. */
+static int
+is_unmapped (unsigned long addr1, unsigned long addr2)
+{
+ /* Round addr1 down. */
+ addr1 = (addr1 / pagesize) * pagesize;
+ /* Round addr2 up and turn it into an exclusive bound. */
+ addr2 = ((addr2 / pagesize) + 1) * pagesize;
+
+ /* Avoid calling mquery with a NULL first argument, because this argument
+ value has a specific meaning. We know the NULL page is unmapped. */
+ if (addr1 == 0)
+ addr1 = pagesize;
+
+ if (addr1 < addr2)
+ {
+ if (mquery ((void *) addr1, addr2 - addr1, 0, MAP_FIXED, -1, 0)
+ == (void *) -1)
+ /* Not all the interval [addr1 .. addr2 - 1] is unmapped. */
+ return 0;
+ else
+ /* The interval [addr1 .. addr2 - 1] is unmapped. */
+ return 1;
+ }
+ return 1;
+}
+
+#if DEBUG_COMPARE_MQUERY_AND_MINCORE
+
+# undef is_mapped
+# undef mapped_range_start
+# undef mapped_range_end
+# undef is_unmapped
+
+static int
+is_mapped (unsigned long addr)
+{
+ int result1 = mincore_is_mapped (addr);
+ int result2 = mquery_is_mapped (addr);
+ if (result1 != result2)
+ {
+ fprintf (stderr, "is_mapped(0x%lx) = %d %d\n", addr, result1, result2);
+ fflush (stderr);
+ }
+ return result2;
+}
+
+static unsigned long
+mapped_range_start (unsigned long addr)
+{
+ unsigned long result1 = mincore_mapped_range_start (addr);
+ unsigned long result2 = mquery_mapped_range_start (addr);
+ if (result1 != result2)
+ {
+ fprintf (stderr, "mapped_range_start(0x%lx) = 0x%lx 0x%lx\n",
+ addr, result1, result2);
+ fflush (stderr);
+ }
+ return result2;
+}
+
+static unsigned long
+mapped_range_end (unsigned long addr)
+{
+ unsigned long result1 = mincore_mapped_range_end (addr);
+ unsigned long result2 = mquery_mapped_range_end (addr);
+ if (result1 != result2)
+ {
+ fprintf (stderr, "mapped_range_end(0x%lx) = 0x%lx 0x%lx\n",
+ addr, result1, result2);
+ fflush (stderr);
+ }
+ return result2;
+}
+
+static int
+is_unmapped (unsigned long addr1, unsigned long addr2)
+{
+ int result1 = mincore_is_unmapped (addr1, addr2);
+ int result2 = mquery_is_unmapped (addr1, addr2);
+ if (result1 != result2)
+ {
+ fprintf (stderr, "is_unmapped(0x%lx,0x%lx) = %d %d\n",
+ addr1, addr2, result1, result2);
+ fflush (stderr);
+ }
+ return result2;
+}
+
+#endif
+
+#if STACK_DIRECTION < 0
+
+/* Info about the gap between this VMA and the previous one.
+ addr must be < vma->start. */
+static int
+mquery_is_near_this (unsigned long addr, struct vma_struct *vma)
+{
+ /* vma->start - addr <= (vma->start - vma->prev_end) / 2
+ is mathematically equivalent to
+ vma->prev_end <= 2 * addr - vma->start
+ <==> is_unmapped (2 * addr - vma->start, vma->start - 1).
+ But be careful about overflow: if 2 * addr - vma->start is negative,
+ we consider a tiny "guard page" mapping [0, 0] to be present around
+ NULL; it intersects the range (2 * addr - vma->start, vma->start - 1),
+ therefore return false. */
+ unsigned long testaddr = addr - (vma->start - addr);
+ if (testaddr > addr) /* overflow? */
+ return 0;
+ /* Here testaddr <= addr < vma->start. */
+ return is_unmapped (testaddr, vma->start - 1);
+}
+
+#endif
+#if STACK_DIRECTION > 0
+
+/* Info about the gap between this VMA and the next one.
+ addr must be > vma->end - 1. */
+static int
+mquery_is_near_this (unsigned long addr, struct vma_struct *vma)
+{
+ /* addr - vma->end < (vma->next_start - vma->end) / 2
+ is mathematically equivalent to
+ vma->next_start > 2 * addr - vma->end
+ <==> is_unmapped (vma->end, 2 * addr - vma->end).
+ But be careful about overflow: if 2 * addr - vma->end is > ~0UL,
+ we consider a tiny "guard page" mapping [0, 0] to be present around
+ NULL; it intersects the range (vma->end, 2 * addr - vma->end),
+ therefore return false. */
+ unsigned long testaddr = addr + (addr - vma->end);
+ if (testaddr < addr) /* overflow? */
+ return 0;
+ /* Here vma->end - 1 < addr <= testaddr. */
+ return is_unmapped (vma->end, testaddr);
+}
+
+#endif
+
+int
+sigsegv_get_vma (unsigned long address, struct vma_struct *vma)
+{
+ if (pagesize == 0)
+ init_pagesize ();
+ address = (address / pagesize) * pagesize;
+ vma->start = mapped_range_start (address);
+ vma->end = mapped_range_end (address);
+ vma->is_near_this = mquery_is_near_this;
+ return 0;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/src/stackvma-netbsd.c new/libsigsegv-2.10/src/stackvma-netbsd.c
--- old/libsigsegv-2.9/src/stackvma-netbsd.c 1970-01-01 01:00:00.000000000 +0100
+++ new/libsigsegv-2.10/src/stackvma-netbsd.c 2011-01-24 02:24:53.000000000 +0100
@@ -0,0 +1,118 @@
+/* Determine the virtual memory area of a given address. NetBSD version.
+ Copyright (C) 2002-2003, 2006, 2008, 2011 Bruno Haible <bruno(a)clisp.org>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+
+#include "stackvma.h"
+#include <stdio.h>
+
+#include "stackvma-simple.c"
+#include "stackvma-rofile.c"
+
+#if HAVE_MINCORE
+# define sigsegv_get_vma mincore_get_vma
+# define STATIC static
+# include "stackvma-mincore.c"
+# undef sigsegv_get_vma
+#endif
+
+int
+sigsegv_get_vma (unsigned long address, struct vma_struct *vma)
+{
+ struct rofile rof;
+ int c;
+ /* The stack appears as multiple adjacents segments, therefore we
+ merge adjacent segments. */
+ unsigned long next_start, next_end, curr_start, curr_end;
+#if STACK_DIRECTION < 0
+ unsigned long prev_end;
+#endif
+
+ /* Open the current process' maps file. It describes one VMA per line.
+ There are two such files:
+ - /proc/curproc/map in FreeBSD syntax,
+ - /proc/curproc/maps in Linux syntax.
+ Cf. <http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/miscfs/procfs/procfs_map.c?rev=…> */
+ if (rof_open (&rof, "/proc/curproc/map") < 0)
+ goto failed;
+
+#if STACK_DIRECTION < 0
+ prev_end = 0;
+#endif
+ for (curr_start = curr_end = 0; ;)
+ {
+ if (!(rof_getchar (&rof) == '0'
+ && rof_getchar (&rof) == 'x'
+ && rof_scanf_lx (&rof, &next_start) >= 0))
+ break;
+ while (c = rof_peekchar (&rof), c == ' ' || c == '\t')
+ rof_getchar (&rof);
+ if (!(rof_getchar (&rof) == '0'
+ && rof_getchar (&rof) == 'x'
+ && rof_scanf_lx (&rof, &next_end) >= 0))
+ break;
+ while (c = rof_getchar (&rof), c != -1 && c != '\n')
+ continue;
+ if (next_start == curr_end)
+ {
+ /* Merge adjacent segments. */
+ curr_end = next_end;
+ }
+ else
+ {
+ if (curr_start < curr_end
+ && address >= curr_start && address <= curr_end-1)
+ goto found;
+#if STACK_DIRECTION < 0
+ prev_end = curr_end;
+#endif
+ curr_start = next_start; curr_end = next_end;
+ }
+ }
+ if (address >= curr_start && address <= curr_end-1)
+ found:
+ {
+ vma->start = curr_start;
+ vma->end = curr_end;
+#if STACK_DIRECTION < 0
+ vma->prev_end = prev_end;
+#else
+ if (rof_getchar (&rof) == '0'
+ && rof_getchar (&rof) == 'x'
+ && rof_scanf_lx (&rof, &vma->next_start) >= 0)
+ {
+ while (c = rof_peekchar (&rof), c == ' ' || c == '\t')
+ rof_getchar (&rof);
+ if (rof_getchar (&rof) == '0'
+ && rof_getchar (&rof) == 'x'
+ && rof_scanf_lx (&rof, &next_end) >= 0)
+ ;
+ else
+ vma->next_start = 0;
+ }
+ else
+ vma->next_start = 0;
+#endif
+ rof_close (&rof);
+ vma->is_near_this = simple_is_near_this;
+ return 0;
+ }
+ rof_close (&rof);
+ failed:
+#if HAVE_MINCORE
+ return mincore_get_vma (address, vma);
+#endif
+ return -1;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/tests/sigsegv1.c new/libsigsegv-2.10/tests/sigsegv1.c
--- old/libsigsegv-2.9/tests/sigsegv1.c 2009-06-20 15:42:22.000000000 +0200
+++ new/libsigsegv-2.10/tests/sigsegv1.c 2011-03-13 11:42:58.000000000 +0100
@@ -1,5 +1,5 @@
/* Test that the handler is called, with the right fault address.
- Copyright (C) 2002-2006, 2008 Bruno Haible <bruno(a)clisp.org>
+ Copyright (C) 2002-2006, 2008, 2011 Bruno Haible <bruno(a)clisp.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -37,7 +37,8 @@
handler_called++;
if (handler_called > 10)
abort ();
- if (fault_address != (void *)(page + 0x678))
+ if (fault_address
+ != (void *)((page + 0x678) & ~(SIGSEGV_FAULT_ADDRESS_ALIGNMENT - 1)))
abort ();
if (mprotect ((void *) page, 0x4000, PROT_READ_WRITE) == 0)
return 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/tests/sigsegv2.c new/libsigsegv-2.10/tests/sigsegv2.c
--- old/libsigsegv-2.9/tests/sigsegv2.c 2009-06-20 15:42:22.000000000 +0200
+++ new/libsigsegv-2.10/tests/sigsegv2.c 2011-03-13 11:42:24.000000000 +0100
@@ -1,5 +1,5 @@
/* Test the dispatcher.
- Copyright (C) 2002-2006, 2008 Bruno Haible <bruno(a)clisp.org>
+ Copyright (C) 2002-2006, 2008, 2011 Bruno Haible <bruno(a)clisp.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -32,6 +32,10 @@
static volatile unsigned int logcount = 0;
static volatile unsigned long logdata[10];
+/* Note about SIGSEGV_FAULT_ADDRESS_ALIGNMENT: It does not matter whether
+ fault_address is rounded off here because all intervals that we pass to
+ sigsegv_register are page-aligned. */
+
static int
area_handler (void *fault_address, void *user_arg)
{
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsigsegv-2.9/tests/sigsegv3.c new/libsigsegv-2.10/tests/sigsegv3.c
--- old/libsigsegv-2.9/tests/sigsegv3.c 2009-06-20 15:42:22.000000000 +0200
+++ new/libsigsegv-2.10/tests/sigsegv3.c 2011-03-13 11:42:46.000000000 +0100
@@ -1,5 +1,5 @@
/* Test that the handler can be exited multiple times.
- Copyright (C) 2002-2006, 2008 Bruno Haible <bruno(a)clisp.org>
+ Copyright (C) 2002-2006, 2008, 2011 Bruno Haible <bruno(a)clisp.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -56,7 +56,8 @@
handler_called++;
if (handler_called > 10)
abort ();
- if (fault_address != (void *)(page + 0x678 + 8 * pass))
+ if (fault_address != (void *)((page + 0x678 + 8 * pass)
+ & ~(SIGSEGV_FAULT_ADDRESS_ALIGNMENT - 1)))
abort ();
pass++;
printf ("Stack overflow %d caught.\n", pass);
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0
Hello community,
here is the log from the commit of package xz for openSUSE:Factory checked in at 2012-11-28 17:24:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xz (Old)
and /work/SRC/openSUSE:Factory/.xz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xz", Maintainer is "coolo(a)suse.com"
Changes:
--------
--- /work/SRC/openSUSE:Factory/xz/xz.changes 2012-07-30 20:42:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xz.new/xz.changes 2012-11-28 17:24:39.000000000 +0100
@@ -1,0 +2,27 @@
+Tue Nov 27 11:10:13 UTC 2012 - sweet_f_a(a)gmx.de
+
+- Update to version 5.0.4
+ * liblzma:
+ - Fix lzma_index_init(). It could crash if memory allocation
+ failed.
+ - Fix the possibility of an incorrect LZMA_BUF_ERROR when a BCJ
+ filter is used and the application only provides exactly as
+ much output space as is the uncompressed size of the file.
+ - Fix a bug in doc/examples_old/xz_pipe_decompress.c. It didn't
+ check if the last call to lzma_code() really returned
+ LZMA_STREAM_END, which made the program think that truncated
+ files are valid.
+ - New example programs in doc/examples (old programs are now in
+ doc/examples_old). These have more comments and more detailed
+ error handling.
+ * Fix "xz -lvv foo.xz". It could crash on some corrupted files.
+ * Fix output of "xz --robot -lv" and "xz --robot -lvv" which
+ incorrectly printed the filename also in the "foo (x/x)" format.
+ * Fix exit status of "xzdiff foo.xz bar.xz".
+ * Fix exit status of "xzgrep foo binary_file".
+ * Fix portability to EBCDIC systems.
+ * Fix a configure issue on AIX with the XL C compiler. See INSTALL
+ for details.
+ * Update French, German, Italian, and Polish translations
+
+-------------------------------------------------------------------
Old:
----
xz-5.0.3.tar.bz2
New:
----
xz-5.0.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xz.spec ++++++
--- /var/tmp/diff_new_pack.tNF9Wc/_old 2012-11-28 17:24:40.000000000 +0100
+++ /var/tmp/diff_new_pack.tNF9Wc/_new 2012-11-28 17:24:40.000000000 +0100
@@ -20,7 +20,7 @@
Summary: A Program for Compressing Files
License: LGPL-2.1+ and GPL-2.0+
Group: Productivity/Archiving/Compression
-Version: 5.0.3
+Version: 5.0.4
Release: 0
Url: http://tukaani.org/lzma/
Source: http://tukaani.org/xz/%{name}-%{version}.tar.bz2
++++++ xz-5.0.3.tar.bz2 -> xz-5.0.4.tar.bz2 ++++++
++++ 21977 lines of diff (skipped)
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit+help(a)opensuse.org
1
0