gmp: gmp-4.1.4-noexecstack.patch

File gmp-4.1.4-noexecstack.patch, 0.5 KB (added by japie, 18 months ago)
  • gmp-4.1.4/configure

    fixed executable stack as per bug #115038 thanks to Petteri Räty
    
     
    2168921689fi 
    2169021690echo "')" >> $gmp_configm4 
    2169121691echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4 
     21692cat nostackexec>>$gmp_configm4 
    2169221693 
    2169321694# Create Makefiles 
    2169421695# FIXME: Upcoming version of autoconf/automake may not like broken lines. 
  • gmp-4.1.4/nostackexec

     
     1#if defined(__linux__) && defined(__ELF__) 
     2.section .note.GNU-stack,"",%progbits 
     3.previous 
     4#endif