public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Mraz <tmraz@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/openssl] rebase_40beta: Make the afalg engine build.
Date: Tue, 09 Jun 2026 12:44:11 GMT	[thread overview]
Message-ID: <178100905183.1.17092089786951793231.rpms-openssl-86c97f4f4b20@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-06-09 12:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178100905183.1.17092089786951793231.rpms-openssl-86c97f4f4b20@fedoraproject.org \
    --to=tmraz@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox