* [Buildroot] [PATCH 1/1] package/git-crypt: fix build with openssl 3.x
@ 2023-07-16 11:01 Bernd Kuhls
2023-07-18 20:40 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-07-16 11:01 UTC (permalink / raw)
To: buildroot
Fix was proposed upstream: https://github.com/AGWA/git-crypt/issues/290
Alpine Linux uses a similar fix:
https://git.alpinelinux.org/aports/commit/community/git-crypt/APKBUILD?id=25b42ad7711b08c63aaf3c24af80a4bcd7607817
Fixes:
http://autobuild.buildroot.net/results/dfb/dfb5da218bb323edc57cc609c2b75d5fbc6e1fd1/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/git-crypt/git-crypt.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/git-crypt/git-crypt.mk b/package/git-crypt/git-crypt.mk
index d562522485..82671b037b 100644
--- a/package/git-crypt/git-crypt.mk
+++ b/package/git-crypt/git-crypt.mk
@@ -15,7 +15,8 @@ GIT_CRYPT_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
define GIT_CRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
- CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" PREFIX=/usr
+ CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11 -DOPENSSL_API_COMPAT=0x30000000L" \
+ PREFIX=/usr
endef
define GIT_CRYPT_INSTALL_TARGET_CMDS
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/git-crypt: fix build with openssl 3.x
2023-07-16 11:01 [Buildroot] [PATCH 1/1] package/git-crypt: fix build with openssl 3.x Bernd Kuhls
@ 2023-07-18 20:40 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-18 20:40 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On Sun, 16 Jul 2023 13:01:24 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> Fix was proposed upstream: https://github.com/AGWA/git-crypt/issues/290
>
> Alpine Linux uses a similar fix:
> https://git.alpinelinux.org/aports/commit/community/git-crypt/APKBUILD?id=25b42ad7711b08c63aaf3c24af80a4bcd7607817
>
> Fixes:
> http://autobuild.buildroot.net/results/dfb/dfb5da218bb323edc57cc609c2b75d5fbc6e1fd1/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/git-crypt/git-crypt.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-18 20:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-16 11:01 [Buildroot] [PATCH 1/1] package/git-crypt: fix build with openssl 3.x Bernd Kuhls
2023-07-18 20:40 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.