From nobody Wed Mar 27 18:59:35 2024 X-Original-To: ports-bugs@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 4V4bZJ3WtLz5BHxS for ; Wed, 27 Mar 2024 18:59:36 +0000 (UTC) (envelope-from bugzilla-noreply@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 4V4bZJ1mW2z4bgx for ; Wed, 27 Mar 2024 18:59:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711565976; a=rsa-sha256; cv=none; b=CnGl1J0fif5Wxim3H6PN8+VyQKc1KUyj67R9Moo1eoZ8hn61YAo2rcdkzLan48E+XeWnEx c2nPrVB3ZCrD9eHIzC5TOOKWWbeWbL4XHA7bw+TsxC/pBN2jr7Drp51YWVmMdveRQyXhWi XjCGIa8wnNqq/QHqRYxmlYvL+ku4+u7cupe4hHeYaEmWqI+3DtlEsSJzPHb8Fuw15IJFeP zA0zegKuvtPAOMuI9QxijNiJT4OvX/YzVLdkfZ3dWITo4F4sHKfyZgshlUsgEd+EF54xYu a3BAfQO3gX++fWTE6rhGPBPz9+u03vxH0unTylhSlx7Z2dLN6I7mCV16f2aSmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711565976; 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=Lu7FGrRKpmtONghIMQRz49kOGLXvdF+vDEIyMj0QBNE=; b=TfmFyt03TX3AiTGjSgPjpsXy9JsOyAFFOmQseWGFBwayCViOW55tTxcUe6e2uJmkO0tVVx QWZT6Zm3p17CgcBd+6+ECpNP2UOHbA9sM8UwbMVx50XD+d1AIl2jusWjY5lHgXSkTL+ebM ajhDYRmHcso0V0PRWBXQEb8rCXSpm77Papgr1uWPyv0Md/C0VrmjBVuJ+AgkmJvtgO/dA3 XKlepSUsBDPWakpR9dmHJOXg8fGdOPVGVO80v/Y71Iw9BTCeCJ86thThnLY4EJKNV+Ht6W X3ThcfKhykh9nf13WMvRnPD4FcW90wLqq1J2zTGLfX5+xVH2rBt/NWKfCO/8iw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4V4bZJ1GHFzwJc for ; Wed, 27 Mar 2024 18:59:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42RIxaZU017459 for ; Wed, 27 Mar 2024 18:59:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42RIxa62017458 for ports-bugs@FreeBSD.org; Wed, 27 Mar 2024 18:59:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 277995] devel/p4: fails to build after SHUT_RD and friend were changed to enum Date: Wed, 27 Mar 2024 18:59:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277995 Bug ID: 277995 Summary: devel/p4: fails to build after SHUT_RD and friend were changed to enum Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: antonfb@hesiod.org Flags: maintainer-feedback?(antonfb@hesiod.org) CC: antonfb@hesiod.org In https://cgit.freebsd.org/src/commit/?id=3Dc3276e02beab8, the SHUT_RD, SH= UT_WR and SHUT_RDWR constants were changed from #defines to enum values. This breaks devel/p4: net/nettcptransport.cc:821:16: error: use of undeclared identifier 'SD_SEND' 821 | shutdown( t, SD_SEND ); | ^ The code does: #if defined(SHUT_WR) // POSIX shutdown( t, SHUT_WR ); #else // Windows shutdown( t, SD_SEND ); #endif so it could be kludged around by #defining SHUT_WR, etc via CXXFLAGS. --=20 You are receiving this mail because: You are the assignee for the bug.=