From 68976a07a8d52c64813a3e6bf0006aac1e97debe Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 01 2022 11:21:13 +0000 Subject: import festival-2.5.0-17.el9 --- diff --git a/SOURCES/festival-2.5.0-pie.patch b/SOURCES/festival-2.5.0-pie.patch new file mode 100644 index 0000000..fbeae64 --- /dev/null +++ b/SOURCES/festival-2.5.0-pie.patch @@ -0,0 +1,20 @@ +diff -up festival/src/main/Makefile.pie festival/src/main/Makefile +--- festival/src/main/Makefile.pie 2022-01-26 10:33:55.420688190 -0500 ++++ festival/src/main/Makefile 2022-01-26 10:34:45.928050436 -0500 +@@ -54,13 +54,13 @@ ifeq (SIOD_PYTHON, $(findstring SIOD_PYT + endif + + festival: festival_main.o $(LIBDEPS) +- $(LINK_COMMAND) -o festival festival_main.o $(LIBS) ++ $(LINK_COMMAND) -o festival festival_main.o -Wp,-pie $(LIBS) + + festival_client: festival_client.o $(REQUIRED_LIBDEPS) +- $(LINK_COMMAND) -o festival_client festival_client.o $(LIBS) ++ $(LINK_COMMAND) -o festival_client festival_client.o -Wp,-pie $(LIBS) + + $(ETCDIR)/audsp: $(ETCDIR)/.made audsp.o $(LIBDEPS) +- $(LINK_COMMAND) -o $(ETCDIR)/audsp audsp.o $(LIBS) ++ $(LINK_COMMAND) -o $(ETCDIR)/audsp audsp.o -Wp,-pie $(LIBS) + + # Can't just rely on the dir as it gets updated with new files + # check for the data of a file created in etcdir diff --git a/SPECS/festival.spec b/SPECS/festival.spec index b21f2ca..d4ee6b3 100644 --- a/SPECS/festival.spec +++ b/SPECS/festival.spec @@ -1,7 +1,7 @@ Name: festival Summary: Speech synthesis and text-to-speech system Version: 2.5.0 -Release: 16%{?dist} +Release: 17%{?dist} URL: http://www.cstr.ed.ac.uk/projects/festival/ # The Emacs file is GPL+, there is one TCL-licensed source file, and @@ -56,6 +56,7 @@ Patch101: festival-2.5.0-use-system-speech-tools.patch Patch102: festival-2.5.0-use-system-libs.patch Patch103: festival-2.5.0-filesystem-standard.patch Patch104: festival-2.5.0-siteinit.patch +Patch105: festival-2.5.0-pie.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -298,6 +299,7 @@ you can also interface with Festival in via the shell or with BSD sockets. %patch102 -p1 -b .use-system-libs %patch103 -p1 -b .filesystem-standard %patch104 -p1 -b .siteinit +%patch105 -p1 -b .pie %build @@ -489,6 +491,9 @@ exit 0 %changelog +* Wed Jan 26 2022 Matthias Clasen - 2.5.0-17 +- Link binaries with -pie. Related: rhbz:#2044857 + * Mon Aug 09 2021 Mohan Boddu - 2.5.0-16 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688