devel/libcdb: update to new snapshot
This commit is contained in:
parent
f8c0df5130
commit
89b5f90227
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547303
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libcdb
|
||||
PORTVERSION= g2019052401
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= g2020082801
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
@ -13,7 +12,7 @@ USES= compiler:c11 gmake libtool:build
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rmind
|
||||
GH_PROJECT= libcdb
|
||||
GH_TAGNAME= 1d3440d
|
||||
GH_TAGNAME= a187cec
|
||||
WRKSRC_SUBDIR= src
|
||||
USE_LDCONFIG= yes
|
||||
MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1558684530
|
||||
SHA256 (rmind-libcdb-g2019052401-1d3440d_GH0.tar.gz) = 0045b0a0a9c41bd5c8229c8385691a4ec31959943b86047f0ba759a2f0afe3a0
|
||||
SIZE (rmind-libcdb-g2019052401-1d3440d_GH0.tar.gz) = 15090
|
||||
TIMESTAMP = 1598650025
|
||||
SHA256 (rmind-libcdb-g2020082801-a187cec_GH0.tar.gz) = 8385f4d608385fb03191d7219d9d144f2b0d049ade332dff10ff36c46c3c50bf
|
||||
SIZE (rmind-libcdb-g2020082801-a187cec_GH0.tar.gz) = 15143
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- Makefile.orig 2018-06-11 23:57:47 UTC
|
||||
+++ Makefile
|
||||
@@ -4,8 +4,11 @@
|
||||
|
||||
PROJ= cdb
|
||||
|
||||
+UNAME:= $(shell uname)
|
||||
CFLAGS+= -std=c11 -O2 -g -Wall -Wextra -Werror
|
||||
+ifneq ($(UNAME), FreeBSD)
|
||||
CFLAGS+= -D_POSIX_C_SOURCE=200809L
|
||||
+endif
|
||||
CFLAGS+= -D_GNU_SOURCE -D_DEFAULT_SOURCE
|
||||
CFLAGS+= -I. -Wno-unused-parameter -D__RCSID\(x\)=
|
||||
|
@ -1,17 +0,0 @@
|
||||
--- bitops.h.orig 2018-06-11 23:57:47 UTC
|
||||
+++ bitops.h
|
||||
@@ -36,12 +36,14 @@
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
||||
+#ifndef __GNUC_PREREQ__
|
||||
#ifdef __GNUC__
|
||||
#define __GNUC_PREREQ__(x, y) \
|
||||
((__GNUC__ == (x) && __GNUC_MINOR__ >= (y)) || \
|
||||
(__GNUC__ > (x)))
|
||||
#else
|
||||
#define __GNUC_PREREQ__(x, y) 0
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#ifndef __unused
|
@ -1,21 +0,0 @@
|
||||
--- cdb_impl.h.orig 2018-06-11 23:57:47 UTC
|
||||
+++ cdb_impl.h
|
||||
@@ -5,7 +5,7 @@
|
||||
#ifndef _CDB_IMPL_H
|
||||
#define _CDB_IMPL_H
|
||||
|
||||
-#ifndef __NetBSD__
|
||||
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
|
||||
#define __predict_false(exp) __builtin_expect((exp) != 0, 0)
|
||||
|
||||
@@ -27,6 +27,9 @@ le32enc(void *buf, uint32_t u)
|
||||
p[2] = (u >> 16) & 0xff;
|
||||
p[3] = (u >> 24) & 0xff;
|
||||
}
|
||||
+#endif
|
||||
+
|
||||
+#if !defined(__NetBSD__)
|
||||
|
||||
void mi_vector_hash(const void * __restrict, size_t, uint32_t, uint32_t[3]);
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- cdbr.c.orig 2019-05-24 08:03:40 UTC
|
||||
+++ cdbr.c
|
||||
@@ -52,7 +52,7 @@ __RCSID("$NetBSD: cdbr.c,v 1.1 2013/12/11 01:24:08 joe
|
||||
#endif
|
||||
#endif
|
||||
#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
|
||||
-#ifdef __NetBSD__
|
||||
+#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <sys/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
@ -1,11 +0,0 @@
|
||||
--- cdbw.c.orig 2019-05-24 08:14:32 UTC
|
||||
+++ cdbw.c
|
||||
@@ -43,7 +43,7 @@ __RCSID("$NetBSD: cdbw.c,v 1.5 2012/07/21 22:49:37 joe
|
||||
#endif
|
||||
|
||||
#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
|
||||
-#ifdef __NetBSD__
|
||||
+#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <sys/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
@ -1,11 +0,0 @@
|
||||
--- mi_vector_hash.c.orig 2019-05-24 08:15:13 UTC
|
||||
+++ mi_vector_hash.c
|
||||
@@ -46,7 +46,7 @@
|
||||
__RCSID("$NetBSD: mi_vector_hash.c,v 1.1 2013/12/11 01:24:08 joerg Exp $");
|
||||
|
||||
#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
|
||||
-#ifdef __NetBSD__
|
||||
+#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
#include <sys/endian.h>
|
||||
#else
|
||||
#include <endian.h>
|
Loading…
Reference in New Issue
Block a user