Browse Source

Merge pull request #13073 from neheb/lcd4

lcd4linux: fix compilation with GCC 10
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
f19d208581
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/lcd4linux/Makefile
  2. +1
    -1
      utils/lcd4linux/patches/171-allow-to-specify-drv_generic_graphic_real_clear.patch

+ 1
- 1
utils/lcd4linux/Makefile View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=lcd4linux PKG_NAME:=lcd4linux
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/feckert/lcd4linux PKG_SOURCE_URL:=https://github.com/feckert/lcd4linux


+ 1
- 1
utils/lcd4linux/patches/171-allow-to-specify-drv_generic_graphic_real_clear.patch View File

@ -38,7 +38,7 @@
extern void (*drv_generic_graphic_real_blit) (const int row, const int col, const int height, const int width); extern void (*drv_generic_graphic_real_blit) (const int row, const int col, const int height, const int width);
+/* these functions can be implemented by the real driver */ +/* these functions can be implemented by the real driver */
+void (*drv_generic_graphic_real_clear) (const RGBA rgba);
+extern void (*drv_generic_graphic_real_clear) (const RGBA rgba);
+ +
/* helper function to get pixel color or gray value */ /* helper function to get pixel color or gray value */
extern RGBA drv_generic_graphic_rgb(const int row, const int col); extern RGBA drv_generic_graphic_rgb(const int row, const int col);


Loading…
Cancel
Save