Package: libcrcutil / 1.0-3~bpo8+1

Metadata

Package Version Patches format
libcrcutil 1.0-3~bpo8+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
automake.patch | (download)

configure.ac | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 modernise automake
 Recent automake defaults to running tests in parallel which redirects
 `make check` output to log. Setting "serial-tests" restores old behaviour.
~~~~
 configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
 configure.ac:6: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation

 Makefile.am:5: warning: source file 'code/crc32c_sse4.cc' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 automake: warning: possible forward-incompatibility.
 automake: At least a source file is in a subdirectory, but the 'subdir-objects'
 automake: automake option hasn't been enabled.  For now, the corresponding output
 automake: object file(s) will be placed in the top-level directory.  However,
 automake: this behaviour will change in future Automake versions: they will
 automake: unconditionally cause object files to be placed in the same subdirectory
 automake: of the corresponding sources.
 automake: You are advised to start using 'subdir-objects' option throughout your
 automake: project, to avoid future incompatibilities.
 Makefile.am:5: warning: source file 'code/multiword_128_64_gcc_amd64_sse2.cc' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 Makefile.am:5: warning: source file 'code/multiword_64_64_cl_i386_mmx.cc' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 Makefile.am:5: warning: source file 'code/multiword_64_64_gcc_amd64_asm.cc' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 Makefile.am:5: warning: source file 'code/multiword_64_64_gcc_i386_mmx.cc' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 Makefile.am:5: warning: source file 'tests/set_hi_pri.c' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 Makefile.am:5: warning: source file 'tests/unittest.cc' is in a subdirectory,
 Makefile.am:5: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'code/crc32c_sse4.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'code/multiword_128_64_gcc_amd64_sse2.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'code/multiword_64_64_cl_i386_mmx.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'code/multiword_64_64_gcc_amd64_asm.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'code/multiword_64_64_gcc_i386_mmx.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'examples/interface.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
 Makefile.am:9: warning: source file 'examples/usage.cc' is in a subdirectory,
 Makefile.am:9: but option 'subdir-objects' is disabled
~~~~


build abort be.patch | (download)

configure.ac | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 abort build on big endian architectures.


build fix tests.patch | (download)

tests/unittest.h | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 fix tests on non-x86


build unclobber.patch | (download)

code/crc32c_sse4.cc | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 fix ftbfs by introducing <cpuid.h> which should be universally
             available as part of GCC 4.4 and above. Please review.
~~~~
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -mcrc32 -msse2 -DCRCUTIL_USE_ASM=0 -DCRCUTIL_USE_MM_CRC32=1 -Wall -msse2 -Icode -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c code/multiword_128_64_gcc_amd64_sse2.cc -fPIE -o code/multiword_128_64_gcc_amd64_sse2.o >/dev/null 2>&1
 code/crc32c_sse4.cc: In static member function 'static bool crcutil::Crc32cSSE4::IsSSE42Available()':
 code/crc32c_sse4.cc:331:4: error: PIC register clobbered by '%ebx' in 'asm'
    );
     ^
 Makefile:685: recipe for target 'code/crc32c_sse4.lo' failed
~~~~


library.patch | (download)

Makefile.am | 44 41 + 3 - 0 !
configure.ac | 8 7 + 1 - 0 !
libcrcutil.pc.in | 10 10 + 0 - 0 !
3 files changed, 58 insertions(+), 4 deletions(-)

 build proper library


pdf date.patch | (download)

doc/text/crc.tex | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 "maketitle" insert build date to the document; re-insert original date.


detect mcrc32.patch | (download)

Makefile.am | 2 1 + 1 - 0 !
configure.ac | 12 12 + 0 - 0 !
2 files changed, 13 insertions(+), 1 deletion(-)

 detect "-mcrc32" and use when possible.