public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/gbinder/, dev-libs/gbinder/files/
Date: Sat, 11 Jan 2025 14:36:02 +0000 (UTC)	[thread overview]
Message-ID: <1736599918.79713fd5fb94135acd5f95922c95134e890c7238.julien@gentoo> (raw)

commit:     79713fd5fb94135acd5f95922c95134e890c7238
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sat Jan 11 12:51:47 2025 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
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() {


             reply	other threads:[~2025-01-11 14:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-11 14:36 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-19 22:00 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/gbinder/, dev-libs/gbinder/files/ Julien Roy
2022-12-20 17:23 Haelwenn Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1736599918.79713fd5fb94135acd5f95922c95134e890c7238.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox