diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-18 19:42:59 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-19 11:02:29 -0800 |
| commit | 2f6c043c0c99ccf71f9eb9088adbe42972b9d8a0 (patch) | |
| tree | 772cc002d32aa8acb04c93f923966d4b8ec86864 | |
| parent | c8c31eef9f4a32c852ab51ec31a90f55e4d685b7 (diff) | |
| download | meta-openembedded-2f6c043c0c99ccf71f9eb9088adbe42972b9d8a0.tar.gz | |
hiredis: Upgrade to 0.14.0
* Define LIBRARY_PATH so multilibbed version can install correctly
* Forward port patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-extended/hiredis/files/0001-Makefile-remove-hardcoding-of-CC.patch | 16 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb (renamed from meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb) | 5 |
2 files changed, 9 insertions, 12 deletions
diff --git a/meta-oe/recipes-extended/hiredis/files/0001-Makefile-remove-hardcoding-of-CC.patch b/meta-oe/recipes-extended/hiredis/files/0001-Makefile-remove-hardcoding-of-CC.patch index fef2bc7541..1af5d26ac0 100644 --- a/meta-oe/recipes-extended/hiredis/files/0001-Makefile-remove-hardcoding-of-CC.patch +++ b/meta-oe/recipes-extended/hiredis/files/0001-Makefile-remove-hardcoding-of-CC.patch | |||
| @@ -11,22 +11,18 @@ Signed-off-by: Andrea Galbusera <gizero@gmail.com> | |||
| 11 | Makefile | 5 ----- | 11 | Makefile | 5 ----- |
| 12 | 1 file changed, 5 deletions(-) | 12 | 1 file changed, 5 deletions(-) |
| 13 | 13 | ||
| 14 | diff --git a/Makefile b/Makefile | ||
| 15 | index 8b0f0c2..66a4317 100644 | ||
| 16 | --- a/Makefile | 14 | --- a/Makefile |
| 17 | +++ b/Makefile | 15 | +++ b/Makefile |
| 18 | @@ -34,11 +34,6 @@ define REDIS_TEST_CONFIG | 16 | @@ -35,12 +35,6 @@ define REDIS_TEST_CONFIG |
| 19 | endef | 17 | endef |
| 20 | export REDIS_TEST_CONFIG | 18 | export REDIS_TEST_CONFIG |
| 21 | 19 | ||
| 22 | -# Fallback to gcc when $CC is not in $PATH. | 20 | -# Fallback to gcc when $CC is not in $PATH. |
| 23 | -CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc') | 21 | -CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc') |
| 22 | -CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++') | ||
| 24 | -OPTIMIZATION?=-O3 | 23 | -OPTIMIZATION?=-O3 |
| 25 | -WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings | 24 | -WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings |
| 26 | -DEBUG?= -g -ggdb | 25 | -DEBUG_FLAGS?= -g -ggdb |
| 27 | REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG) $(ARCH) | 26 | REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS) |
| 28 | REAL_LDFLAGS=$(LDFLAGS) $(ARCH) | 27 | REAL_LDFLAGS=$(LDFLAGS) |
| 29 | 28 | ||
| 30 | -- | ||
| 31 | 1.9.1 | ||
| 32 | |||
diff --git a/meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb b/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb index fae30d771d..29f8de8d2f 100644 --- a/meta-oe/recipes-extended/hiredis/hiredis_0.13.1.bb +++ b/meta-oe/recipes-extended/hiredis/hiredis_0.14.0.bb | |||
| @@ -5,14 +5,15 @@ SECTION = "libs" | |||
| 5 | DEPENDS = "redis" | 5 | DEPENDS = "redis" |
| 6 | 6 | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51" |
| 8 | SRC_URI = "git://github.com/redis/hiredis;protocol=git;rev=f58dd249d6ed47a7e835463c3b04722972281dbb \ | 8 | SRCREV = "685030652cd98c5414ce554ff5b356dfe8437870" |
| 9 | SRC_URI = "git://github.com/redis/hiredis;protocol=git \ | ||
| 9 | file://0001-Makefile-remove-hardcoding-of-CC.patch" | 10 | file://0001-Makefile-remove-hardcoding-of-CC.patch" |
| 10 | 11 | ||
| 11 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 12 | 13 | ||
| 13 | inherit autotools-brokensep pkgconfig | 14 | inherit autotools-brokensep pkgconfig |
| 14 | 15 | ||
| 15 | EXTRA_OEMAKE = "PREFIX=${prefix}" | 16 | EXTRA_OEMAKE = "PREFIX=${prefix} LIBRARY_PATH=${baselib}" |
| 16 | 17 | ||
| 17 | # By default INSTALL variable in Makefile is equal to 'cp -a', which preserves | 18 | # By default INSTALL variable in Makefile is equal to 'cp -a', which preserves |
| 18 | # ownership and causes host-user-contamination QA issue. | 19 | # ownership and causes host-user-contamination QA issue. |
