From nobody Mon Jul 24 09:20:02 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R8ZPZ42Cxz4nr3c; Mon, 24 Jul 2023 09:20:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R8ZPZ3bMPz4N5v; Mon, 24 Jul 2023 09:20:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690190402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yct7WJrSoKH0oFH2hPmQ8vme3mC5A9y3Z1sRSTZ/6uw=; b=ZHm1jb9IvoM2NXm5mnOGxnqe3UuZx22WqDtdRtLMlBFGCfhB74XTOEND+CA8gaDVMBQNRv wZ8gq5GfPjlNACKp/EyIP99IdoboxynzQYf5JhsJVqwrFQpRChBYtdVebCJ+ry7dvSn+YT OY3DwVXrHvxnwSioljus/wWk2uJtiDz4y/T3gGqCJM/qDwMfTY24wbGPHVBSzoPF4/3g8r zPprLBa3LKmL2SmlA8MpA22KnE94wUyie+7SzDxVdTVVABAMYv8+HuO8WvVbwmddkla/QJ Yaz6a3xPElNvc0kcvdz40g1fGvVd6Yslnd70uz6CmGsThRUNLHWOaF/O0Damzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690190402; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yct7WJrSoKH0oFH2hPmQ8vme3mC5A9y3Z1sRSTZ/6uw=; b=eWTwPen4jV/lFEMnR0oagZGaHk3hrDaE9pya9g8oasEkEgakB+0Yhv/m+19NvPEdiVAz4n aUs93xevx9GVlEofsoM6ul0idABTTXNCnSUX4YE8fvC/iktjyRaXsAkjA1Wkkqnn/d4E8t xHo6r4VPI0jIeQebfxHCy4uzTBfToEvCnTyZt2FGHNXqlk42BQbTjyxdjSdr7lpsq41Ogh 1T8Q76FIqExmJA2mB6q/E07Qy9rTGv/UstkpbbXE341oUpQZ8faqegydO9EZKeCY1q7S9A y6nwP6TZ+Jqk435OT0AK0jgxNxIQ4RStb0hYL87sefxDJ9ZIAIEar1mEioQOcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690190402; a=rsa-sha256; cv=none; b=fdLJNE84aosFbsBRMigkTit3fKKiZXLVuY6Il23KVhyoNKLM1+G49FsnWbbWHBhFe3YIgw jYaMppI2Memoc3Bu9KOcrLY8jIZxyhkj+ip+ydmIJ1Mo5vds1267DC98fFHjPKsFagGQG9 6JYuRgHKP0vKrIunpGPCAkyoPtlRzE3EUq/jUSXoqhycCboUw8FadehlfAuavRknL4YPRs xjb4Bmow24ckiPeIsmLG0QwNlKhXLA4xtk84xE0VX5DZiQ7wjfFiGcwuxLCZebw65C7BIG znEvcgz0yXY/cHQQpTzfdZLaBXLsqsQPi2e80//1DWkVzTxWyNt3pbH5Z24UPA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R8ZPZ2YL6z1BF2; Mon, 24 Jul 2023 09:20:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36O9K2VZ037419; Mon, 24 Jul 2023 09:20:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36O9K2NM037416; Mon, 24 Jul 2023 09:20:02 GMT (envelope-from git) Date: Mon, 24 Jul 2023 09:20:02 GMT Message-Id: <202307240920.36O9K2NM037416@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: da6a0d2507cf - main - net/tinyldap: fix build on 32bit List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: da6a0d2507cf21f0497f3f85a8c67a1cd5391450 Auto-Submitted: auto-generated The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=da6a0d2507cf21f0497f3f85a8c67a1cd5391450 commit da6a0d2507cf21f0497f3f85a8c67a1cd5391450 Author: Dirk Meyer AuthorDate: 2023-07-24 09:19:51 +0000 Commit: Dirk Meyer CommitDate: 2023-07-24 09:19:51 +0000 net/tinyldap: fix build on 32bit --- net/tinyldap/Makefile | 1 + net/tinyldap/files/patch-ldap_match_sre.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/net/tinyldap/Makefile b/net/tinyldap/Makefile index b85444dca50e..21083f1bea39 100644 --- a/net/tinyldap/Makefile +++ b/net/tinyldap/Makefile @@ -1,5 +1,6 @@ PORTNAME= tinyldap PORTVERSION= 0.0.${SNAPSHOT} +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.dinoex.de/pub/tinyldap/ DISTNAME= ${PORTNAME}-${SNAPSHOT} diff --git a/net/tinyldap/files/patch-ldap_match_sre.c b/net/tinyldap/files/patch-ldap_match_sre.c new file mode 100644 index 000000000000..f6074d4c545b --- /dev/null +++ b/net/tinyldap/files/patch-ldap_match_sre.c @@ -0,0 +1,11 @@ +--- ldap_match_sre.c.orig 2007-06-28 22:17:33 UTC ++++ ldap_match_sre.c +@@ -45,7 +45,7 @@ static int ldap_match_present_sre(struct SearchResultE + } + + static int substrmatch(struct Substring* x,struct string* s,int ignorecase) { +- int (*diff)(const void* a, unsigned long len, const void* b); ++ int (*diff)(const void* a, size_t len, const void* b); + if (ignorecase) + diff=case_diffb; + else