public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssl] rebase_40beta: Make the afalg engine build.
@ 2026-06-09 12:44 Tomas Mraz
  0 siblings, 0 replies; only message in thread
From: Tomas Mraz @ 2026-06-09 12:44 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/openssl
            Branch : rebase_40beta
            Commit : 86c97f4f4b2042e2a62d6d6a48eb85e738ca9f7a
            Author : Tomas Mraz <tmraz@fedoraproject.org>
            Date   : 2018-06-19T16:58:06+02:00
            Stats  : +25/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/openssl/c/86c97f4f4b2042e2a62d6d6a48eb85e738ca9f7a?branch=rebase_40beta

            Log:
            Make the afalg engine build.

There is a conflict in some types between glibc and linux headers.
Adding a hack to avoid it.

---
diff --git a/openssl-1.1.0-build.patch b/openssl-1.1.0-build.patch
index bedd957..3d035a8 100644
--- a/openssl-1.1.0-build.patch
+++ b/openssl-1.1.0-build.patch
@@ -38,6 +38,31 @@ diff -up openssl-1.1.0f/Configurations/10-main.conf.build openssl-1.1.0f/Configu
      },
      "linux-arm64ilp32" => {  # https://wiki.linaro.org/Platform/arm64-ilp32
          inherit_from     => [ "linux-generic32", asm("aarch64_asm") ],
+diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afalg/e_afalg.c
+--- openssl-1.1.0h/engines/afalg/e_afalg.c.build	2018-03-27 15:50:40.000000000 +0200
++++ openssl-1.1.0h/engines/afalg/e_afalg.c	2018-06-19 16:56:20.150950529 +0200
+@@ -36,14 +36,19 @@ void engine_load_afalg_int(void)
+ }
+ #else
+ 
+-# include <linux/if_alg.h>
+ # include <fcntl.h>
+ # include <sys/utsname.h>
+ 
+-# include <linux/aio_abi.h>
+ # include <sys/syscall.h>
+ # include <errno.h>
+ 
++# define timespec linux_timespec
++# define timeval linux_timeval
++# define itimerspec linux_itimerspec
++# define sigset_t linux_sigset_type
++# include <linux/if_alg.h>
++# include <linux/aio_abi.h>
++
+ # include "e_afalg.h"
+ 
+ # define AFALG_LIB_NAME "AFALG"
 diff -up openssl-1.1.0g/test/evptests.txt.build openssl-1.1.0g/test/evptests.txt
 --- openssl-1.1.0g/test/evptests.txt.build	2017-11-02 15:29:05.000000000 +0100
 +++ openssl-1.1.0g/test/evptests.txt	2017-11-03 16:37:01.253671494 +0100

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-09 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 12:44 [rpms/openssl] rebase_40beta: Make the afalg engine build Tomas Mraz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox