ports/devel/rubygem-concurrent-ruby-ext/Makefile
Po-Chuan Hsieh ec4c6e9a74
devel/rubygem-concurrent-ruby-ext: Fix build with Clang 15 and remove the workaround
atomic_reference.c:108:53: error: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion]
  if (__sync_bool_compare_and_swap(&DATA_PTR(self), expect_value, new_value)) {
                                                    ^~~~~~~~~~~~
atomic_reference.c:108:67: error: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion]
  if (__sync_bool_compare_and_swap(&DATA_PTR(self), expect_value, new_value)) {
                                                                  ^~~~~~~~~
2 errors generated.
2023-06-30 15:07:05 +08:00

17 lines
426 B
Makefile

PORTNAME= concurrent-ruby-ext
PORTVERSION= 1.2.2
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= C extensions to optimize the concurrent-ruby
WWW= https://github.com/ruby-concurrency/concurrent-ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= rubygem-concurrent-ruby>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-concurrent-ruby
USES= gem
.include <bsd.port.mk>