Files
ucl/ucl-noexecstack.patch
Martin Pluskal 969e86bb51 Accepting request 985184 from home:elvigia:branches:Archiving
- Import debian patch sets. This fixes some bugs and 
  allows us to build the library without any special CFLAGS

- Add ucl-noexecstack.patch: Fix FTBS on i586 due to executable
  stack

OBS-URL: https://build.opensuse.org/request/show/985184
OBS-URL: https://build.opensuse.org/package/show/Archiving/ucl?expand=0&rev=11
2022-06-27 09:46:40 +00:00

14 lines
371 B
Diff

Index: ucl-1.03/asm/i386/src_gas/asminit.def
===================================================================
--- ucl-1.03.orig/asm/i386/src_gas/asminit.def
+++ ucl-1.03/asm/i386/src_gas/asminit.def
@@ -48,5 +48,7 @@
#ifndef db
# define db .byte
#endif
-
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
.text