zlog: upgrade 1.2.18 -> 1.2.19

Dropped patches that are part of the upstream version.

Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Ankur Tyagi authored and Khem Raj committed 2026-09-27 12:54:16 -07:00
1 parent 3447391d62
commit 726e33572c
3 files changed
+2 -60

No files matched your search

@@ -1,31 +0,0 @@
From ee35b6507993e79fc594e3b7ad50174e33e68daa Mon Sep 17 00:00:00 2001
From: Gyorgy Sarvari <skandigraun@gmail.com>
Date: Wed, 24 Sep 2025 11:22:29 +0200
Subject: [PATCH] Don't overwrite systemwide cflags
Instead of overriding the cflags from the system, just append to them.
Upstream-Status: Submitted [https://github.com/HardySimpson/zlog/pull/306]
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8981934..f2bd574 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,9 +33,9 @@ SET(ZLOG_SO_VERSION ${CPACK_PACKAGE_VERSION_MAJOR})
message(STATUS "platform : ${CMAKE_SYSTEM}")
add_definitions("-g -Wall -Wstrict-prototypes")
-set(CMAKE_C_FLAGS "-std=c99 -pedantic -D_DEFAULT_SOURCE")
-set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG")
-set(CMAKE_C_FLAGS_RELEASE "-O2")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -pedantic -D_DEFAULT_SOURCE")
+set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3 -DDEBUG")
+set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
if (WIN32)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 ")
@@ -1,25 +0,0 @@
From 3715879775f725260aeda14f94887bbc7a007e29 Mon Sep 17 00:00:00 2001
From: haydenZhou <mfkhao2009@outlook.com>
Date: Sun, 8 Jun 2025 10:45:05 +0800
Subject: [PATCH] upgrade cmake minimum version
Upstream-Status: Backport [https://github.com/HardySimpson/zlog/commit/3715879775f725260aeda14f94887bbc7a007e29]
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ddaf8d..31a1553 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@
# limitations under the License.
#/
-cmake_minimum_required(VERSION 2.8.5)
+cmake_minimum_required(VERSION 3.12)
message(STATUS "path : ${CMAKE_FIND_ROOT_PATH}")
project(zlog)
@@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/HardySimpson/zlog"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV} \
file://upgrade_cmake_minimum_version.patch \
file://0001-Don-t-overwrite-systemwide-cflags.patch"
SRCREV = "7fe61ca6265516e9327a51fc394b2adb126c2ef3"
SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https;tag=${PV}"
SRCREV = "728602097c5f07f860f7ca32baecb229d89a2637"
inherit cmake