lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

qimageblitz: Mark stack as non-executable (patch taken from Gentoo)

This allows applications such as okular and kolourpaint to run in
grsecurity kernels, which disallow executable stacks by default.

+15 -2
+4 -2
pkgs/development/libraries/qimageblitz/default.nix
··· 7 7 8 8 stdenv.mkDerivation { 9 9 name = "${pn}-${v}"; 10 - 10 + 11 11 src = fetchurl { 12 12 url = "mirror://sourceforge/${pn}/${pn}-${v}.tar.bz2"; 13 13 sha256 = "0pnaf3qi7rgkxzs2mssmslb3f9ya4cyx09wzwlis3ppyvf72j0p9"; 14 14 }; 15 - 15 + 16 16 buildInputs = [ cmake qt4 ]; 17 + 18 + patches = [ ./qimageblitz-9999-exec-stack.patch ]; 17 19 18 20 meta = { 19 21 description = "Graphical effect and filter library for KDE4";
+11
pkgs/development/libraries/qimageblitz/qimageblitz-9999-exec-stack.patch
··· 1 + diff -uar qimageblitz/blitz/asm_scale.S qimageblitz~/blitz/asm_scale.S 2 + --- qimageblitz-orig/blitz/asm_scale.S 2007-10-17 01:17:57.000000000 +0200 3 + +++ qimageblitz/blitz/asm_scale.S 2007-10-17 01:19:12.000000000 +0200 4 + @@ -814,3 +814,7 @@ 5 + SIZE(qimageScale_mmx_AARGBA) 6 + 7 + #endif 8 + +#if defined(__linux__) && defined(__ELF__) 9 + +.section .note.GNU-stack,"",%progbits 10 + +#endif 11 + +