diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/web-apps/discourse/disable_jhead.patch')
-rw-r--r-- | nixpkgs/pkgs/servers/web-apps/discourse/disable_jhead.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/web-apps/discourse/disable_jhead.patch b/nixpkgs/pkgs/servers/web-apps/discourse/disable_jhead.patch new file mode 100644 index 000000000000..709a1959d637 --- /dev/null +++ b/nixpkgs/pkgs/servers/web-apps/discourse/disable_jhead.patch @@ -0,0 +1,12 @@ +diff --git a/lib/file_helper.rb b/lib/file_helper.rb +index 162de9a40b..9ac8807e9d 100644 +--- a/lib/file_helper.rb ++++ b/lib/file_helper.rb +@@ -124,6 +124,7 @@ class FileHelper + jpegoptim: { strip: strip_image_metadata ? "all" : "none" }, + jpegtran: false, + jpegrecompress: false, ++ jhead: false, + ) + end + end |