Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Z
zeromq3
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
zeromq3
Commits
79ee16d9
Commit
79ee16d9
authored
1 year ago
by
Laszlo Boszormenyi (GCS)
Committed by
Dylan Aïssi
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Import Debian changes 4.3.4-1+deb11u1
parent
18abaf5b
Branches
debian/bullseye
Branches containing commit
Tags
debian/4.3.4-1+deb11u1
Tags containing commit
2 merge requests
!14
Merge changes from apertis/v2023-updates into apertis/v2023
,
!13
Update from debian/bullseye for apertis/v2023-updates
Pipeline
#688658
passed with stages
Stage: build-env
Stage: update
Stage: merge
in 29 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+7
-0
7 additions, 0 deletions
debian/changelog
debian/patches/fix_fork_detection_with_gcc_7.patch
+85
-0
85 additions, 0 deletions
debian/patches/fix_fork_detection_with_gcc_7.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
93 additions
and
0 deletions
debian/changelog
+
7
−
0
View file @
79ee16d9
zeromq3 (4.3.4-1+deb11u1) bullseye; urgency=medium
* Apply fix for fork() detection on GCC 7 (closes: #1053448).
* Add relicense statement for David Gloe (dgloe-hpe).
-- Laszlo Boszormenyi (GCS) <gcs@debian.org> Sat, 07 Oct 2023 11:22:30 +0200
zeromq3 (4.3.4-1) unstable; urgency=medium
* New upstream release.
...
...
This diff is collapsed.
Click to expand it.
debian/patches/fix_fork_detection_with_gcc_7.patch
0 → 100644
+
85
−
0
View file @
79ee16d9
From 240e36af4e0300a529c99b0a05c4bf391bbcd6f5 Mon Sep 17 00:00:00 2001
From: David Gloe <david.gloe@hpe.com>
Date: Tue, 23 Nov 2021 15:39:42 +0000
Subject: [PATCH 1/2] Problem: Fix fork detection on gcc 7
Solution: When compiling with gcc 7 and newer, the program produced by
AC_CHECK_FUNCS(fork) produces a warning, which results in configure
incorrectly disabling fork support. Fix the issue by using an
AC_COMPILE_IFELSE which correctly detects fork availability.
Tested by running configure and make check on a system with gcc 7
installed, and verifying that HAVE_FORK was defined correctly.
See issue #3313.
---
configure.ac | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 227e37b488..1a571291eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -771,9 +771,24 @@
AC_LANG_POP([C++])
# Checks for library functions.
AC_TYPE_SIGNAL
-AC_CHECK_FUNCS(perror gettimeofday clock_gettime memset socket getifaddrs freeifaddrs fork mkdtemp accept4)
+AC_CHECK_FUNCS(perror gettimeofday clock_gettime memset socket getifaddrs freeifaddrs mkdtemp accept4)
AC_CHECK_HEADERS([alloca.h])
+# AC_CHECK_FUNCS(fork) fails on gcc 7
+AC_MSG_CHECKING([whether fork is available])
+AC_COMPILE_IFELSE(
+ [AC_LANG_PROGRAM(
+ [[#include <unistd.h>]],
+ [[return fork();]])
+ ],[
+ AC_MSG_RESULT([yes])
+ AC_DEFINE(HAVE_FORK, [1], [fork is available])
+ AM_CONDITIONAL(HAVE_FORK, true)
+ ],[
+ AC_MSG_RESULT([no])
+ AM_CONDITIONAL(HAVE_FORK, false)
+])
+
# string.h doesn't seem to be included by default in Fedora 30
AC_MSG_CHECKING([whether strnlen is available])
AC_COMPILE_IFELSE(
@@ -971,8 +986,6 @@
LIBZMQ_CHECK_GETRANDOM([
[Whether getrandom is supported.])
])
-AM_CONDITIONAL(HAVE_FORK, test "x$ac_cv_func_fork" = "xyes")
-
if test "x$cross_compiling" = "xyes"; then
# Enable draft by default when cross-compiling
defaultval=yes
From 72b5359049664458e117f2609d174dc5213fc19b Mon Sep 17 00:00:00 2001
From: David Gloe <david.gloe@hpe.com>
Date: Tue, 23 Nov 2021 16:27:52 +0000
Subject: [PATCH 2/2] Problem: Missing relicense statement for dgloe-hpe
Solution: Add new author to the existing HPE relicense statement.
---
RELICENSE/hewlett_packard_enterprise.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/RELICENSE/hewlett_packard_enterprise.md b/RELICENSE/hewlett_packard_enterprise.md
index 9a0741984d..067ce39cbc 100644
--- a/RELICENSE/hewlett_packard_enterprise.md
+++ b/RELICENSE/hewlett_packard_enterprise.md
@@ -5,9 +5,11 @@
that grants permission to relicense its copyrights in the libzmq C++
library (ZeroMQ) under the Mozilla Public License v2 (MPLv2).
A portion of the commits made by the Github handle "brc859844", with
-commit author "Brett Cameron <Brett.Cameron@hp.com>", are copyright of Hewlett Packard Enterprise.
+commit author "Brett Cameron <Brett.Cameron@hp.com>", and the commits made
+by the Github handle "dgloe-hpe", with commit author
+"David Gloe <david.gloe@hpe.com>", are copyright of Hewlett Packard Enterprise.
This document hereby grants the libzmq project team to relicense libzmq,
-including all past, present and future contributions of the author listed above.
+including all past, present and future contributions of the authors listed above.
Hewlett Packard Enterprise
2019/03/12
This diff is collapsed.
Click to expand it.
debian/patches/series
+
1
−
0
View file @
79ee16d9
...
...
@@ -2,3 +2,4 @@ disable-test_security_curve.patch
tests_testutil.cpp.patch
test_hwm_pubsub-tcp-fix.patch
fix-maybe-uninitialized.patch
fix_fork_detection_with_gcc_7.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment