mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
net/librdkafka: update to 2.2.0
Update patches, to re-enable atomic operations in 64bit
This commit is contained in:
parent
6895005e7d
commit
3cbdb6722c
@ -1,5 +1,5 @@
|
||||
PORTNAME= librdkafka
|
||||
DISTVERSION= 2.0.2
|
||||
DISTVERSION= 2.2.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1675359576
|
||||
SHA256 (edenhill-librdkafka-v2.0.2_GH0.tar.gz) = f321bcb1e015a34114c83cf1aa7b99ee260236aab096b85c003170c90a47ca9d
|
||||
SIZE (edenhill-librdkafka-v2.0.2_GH0.tar.gz) = 4257782
|
||||
TIMESTAMP = 1690132543
|
||||
SHA256 (edenhill-librdkafka-v2.2.0_GH0.tar.gz) = af9a820cbecbc64115629471df7c7cecd40403b6c34bfdbb9223152677a47226
|
||||
SIZE (edenhill-librdkafka-v2.2.0_GH0.tar.gz) = 4340164
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- mklove/modules/configure.atomics.orig 2018-07-23 09:49:13 UTC
|
||||
+++ mklove/modules/configure.atomics
|
||||
@@ -93,7 +93,7 @@ int32_t foo (int32_t i) {
|
||||
if ! mkl_compile_check __atomic_64 HAVE_ATOMICS_64 cont CC "" \
|
||||
"
|
||||
#include <inttypes.h>
|
||||
-int64_t foo (int64_t i) {
|
||||
+int64_t foo (int64_t i) __attribute__((noinline)) {
|
||||
return __atomic_add_fetch(&i, 1, __ATOMIC_SEQ_CST);
|
||||
}"
|
||||
then
|
||||
@@ -102,7 +102,7 @@ int64_t foo (int64_t i) {
|
||||
cont CC "" \
|
||||
"
|
||||
#include <inttypes.h>
|
||||
-int64_t foo (int64_t i) {
|
||||
+int64_t foo (int64_t i) __attribute__((noinline)) {
|
||||
return __atomic_add_fetch(&i, 1, __ATOMIC_SEQ_CST);
|
||||
}"
|
||||
then
|
@ -1,8 +1,8 @@
|
||||
--- src/rd.h.orig 2017-01-25 12:25:17 UTC
|
||||
--- src/rd.h.orig 2023-07-12 09:03:32 UTC
|
||||
+++ src/rd.h
|
||||
@@ -38,6 +38,12 @@
|
||||
@@ -43,6 +43,12 @@
|
||||
#ifndef _POSIX_C_SOURCE
|
||||
#define _POSIX_C_SOURCE 200809L /* for timespec on solaris */
|
||||
#define _POSIX_C_SOURCE 200809L /* for timespec on solaris */
|
||||
#endif
|
||||
+#ifndef __XSI_VISIBLE
|
||||
+#define __XSI_VISIBLE 700 /* for gettimeofday() */
|
||||
|
Loading…
x
Reference in New Issue
Block a user