Hello community,
here is the log from the commit of package sha1collisiondetection for
openSUSE:Factory checked in at 2018-02-05 10:50:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sha1collisiondetection (Old)
and /work/SRC/openSUSE:Factory/.sha1collisiondetection.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sha1collisiondetection"
Mon Feb 5 10:50:10 2018 rev:5 rq:571492 version:1.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/sha1collisiondetection/sha1collisiondetection.changes
2017-08-16 16:15:25.259004535 +0200
+++
/work/SRC/openSUSE:Factory/.sha1collisiondetection.new/sha1collisiondetection.changes
2018-02-05 10:50:11.756211915 +0100
@@ -1,0 +2,12 @@
+Wed Jan 31 17:48:45 CET 2018 - [email protected]
+
+- cleaner solution for the endian detection issue:
+ include the proper header file
+
+-------------------------------------------------------------------
+Wed Jan 31 17:33:48 CET 2018 - [email protected]
+
+- add sha1collisiondetection-endian_detection.patch
+ fix detection of endianness at compile time
+
+-------------------------------------------------------------------
New:
----
sha1collisiondetection-endian_detection.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sha1collisiondetection.spec ++++++
--- /var/tmp/diff_new_pack.au494Q/_old 2018-02-05 10:50:12.276187573 +0100
+++ /var/tmp/diff_new_pack.au494Q/_new 2018-02-05 10:50:12.276187573 +0100
@@ -1,7 +1,7 @@
#
# spec file for package sha1collisiondetection
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Andreas Stieger <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -26,6 +26,7 @@
Url: https://github.com/cr-marcstevens/sha1collisiondetection
Source:
https://github.com/cr-marcstevens/sha1collisiondetection/archive/stable-v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: sha1collisiondetection-1.0.3-io-fixes.patch
+Patch1: sha1collisiondetection-endian_detection.patch
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -59,6 +60,7 @@
%prep
%setup -q -n %{name}-stable-v%{version}
%patch0 -p1
+%patch1
%build
export TARGETCFLAGS="%{optflags}"
++++++ sha1collisiondetection-endian_detection.patch ++++++
--- lib/sha1.c
+++ lib/sha1.c
@@ -9,6 +9,7 @@
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
+#include <endian.h>
#include "sha1.h"
#include "ubc_check.h"