!6 xmms: Add stack protector for building
Merge pull request !6 from gnaygnil/master
This commit is contained in:
commit
401cfe8fd4
12
9000-add-stack-protector-for-build.patch
Normal file
12
9000-add-stack-protector-for-build.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -uprN xmms-1.2.11-20071117cvs_raw/acinclude.m4 xmms-1.2.11-20071117cvs/acinclude.m4
|
||||||
|
--- xmms-1.2.11-20071117cvs_raw/acinclude.m4 2007-03-09 06:45:07.000000000 +0800
|
||||||
|
+++ xmms-1.2.11-20071117cvs/acinclude.m4 2020-03-17 11:46:23.702741636 +0800
|
||||||
|
@@ -5607,7 +5607,7 @@ EOF
|
||||||
|
_LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
|
||||||
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
|
||||||
|
$echo "local: *; };" >> $output_objdir/$libname.ver~
|
||||||
|
- $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
|
||||||
|
+ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script -fstack-protector-strong ${wl}$output_objdir/$libname.ver -o $lib'
|
||||||
|
fi
|
||||||
|
_LT_AC_TAGVAR(link_all_deplibs, $1)=no
|
||||||
|
else
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Name: xmms
|
Name: xmms
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.2.11
|
Version: 1.2.11
|
||||||
Release: 38.20071117cvs
|
Release: 39.20071117cvs
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: XMMS is a legacy GTK+1 music player modeled after Winamp
|
Summary: XMMS is a legacy GTK+1 music player modeled after Winamp
|
||||||
URL: https://git.conf.top/public/rpmbuild/src/master/xmms
|
URL: https://git.conf.top/public/rpmbuild/src/master/xmms
|
||||||
@ -33,6 +33,7 @@ Patch0012: xmms-1.2.10-ubuntu-CVE-2007-0653.patch
|
|||||||
Patch0013: xmms-alsa-fix-loop.patch
|
Patch0013: xmms-alsa-fix-loop.patch
|
||||||
Patch0014: xmms-1.2.11-mikmod-fix.patch
|
Patch0014: xmms-1.2.11-mikmod-fix.patch
|
||||||
Patch0015: xmms-1.2.11-a-b.patch
|
Patch0015: xmms-1.2.11-a-b.patch
|
||||||
|
Patch9000: 9000-add-stack-protector-for-build.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
XMMS is a legacy GTK+1 music player similar to Winamp's. XMMS supports
|
XMMS is a legacy GTK+1 music player similar to Winamp's. XMMS supports
|
||||||
@ -99,6 +100,9 @@ install -Dpm 644 xmms.pc %{buildroot}%{_libdir}/pkgconfig/xmms.pc
|
|||||||
%{_mandir}/man1/*xmms.1*
|
%{_mandir}/man1/*xmms.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 17 2020 Ling Yang <lingyang2@huawei.com> - 1:1.2.11-39.20071117cvs
|
||||||
|
- Add stack protector for building
|
||||||
|
|
||||||
* Mon Jan 20 2020 wangzhishun <wangzhishun1@huawei.com> - 1:1.2.11-38.20071117cvs
|
* Mon Jan 20 2020 wangzhishun <wangzhishun1@huawei.com> - 1:1.2.11-38.20071117cvs
|
||||||
- modify url
|
- modify url
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user