From nobody Fri Jan 21 15:05:59 2022 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 BE3CF1967DCF; Fri, 21 Jan 2022 15:05:59 +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 4JgN4754kFz4YLK; Fri, 21 Jan 2022 15:05:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642777559; 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=BKjLepxrKFzK1mt6JUdIk4TqXaq6bOjJoTSfxc5f3uk=; b=b2egB88hVhVizP+ut4mq6+KlGvnkOUCAYMH6X0y6wdhKNHQ5HTsiU68Xk5kSlCLA+z4UDF V/MjSnbC/nNT6m6vebSJJd9a2MKnln/1v71uh9gbjdm4NceY++Fo3byW87zE6PIXW5fwUA eI+RM7KFk3htrGG4F+XdWGoJxOz6uYN/bd3dNlBnvgsCxjysENR+8lN+GXrqvI5VBEWMMv LPW6AJsohsb5YrFNpD3RWX1Y8HYaPEmzFnSyL24ip+jOYMpR8znjKkqe48K+PHGmcPVnY/ hitmqEyKEie8UJsAJBoODImjlzTvOjQdug0ZsHP/2s1IMp1thFbgNa67/HfFsA== 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 8E0BC1DF8F; Fri, 21 Jan 2022 15:05:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20LF5xdc015641; Fri, 21 Jan 2022 15:05:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20LF5xBJ015640; Fri, 21 Jan 2022 15:05:59 GMT (envelope-from git) Date: Fri, 21 Jan 2022 15:05:59 GMT Message-Id: <202201211505.20LF5xBJ015640@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: c61a5657a0bb - main - sysutils/bareos-server: Fix build 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: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c61a5657a0bb0a38489d5e3d2d5e8b9c86daec63 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642777559; 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=BKjLepxrKFzK1mt6JUdIk4TqXaq6bOjJoTSfxc5f3uk=; b=TdnIPTN+f0oPLOtGgr5PaIKsK3yy4F0JPuFwRo1wXwvhA4vAhTWvvCGLaWJKlEd3u5Jg9n ul2nBornwXuynromWMOfDujo+MewMt+XOCp2oESW6F+aZxtd8Je+K4mRxIAUhI7BVwZYXb 2PmaBVX4DhTD8tUZez5ILHWf1jfV5QM61VAKloUSNLqvvYJZIHmds8DlZYh9ZCr+O+q5SZ xL5b7yub7Rx6jVGDdmqy81PkXKxBzRIf4MtjxqkXKCZgYikVkWylgzWRxoYMtTwa9iOntG 3+ZrAAmeYVx6YMUDQ8KKF4/0ZpcCjs95etkn/cST1afcpsxGxOZT7LaOk4liqA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642777559; a=rsa-sha256; cv=none; b=xpf5NtV5f5X/EnskXo3tsONxAexGRtaIG43tei1D6crTCzZsMA+WeUo6Cg/Gj4cq80r6bn F8zCoHNzyj0IF72AUNCdCR0qAn+pZ0M6Zzosc9zWiSexkmnR2OeIfwgkFVeQNDdUs2/h6P n3vnORM2fsHXBmKkUxD4bDgvColsP4xPZoWScE9d/pCWDDjJNbnz9uaPEn+7aM38zGpbkD 9PlR03fOBds0S0FE+6SicCB97xok9z9du/twUsQxK0U6ChmyjXUhp+T7BjjR541wK2zyOq j9hsoneC67migNt4xWNfbscipcsgo8+ue47tt61v2tenX4bejaRS+DL4pW6P8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c61a5657a0bb0a38489d5e3d2d5e8b9c86daec63 commit c61a5657a0bb0a38489d5e3d2d5e8b9c86daec63 Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-01-21 15:04:05 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2022-01-21 15:05:50 +0000 sysutils/bareos-server: Fix build PR: 261226 Reported by: Trond.Endrestol _at_ ximalas.info --- .../files/patch-core-src-dird_catreq.cc | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/sysutils/bareos-server/files/patch-core-src-dird_catreq.cc b/sysutils/bareos-server/files/patch-core-src-dird_catreq.cc new file mode 100644 index 000000000000..e16e259a9ffa --- /dev/null +++ b/sysutils/bareos-server/files/patch-core-src-dird_catreq.cc @@ -0,0 +1,29 @@ +--- core/src/dird/catreq.cc 2022-01-21 09:00:16.883799000 -0500 ++++ core/src/dird/catreq.cc 2022-01-21 09:02:08.619060000 -0500 +@@ -656,7 +656,7 @@ + bool retval = false; + int32_t pktsiz; + size_t nbytes; +- ssize_t size = 0; ++// ssize_t size = 0; + int32_t message_length; /* message length */ + int spool_fd = -1; + POOLMEM* msg = GetPoolMemory(PM_MESSAGE); +@@ -680,7 +680,7 @@ + + while ((nbytes = read(spool_fd, (char*)&pktsiz, sizeof(int32_t))) + == sizeof(int32_t)) { +- size += sizeof(int32_t); ++ //size += sizeof(int32_t); + message_length = ntohl(pktsiz); + + if (message_length > 0) { +@@ -697,7 +697,7 @@ + goto bail_out; + } + msg[nbytes] = '\0'; +- size += nbytes; ++ //size += nbytes; + } + + if (!jcr->IsJobCanceled()) {