diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-03-07 23:47:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 23:47:34 -0800 |
commit | b28b8058c9692d138e97e4c6dffbe29926f6f270 (patch) | |
tree | 17988d500e2e0ed4a709a5563d979e0a7b528956 /libs | |
parent | b57aebbef1c78254a9bdd1d7ac738a6942ba4ba6 (diff) | |
parent | 07d0ee7552982cc36b52d0ec0af2f0526ffc6b43 (diff) |
Merge pull request #15033 from neheb/mr
libmraa: fix compilation with GCC10
Diffstat (limited to 'libs')
-rw-r--r-- | libs/libmraa/Makefile | 2 | ||||
-rw-r--r-- | libs/libmraa/patches/030-gcc10.patch | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/libs/libmraa/Makefile b/libs/libmraa/Makefile index d05453e12..8c29d8dfe 100644 --- a/libs/libmraa/Makefile +++ b/libs/libmraa/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libmraa PKG_VERSION:=2.2.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/eclipse/mraa/tar.gz/v$(PKG_VERSION)? diff --git a/libs/libmraa/patches/030-gcc10.patch b/libs/libmraa/patches/030-gcc10.patch new file mode 100644 index 000000000..dad1249c8 --- /dev/null +++ b/libs/libmraa/patches/030-gcc10.patch @@ -0,0 +1,13 @@ +--- a/include/version.h ++++ b/include/version.h +@@ -11,8 +11,8 @@ + extern "C" { + #endif + +-const char* gVERSION; +-const char* gVERSION_SHORT; ++extern const char* gVERSION; ++extern const char* gVERSION_SHORT; + + #ifdef __cplusplus + } |