* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/files/, dev-libs/gbinder/
@ 2022-12-21 14:21 Denis Reva
0 siblings, 0 replies; 2+ messages in thread
From: Denis Reva @ 2022-12-21 14:21 UTC (permalink / raw
To: gentoo-commits
commit: 508b842df4cdf5ec9c6dce8380a3796e6c3faa4c
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Wed Dec 21 14:20:24 2022 +0000
Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Wed Dec 21 14:21:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=508b842d
dev-libs/gbinder: Fixed unnecessary debug flag in makefile
Closes: https://bugs.gentoo.org/887615
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
.../files/gbinder-1.1.30-r3-respect-env.patch | 40 ++++++++++++++++++++++
...r-1.1.30-r2.ebuild => gbinder-1.1.30-r3.ebuild} | 2 +-
2 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
new file mode 100644
index 000000000..5f9d974f9
--- /dev/null
+++ b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
@@ -0,0 +1,40 @@
+diff --git a/Makefile b/Makefile
+index e838b7e..4ce2039 100644
+--- a/Makefile
++++ b/Makefile
+@@ -136,20 +136,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) $(WARNINGS) $(INCLUDES) \
+ -MMD -MP $(shell pkg-config --cflags $(PKGS))
+ FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
+ $(shell pkg-config --libs $(PKGS)) -lpthread
+-DEBUG_FLAGS = -g
++DEBUG_FLAGS =
+ RELEASE_FLAGS =
+-COVERAGE_FLAGS = -g
++COVERAGE_FLAGS =
+
+ KEEP_SYMBOLS ?= 0
+ ifneq ($(KEEP_SYMBOLS),0)
+-RELEASE_FLAGS += -g
++#RELEASE_FLAGS += -g
+ endif
+
+ DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
+ RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
+-DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
+-RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
+-COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
++DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
++RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
++COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
+
+ #
+ # Files
+@@ -275,7 +275,7 @@ $(DEBUG_SO): $(DEBUG_OBJS)
+ $(RELEASE_SO): $(RELEASE_OBJS)
+ $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
+ ifeq ($(KEEP_SYMBOLS),0)
+- $(STRIP) $@
++# $(STRIP) $@
+ endif
+
+ $(DEBUG_LIB): $(DEBUG_OBJS)
diff --git a/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild b/dev-libs/gbinder/gbinder-1.1.30-r3.ebuild
similarity index 94%
rename from dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
rename to dev-libs/gbinder/gbinder-1.1.30-r3.ebuild
index cd97f3663..c900ed13f 100644
--- a/dev-libs/gbinder/gbinder-1.1.30-r2.ebuild
+++ b/dev-libs/gbinder/gbinder-1.1.30-r3.ebuild
@@ -28,7 +28,7 @@ BDEPEND="virtual/pkgconfig
sys-apps/sed"
PATCHES=(
- "${FILESDIR}/gbinder-1.1.30-respect-env.patch"
+ "${FILESDIR}/gbinder-1.1.30-r3-respect-env.patch"
)
src_prepare() {
default
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/files/, dev-libs/gbinder/
@ 2025-01-11 12:52 Denis Reva
0 siblings, 0 replies; 2+ messages in thread
From: Denis Reva @ 2025-01-11 12:52 UTC (permalink / raw
To: gentoo-commits
commit: 79713fd5fb94135acd5f95922c95134e890c7238
Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Jan 11 12:51:47 2025 +0000
Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sat Jan 11 12:51:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79713fd5
dev-libs/gbinder: add 1.1.42, drop 1.1.41
Closes: https://bugs.gentoo.org/944771
Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
dev-libs/gbinder/Manifest | 2 +-
.../files/gbinder-1.1.30-r3-respect-env.patch | 40 ------------------
.../gbinder/files/gbinder-1.1.30-respect-env.patch | 49 ----------------------
.../gbinder/files/gbinder-1.1.42-C23-compat.patch | 24 +++++++++++
...gbinder-1.1.41.ebuild => gbinder-1.1.42.ebuild} | 1 +
5 files changed, 26 insertions(+), 90 deletions(-)
diff --git a/dev-libs/gbinder/Manifest b/dev-libs/gbinder/Manifest
index 02628c71e..f3d0a1075 100644
--- a/dev-libs/gbinder/Manifest
+++ b/dev-libs/gbinder/Manifest
@@ -1 +1 @@
-DIST gbinder-1.1.41.tar.gz 206398 BLAKE2B 47f841f00a4f1e5730adf7e31b8bc09d029235048315458fd0eed3ca437f29f6a02bc4a6921d6378bb8c16ae97a6e85bcdf68253504f37ad4e8e0921869f18d1 SHA512 f2131a08ba4498b72ad39f1844cd415e182cce394bc5834c1ae188928700188ded7b0d826a74ea7e261cfb0ebb773f829c6eb017d6bef606f3f2837559bb9277
+DIST gbinder-1.1.42.tar.gz 207656 BLAKE2B 5f278490720f9b95f94a63d718d30e7a61c53ba4f943e676b7d76899660da91603a37953c764e1810eaea088de29f50e07ae8cb90cfbd17bd6a5db03bdffc314 SHA512 4d229e957188064817d6b40f693cf6fe9b44efae34ad15ac4314c7f0e3c49dc17835984fa741f7b90d8a2016234f2e7e78cc56f73625156e2aedab73faa93553
diff --git a/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch b/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
deleted file mode 100644
index 5f9d974f9..000000000
--- a/dev-libs/gbinder/files/gbinder-1.1.30-r3-respect-env.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/Makefile b/Makefile
-index e838b7e..4ce2039 100644
---- a/Makefile
-+++ b/Makefile
-@@ -136,20 +136,20 @@ FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) $(WARNINGS) $(INCLUDES) \
- -MMD -MP $(shell pkg-config --cflags $(PKGS))
- FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SONAME) \
- $(shell pkg-config --libs $(PKGS)) -lpthread
--DEBUG_FLAGS = -g
-+DEBUG_FLAGS =
- RELEASE_FLAGS =
--COVERAGE_FLAGS = -g
-+COVERAGE_FLAGS =
-
- KEEP_SYMBOLS ?= 0
- ifneq ($(KEEP_SYMBOLS),0)
--RELEASE_FLAGS += -g
-+#RELEASE_FLAGS += -g
- endif
-
- DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
- RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
--DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
--RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
--COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
-+DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS)
-+RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
-+COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS)
-
- #
- # Files
-@@ -275,7 +275,7 @@ $(DEBUG_SO): $(DEBUG_OBJS)
- $(RELEASE_SO): $(RELEASE_OBJS)
- $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
- ifeq ($(KEEP_SYMBOLS),0)
-- $(STRIP) $@
-+# $(STRIP) $@
- endif
-
- $(DEBUG_LIB): $(DEBUG_OBJS)
diff --git a/dev-libs/gbinder/files/gbinder-1.1.30-respect-env.patch b/dev-libs/gbinder/files/gbinder-1.1.30-respect-env.patch
deleted file mode 100644
index 62358758b..000000000
--- a/dev-libs/gbinder/files/gbinder-1.1.30-respect-env.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-diff --git a/Makefile b/Makefile
-index e838b7e..adb886f 100644
---- a/Makefile
-+++ b/Makefile
-@@ -140,15 +140,15 @@ DEBUG_FLAGS = -g
- RELEASE_FLAGS =
- COVERAGE_FLAGS = -g
-
--KEEP_SYMBOLS ?= 0
--ifneq ($(KEEP_SYMBOLS),0)
--RELEASE_FLAGS += -g
--endif
-+#KEEP_SYMBOLS ?= 0
-+#ifneq ($(KEEP_SYMBOLS),0)
-+#RELEASE_FLAGS += -g
-+#endif
-
- DEBUG_LDFLAGS = $(FULL_LDFLAGS) $(DEBUG_LIBS) $(DEBUG_FLAGS)
- RELEASE_LDFLAGS = $(FULL_LDFLAGS) $(RELEASE_LIBS) $(RELEASE_FLAGS)
- DEBUG_CFLAGS = $(FULL_CFLAGS) $(DEBUG_FLAGS) -DDEBUG
--RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS) -O2
-+RELEASE_CFLAGS = $(FULL_CFLAGS) $(RELEASE_FLAGS)
- COVERAGE_CFLAGS = $(FULL_CFLAGS) $(COVERAGE_FLAGS) --coverage
-
- #
-@@ -274,17 +274,17 @@ $(DEBUG_SO): $(DEBUG_OBJS)
-
- $(RELEASE_SO): $(RELEASE_OBJS)
- $(LD) $(RELEASE_OBJS) $(RELEASE_LDFLAGS) -o $@
--ifeq ($(KEEP_SYMBOLS),0)
-- $(STRIP) $@
--endif
-+#ifeq ($(KEEP_SYMBOLS),0)
-+# $(STRIP) $@
-+#endif
-
- $(DEBUG_LIB): $(DEBUG_OBJS)
- $(AR) rc $@ $?
- ranlib $@
-
--$(RELEASE_LIB): $(RELEASE_OBJS)
-- $(AR) rc $@ $?
-- ranlib $@
-+$(RELEASE_LIB): $(RELEASE_OBJS)
-+ $(AR) rc $@ $?
-+ ranlib $@
-
- $(DEBUG_LINK):
- ln -sf $(LIB_SO) $@
diff --git a/dev-libs/gbinder/files/gbinder-1.1.42-C23-compat.patch b/dev-libs/gbinder/files/gbinder-1.1.42-C23-compat.patch
new file mode 100644
index 000000000..8da1e882e
--- /dev/null
+++ b/dev-libs/gbinder/files/gbinder-1.1.42-C23-compat.patch
@@ -0,0 +1,24 @@
+From 46d9899f5a512d0e9b851cb55b06a27fc2b7a638 Mon Sep 17 00:00:00 2001
+From: Takuya Wakazono <pastalian46@gmail.com>
+Date: Wed, 1 Jan 2025 21:03:48 +0900
+Subject: [PATCH] Explicitly declare function parameters for C23 compatibility
+
+In C23, void foo() is equivalent to void foo(void). Therefore, functions
+must explicitly declare their parameters.
+---
+ src/gbinder_writer.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gbinder_writer.c b/src/gbinder_writer.c
+index 1e93700..7308818 100644
+--- a/src/gbinder_writer.c
++++ b/src/gbinder_writer.c
+@@ -1324,7 +1324,7 @@ gbinder_writer_alloc(
+ GBinderWriter* self,
+ gsize size,
+ gpointer (*alloc)(gsize),
+- void (*dealloc)())
++ void (*dealloc)(gpointer))
+ {
+ GBinderWriterData* data = gbinder_writer_data(self);
+
diff --git a/dev-libs/gbinder/gbinder-1.1.41.ebuild b/dev-libs/gbinder/gbinder-1.1.42.ebuild
similarity index 95%
rename from dev-libs/gbinder/gbinder-1.1.41.ebuild
rename to dev-libs/gbinder/gbinder-1.1.42.ebuild
index 45bba5264..0c032fae7 100644
--- a/dev-libs/gbinder/gbinder-1.1.41.ebuild
+++ b/dev-libs/gbinder/gbinder-1.1.42.ebuild
@@ -31,6 +31,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/gbinder-1.1.36-respect-env.patch"
+ "${FILESDIR}/gbinder-1.1.42-C23-compat.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-11 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-11 12:52 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/gbinder/files/, dev-libs/gbinder/ Denis Reva
-- strict thread matches above, loose matches on Subject: below --
2022-12-21 14:21 Denis Reva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox