Commit e6e8a1b8 authored by Dimitri Ledkov's avatar Dimitri Ledkov Committed by Frédéric Bonnard

Import Debian changes 1.0.13-1

libdfp (1.0.13-1) unstable; urgency=medium

  * Upload to Debian Closes: #781530
  * Set Frederic as Maintainer
  * Set doko and I as Uploaders

libdfp (1.0.13-0ubuntu1) yakkety; urgency=medium

  * New upstream release
  * Resolves optimised build failure on s390x
  * Set march to zEC12 on s390x

libdfp (1.0.12-0ubuntu1) xenial; urgency=medium

  * New upstream release LP: #1544100
  * Add watch file
  * Add s390x build
  * Bump cpu to power8
  * Do not set cpu flat for s390x, FTBFS
  * Import upstream patches from master up to 1e53b39d

libdfp (1.0.11-0ubuntu2) wily; urgency=medium

  * Fix the usage of mfcr extended mnemonic. LP: #1459691.

libdfp (1.0.11-0ubuntu1) wily; urgency=medium

  * libdfp 1.0.11 release.

libdfp (1.0.9-0ubuntu1) vivid; urgency=medium

  * libdfp 1.0.9 release.
  * Build for ppc64el.

libdfp (1.0.7-0ubuntu2) natty; urgency=low

  * Unmangle copyright file.

libdfp (1.0.7-0ubuntu1) natty; urgency=low

  * Initial release, based on r12799.
parent 6224cfd7
libdfp for Debian
-----------------
<possible notes regarding this package - if none, delete this file>
-- Matthias Klose <doko@ubuntu.com> Wed, 23 Feb 2011 10:55:06 +0000
libdfp (1.0.13-1) unstable; urgency=medium
* Upload to Debian Closes: #781530
* Set Frederic as Maintainer
* Set doko and I as Uploaders
-- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 25 Nov 2016 15:55:00 +0000
libdfp (1.0.13-0ubuntu1) yakkety; urgency=medium
* New upstream release
* Resolves optimised build failure on s390x
* Set march to zEC12 on s390x
-- Dimitri John Ledkov <xnox@ubuntu.com> Fri, 19 Aug 2016 10:15:26 +0100
libdfp (1.0.12-0ubuntu1) xenial; urgency=medium
* New upstream release LP: #1544100
* Add watch file
* Add s390x build
* Bump cpu to power8
* Do not set cpu flat for s390x, FTBFS
* Import upstream patches from master up to 1e53b39d
-- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 17 Feb 2016 14:01:26 +0000
libdfp (1.0.11-0ubuntu2) wily; urgency=medium
* Fix the usage of mfcr extended mnemonic. LP: #1459691.
-- Matthias Klose <doko@ubuntu.com> Fri, 24 Jul 2015 15:37:38 +0200
libdfp (1.0.11-0ubuntu1) wily; urgency=medium
* libdfp 1.0.11 release.
-- Matthias Klose <doko@ubuntu.com> Wed, 22 Jul 2015 21:49:52 +0200
libdfp (1.0.9-0ubuntu1) vivid; urgency=medium
* libdfp 1.0.9 release.
* Build for ppc64el.
-- Matthias Klose <doko@ubuntu.com> Mon, 02 Feb 2015 23:47:46 +0100
libdfp (1.0.7-0ubuntu2) natty; urgency=low
* Unmangle copyright file.
-- Matthias Klose <doko@ubuntu.com> Thu, 24 Feb 2011 23:48:49 +0100
libdfp (1.0.7-0ubuntu1) natty; urgency=low
* Initial release, based on r12799.
-- Matthias Klose <doko@ubuntu.com> Wed, 23 Feb 2011 11:55:06 +0100
Source: libdfp
Priority: extra
Maintainer: Frederic Bonnard <frediz@linux.vnet.ibm.com>
Uploaders: Matthias Klose <doko@ubuntu.com>, Dimitri John Ledkov <xnox@ubuntu.com>
Build-Depends: debhelper (>= 7.0.50~)
Standards-Version: 3.9.6
Section: libs
Package: libdfp-dev
Section: libdevel
Architecture: s390x ppc64 ppc64el
Depends: libdfp1 (= ${binary:Version}), ${misc:Depends}
Suggests: libdfp1-dbg
Description: decimal floating point library (runtime)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: libdfp1
Section: libs
Architecture: s390x ppc64 ppc64el
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (development files)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: libdfp1-dbg
Section: debug
Architecture: s390x ppc64 ppc64el
Depends: libdfp1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (debug information)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: lib32dfp-dev
Section: libdevel
Architecture: ppc64
Depends: lib32dfp1 (= ${binary:Version}), ${misc:Depends}
Suggests: lib32dfp1-dbg
Description: decimal floating point library (32bit runtime)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: lib32dfp1
Section: libs
Architecture: ppc64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (32bit development files)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Package: lib32dfp1-dbg
Section: debug
Architecture: ppc64
Depends: lib32dfp1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: decimal floating point library (32bit debug information)
The "Decimal Floating Point C Library" is an implementation of ISO/IEC
Technical report "ISO/IEC TR 24732" which describes the C-Language library
routines necessary to provide the C library runtime support for decimal
floating point data types introduced in IEEE 754-2008, namely _Decimal32,
_Decimal64, and _Decimal128.
Format: http://dep.debian.net/deps/dep5
Upstream-Name: libdfp
Source: http://www.eglibc.org/svn/libdfp/trunk@12939
Files: *
Copyright: Copyright (C) 2006 IBM Corporation.
Copyright (C) 2009 Free Software Foundation.
License: LGPL-2.1
The Decimal Floating Point C Library is free software; you can
redistribute it and/or modify it under the terms of the GNU Lesser
General Public License version 2.1.
.
The Decimal Floating Point C Library 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 Lesser General Public License version 2.1 for more details.
.
You should have received a copy of the GNU Lesser General Public
License version 2.1 along with the Decimal Floating Point C Library;
if not, write to the Free Software Foundation, Inc., 59 Temple Place,
Suite 330, Boston, MA 02111-1307 USA.
.
On Debian systems, the complete text of the GNU Lesser General Public
License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
Files: libdecnumber/*
Copyright: Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
License: GPL-3+
GCC 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 3, or (at your option) any later
version.
.
GCC 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.
.
Under Section 7 of GPL version 3, you are granted additional
permissions described in the GCC Runtime Library Exception, version
3.1, as published by the Free Software Foundation.
.
On Debian systems, the complete text of the GNU General Public
License version 3 can be found in "/usr/share/common-licenses/GPL-3".
.
.
GCC RUNTIME LIBRARY EXCEPTION
.
Version 3.1, 31 March 2009
.
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
.
This GCC Runtime Library Exception ("Exception") is an additional
permission under section 7 of the GNU General Public License, version
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
bears a notice placed by the copyright holder of the file stating that
the file is governed by GPLv3 along with this Exception.
.
When you use GCC to compile a program, GCC may combine portions of
certain GCC header files and runtime libraries with the compiled
program. The purpose of this Exception is to allow compilation of
non-GPL (including proprietary) programs to use, in this way, the
header files and runtime libraries covered by this Exception.
.
0. Definitions.
.
A file is an "Independent Module" if it either requires the Runtime
Library for execution after a Compilation Process, or makes use of an
interface provided by the Runtime Library, but is not otherwise based
on the Runtime Library.
.
"GCC" means a version of the GNU Compiler Collection, with or without
modifications, governed by version 3 (or a specified later version) of
the GNU General Public License (GPL) with the option of using any
subsequent versions published by the FSF.
.
"GPL-compatible Software" is software whose conditions of propagation,
modification and use would permit combination with GCC in accord with
the license of GCC.
.
"Target Code" refers to output from any compiler for a real or virtual
target processor architecture, in executable form or suitable for
input to an assembler, loader, linker and/or execution
phase. Notwithstanding that, Target Code does not include data in any
format that is used as a compiler intermediate representation, or used
for producing a compiler intermediate representation.
.
The "Compilation Process" transforms code entirely represented in
non-intermediate languages designed for human-written code, and/or in
Java Virtual Machine byte code, into Target Code. Thus, for example,
use of source code generators and preprocessors need not be considered
part of the Compilation Process, since the Compilation Process can be
understood as starting with the output of the generators or
preprocessors.
.
A Compilation Process is "Eligible" if it is done using GCC, alone or
with other GPL-compatible software, or if it is done without using any
work based on GCC. For example, using non-GPL-compatible Software to
optimize any GCC intermediate representations would not qualify as an
Eligible Compilation Process.
.
1. Grant of Additional Permission.
.
You have permission to propagate a work of Target Code formed by
combining the Runtime Library with Independent Modules, even if such
propagation would otherwise violate the terms of GPLv3, provided that
all Target Code was generated by Eligible Compilation Processes. You
may then convey such a combination under terms of your choice,
consistent with the licensing of the Independent Modules.
.
2. No Weakening of GCC Copyleft.
.
The availability of this Exception does not imply any general
presumption that third-party software is unaffected by the copyleft
requirements of the license of GCC.
Files: debian/*
Copyright: 2011 Matthias Klose <doko@ubuntu.com>
License: LGPL-2.1
This package 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 of the License, or
(at your option) any later version.
.
This package 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, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
COPYING.txt
README.developer
README.maintainer
README.user
TODO
usr/lib
usr/include
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/pkgconfig/*
usr/lib/*.la
usr/share/pkgconfig/*
usr/lib/lib*.so.*
From 08f4e408a8767378832a506457c836802669ab2c Mon Sep 17 00:00:00 2001
From: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>
Date: Mon, 11 Jul 2016 07:23:57 -0500
Subject: [PATCH] Fix -Wunused-result warning message in test-amort.c
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This patch gets rid of the following message during "make check":
./tests/test-amort.c: In function ‘main’:
./tests/test-amort.c:327:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread (inputs, sizeof (inputtype), numinputs, inputfile);
^
Fixes issue https://github.com/libdfp/libdfp/issues/42
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.vnet.ibm.com>
---
tests/test-amort.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/tests/test-amort.c b/tests/test-amort.c
index 57f0c1f..56081d9 100644
--- a/tests/test-amort.c
+++ b/tests/test-amort.c
@@ -271,6 +271,7 @@ main (int argc, char *argv[])
FILE *inputfile;
char inputfilename[] = "amort.input";
const char *argv_option;
+ ssize_t r;
table = (tabletype *) malloc (30 * 12 * sizeof (tabletype));
//printf ("table@%p for %d bytes\n", table, (30 * 12 * sizeof (tabletype)));
@@ -324,7 +325,15 @@ main (int argc, char *argv[])
numinputs = ftell (inputfile) / sizeof (inputtype);
rewind (inputfile);
inputs = malloc (numinputs * sizeof (inputtype));
- fread (inputs, sizeof (inputtype), numinputs, inputfile);
+
+ r = fread (inputs, sizeof (inputtype), numinputs, inputfile);
+ if (r != numinputs)
+ {
+ printf ("fread() error\n");
+ fclose (inputfile);
+ exit (EXIT_FAILURE);
+ }
+
fclose (inputfile);
if (*argv_option == 'v')
08f4e408a8767378832a506457c836802669ab2c.patch
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq (,$(filter $(DEB_HOST_ARCH), ppc64))
build32 = yes
endif
ifeq ($(DEB_HOST_ARCH),ppc64el)
cpu=--with-cpu=power8
endif
ifeq ($(DEB_HOST_ARCH),s390x)
cpu=--with-cpu=zEC12
endif
configure: configure-stamp $(if $(filter yes, $(build32)),configure32-stamp)
configure-stamp:
rm -rf build
mkdir -p build
cd build && ../configure --prefix=/usr --enable-decimal-float=yes $(cpu)
touch $@
configure32-stamp:
rm -rf build32
mkdir -p build32
cd build32 && CC="gcc -m32" ../configure --prefix=/usr --enable-decimal-float=yes
touch $@
build: build-stamp $(if $(filter yes, $(build32)),build32-stamp)
build-stamp: configure-stamp
$(MAKE) -C build
-$(MAKE) -k -C build check
touch $@
build32-stamp: configure32-stamp
$(MAKE) -C build32
-$(MAKE) -k -C build32 check
touch $@
clean:
dh_testdir
dh_testroot
rm -f *-stamp
rm -rf build build32
dh_clean
install: install-stamp
install-stamp:
dh_testdir
dh_testroot
dh_clean -k
rm -rf $(d)
dh_installdirs -plibdfp-dev \
usr/lib
$(MAKE) -C build install install_root=$(CURDIR)/debian/libdfp1
mv debian/libdfp1/usr/lib/libdfp.so debian/libdfp1/usr/lib/libdfp.a \
debian/libdfp-dev/usr/lib/
mv debian/libdfp1/usr/include debian/libdfp-dev/usr/
ifneq ($(build32),)
dh_installdirs -plib32dfp-dev \
usr/lib32
$(MAKE) -C build32 install install_root=$(CURDIR)/debian/lib32dfp1
mv debian/lib32dfp1/usr/lib debian/lib32dfp1/usr/lib32
rm -rf debian/lib32dfp1/usr/include
mv debian/lib32dfp1/usr/lib32/libdfp.so debian/lib32dfp1/usr/lib32/libdfp.a \
debian/lib32dfp-dev/usr/lib32/
endif
binary-indep: build install
# nothing to do
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs -plibdfp1 \
README.user
ifneq ($(build32),)
dh_installdocs -plib32dfp1
endif
mkdir -p debian/libdfp-dev/usr/share/doc/libdfp1
cp -p README.developer debian/libdfp-dev/usr/share/doc/libdfp1/
ln -sf libdfp1 debian/libdfp-dev/usr/share/doc/libdfp-dev
mkdir -p debian/libdfp1-dbg/usr/share/doc
ln -sf libdfp1 debian/libdfp1-dbg/usr/share/doc/libdfp1-dbg
ifneq ($(build32),)
mkdir -p debian/lib32dfp-dev/usr/share/doc/lib32dfp1
cp -p README.developer debian/lib32dfp-dev/usr/share/doc/lib32dfp1/
ln -sf lib32dfp1 debian/lib32dfp-dev/usr/share/doc/lib32dfp-dev
mkdir -p debian/lib32dfp1-dbg/usr/share/doc
ln -sf lib32dfp1 debian/lib32dfp1-dbg/usr/share/doc/lib32dfp1-dbg
dh_installchangelogs -plibdfp1 -plib32dfp1
endif
dh_installexamples -s
dh_fixperms -s
dh_strip -plibdfp1 -plibdfp-dev --dbg-package=libdfp1-dbg
ifneq ($(build32),)
dh_strip -plib32dfp1 -plib32dfp-dev --dbg-package=lib32dfp1-dbg
endif
dh_compress -s
dh_makeshlibs -s
dh_shlibdeps -s
ifneq ($(build32),)
-ls -l $(d_rld)/usr/share/doc/$(p_rl)
dh_installdocs -p$(p_rl32) \
USAGE debian/inputrc.arrows
dh_installchangelogs -p$(p_rl32) CHANGES
ln -sf $(p_rl32) $(d_rld32)/usr/share/doc/$(p_rld32)
dh_compress -p$(p_rl32) -p$(p_rld32)
dh_fixperms -p$(p_rl32) -p$(p_rld32)
dh_strip --dbg-package=$(p_rlg) -p$(p_rl32) -p$(p_rld32)
dh_makeshlibs -p$(p_rl32)
-dh_shlibdeps -p$(p_rl32) -p$(p_rld32) \
-L $(p_rl32) -l $(d_rl32)/lib
-ls -l $(d_rld)/usr/share/doc/$(p_rl)
endif
dh_installdeb -s
dh_gencontrol -s
dh_md5sums -s
dh_builddeb -s
binary: binary-indep binary-arch
.PHONY: binary binary-arch binary-indep clean
version=3
opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/libdfp-$1.tar.gz/" \
https://github.com/libdfp/libdfp/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment