Link with -pie
Related: rhbz#2044857
This commit is contained in:
parent
d5d7282817
commit
498a7e7d5b
20
festival-2.5.0-pie.patch
Normal file
20
festival-2.5.0-pie.patch
Normal file
@ -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
|
@ -1,7 +1,7 @@
|
|||||||
Name: festival
|
Name: festival
|
||||||
Summary: Speech synthesis and text-to-speech system
|
Summary: Speech synthesis and text-to-speech system
|
||||||
Version: 2.5.0
|
Version: 2.5.0
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
|
|
||||||
URL: http://www.cstr.ed.ac.uk/projects/festival/
|
URL: http://www.cstr.ed.ac.uk/projects/festival/
|
||||||
# The Emacs file is GPL+, there is one TCL-licensed source file, and
|
# 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
|
Patch102: festival-2.5.0-use-system-libs.patch
|
||||||
Patch103: festival-2.5.0-filesystem-standard.patch
|
Patch103: festival-2.5.0-filesystem-standard.patch
|
||||||
Patch104: festival-2.5.0-siteinit.patch
|
Patch104: festival-2.5.0-siteinit.patch
|
||||||
|
Patch105: festival-2.5.0-pie.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
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
|
%patch102 -p1 -b .use-system-libs
|
||||||
%patch103 -p1 -b .filesystem-standard
|
%patch103 -p1 -b .filesystem-standard
|
||||||
%patch104 -p1 -b .siteinit
|
%patch104 -p1 -b .siteinit
|
||||||
|
%patch105 -p1 -b .pie
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -489,6 +491,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 26 2022 Matthias Clasen <mclasen@redhat.com> - 2.5.0-17
|
||||||
|
- Link binaries with -pie. Related: rhbz:#2044857
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.0-16
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.0-16
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user