uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/development/libraries/libdevil/ftbfs-libpng15.patch
Normal file
31
pkgs/development/libraries/libdevil/ftbfs-libpng15.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
Source: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649554
|
||||
--- devil-1.7.8.orig/src-IL/src/il_icon.c
|
||||
+++ devil-1.7.8/src-IL/src/il_icon.c
|
||||
@@ -525,7 +525,11 @@
|
||||
|
||||
// Expand low-bit-depth grayscale images to 8 bits
|
||||
if (ico_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
|
||||
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
|
||||
+ png_set_expand_gray_1_2_4_to_8(ico_png_ptr);
|
||||
+#else
|
||||
png_set_gray_1_2_4_to_8(ico_png_ptr);
|
||||
+#endif
|
||||
}
|
||||
|
||||
// Expand RGB images with transparency to full alpha channels
|
||||
only in patch2:
|
||||
unchanged:
|
||||
--- devil-1.7.8.orig/src-IL/src/il_png.c
|
||||
+++ devil-1.7.8/src-IL/src/il_png.c
|
||||
@@ -278,7 +278,11 @@
|
||||
|
||||
// Expand low-bit-depth grayscale images to 8 bits
|
||||
if (png_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
|
||||
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
|
||||
+ png_set_expand_gray_1_2_4_to_8(png_ptr);
|
||||
+#else
|
||||
png_set_gray_1_2_4_to_8(png_ptr);
|
||||
+#endif
|
||||
}
|
||||
|
||||
// Expand RGB images with transparency to full alpha channels
|
||||
Loading…
Add table
Add a link
Reference in a new issue