git: 48ad0a5e8e82 - main - graphics/ruby-gd: fix build on FreeBSD-14

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 09 Mar 2023 14:32:06 UTC
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=48ad0a5e8e8293a9f07fa3a5ff5822d2843cd045

commit 48ad0a5e8e8293a9f07fa3a5ff5822d2843cd045
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2023-03-09 14:31:45 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2023-03-09 14:31:45 +0000

    graphics/ruby-gd: fix build on FreeBSD-14
---
 graphics/ruby-gd/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/graphics/ruby-gd/Makefile b/graphics/ruby-gd/Makefile
index 1f9e9bd04b69..3bcb2e8cf706 100644
--- a/graphics/ruby-gd/Makefile
+++ b/graphics/ruby-gd/Makefile
@@ -65,6 +65,7 @@ post-patch:
 post-configure:
 	${REINPLACE_CMD} -e 's|^V = 0|V = 1|' \
 		-e 's|^libdir = .*|libdir = ${PREFIX}/lib|' \
+		-e 's|-O2 |-O2 -Wno-int-conversion |' \
 		${WRKSRC}/Makefile
 
 post-install: