- jitterentropy-with-debug.patch: build with debuginfo (bsc#1207789)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jitterentropy?expand=0&rev=17
This commit is contained in:
Marcus Meissner 2024-02-12 16:20:47 +00:00 committed by Git OBS Bridge
parent 336543bd27
commit 8b0395bd32
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,24 @@
Index: jitterentropy-library-3.4.0/Makefile
===================================================================
--- jitterentropy-library-3.4.0.orig/Makefile
+++ jitterentropy-library-3.4.0/Makefile
@@ -4,8 +4,8 @@ CC ?= gcc
#Hardening
ENABLE_STACK_PROTECTOR ?= 1
CFLAGS ?= -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -fPIE -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum
-CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv -Wconversion
-LDFLAGS +=-Wl,-z,relro,-z,now -lpthread
+CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv -Wconversion -g
+LDFLAGS +=-Wl,-z,relro,-z,now -lpthread -g
# Enable internal timer support
CFLAGS += -DJENT_CONF_ENABLE_INTERNAL_TIMER
@@ -35,7 +35,7 @@ LIBDIR := lib
INCDIR := include
SRCDIR := src
-INSTALL_STRIP ?= install -s
+INSTALL_STRIP ?= install
NAME := jitterentropy
LIBMAJOR=$(shell cat $(SRCDIR)/jitterentropy-base.c | grep define | grep MAJVERSION | awk '{print $$3}')

View File

@ -14,6 +14,11 @@ Wed Mar 22 11:17:59 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
* github.com/smuellerDD/jitterentropy-library/commit/7bf9f85
* Add jitterentropy-fix-a-stack-corruption-on-s390x.patch
-------------------------------------------------------------------
Thu Jan 26 10:59:09 UTC 2023 - Marcus Meissner <meissner@suse.com>
- jitterentropy-with-debug.patch: build with debuginfo (bsc#1207789)
-------------------------------------------------------------------
Tue Sep 13 12:34:39 UTC 2022 - Marcus Meissner <meissner@suse.com>

View File

@ -30,6 +30,7 @@ Source1: baselibs.conf
#PATCH-FIX-UPSTREAM github.com/smuellerDD/jitterentropy-library/commit/7bf9f85
Patch0: jitterentropy-fix-a-stack-corruption-on-s390x.patch
Patch1: jitterentropy-split-internal-header.patch
Patch2: jitterentropy-with-debug.patch
%description
The Jitter RNG provides a noise source using the CPU execution