Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37748286
en ru br
ALT Linux repositórios
S:0.4.5-alt4.svn20120121
5.0: 0.4.4-alt7
4.1: 0.4.4-alt7
4.0: 0.4.4-alt7
3.0: 0.4.4-alt5

Group :: Vídeo
RPM: smpeg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: smpeg-0.4.4-gnu-stack.patch
Download


Make sure that the asm files don't incorrectly trigger an executable
stack marking in the final shared library.  That's bad, mmmkay.
before:
$ readelf -l /usr/lib/libsmpeg.so | grep -A 1 GNU_STACK
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RWE    8
after:
$ readelf -l /usr/lib/libsmpeg.so | grep -A 1 GNU_STACK
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     8
--- smpeg-0.4.4/video/mmxflags_asm.S
+++ smpeg-0.4.4/video/mmxflags_asm.S
@@ -57,3 +57,7 @@
 	.size	 cpu_flags,.Lfe1-cpu_flags
 
 #endif /* i386 && USE_MMX */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif
--- smpeg-0.4.4/video/mmxidct_asm.S
+++ smpeg-0.4.4/video/mmxidct_asm.S
@@ -673,3 +673,7 @@
 
 
 #endif /* i386 && USE_MMX */
+
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009