From nobody Fri Aug 30 19:02:08 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 4WwSFD3HJXz5PWyg for ; Fri, 30 Aug 2024 19:02:08 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WwSFD2BLFz4Sht for ; Fri, 30 Aug 2024 19:02:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725044528; a=rsa-sha256; cv=none; b=N9O0YDFu5vlLJ/lH+1Ry98V1rZD9mZ67VNOnJwhH9Y/kND5jdyQJyCwLl1wBsZQwwSxjMY N6BAXVo45bIHisyPPPi4Nc6AOuu6L8OnoMXsgBWeGi05bL31pdaExQHG7BQrUdTT+U00DM f20rYkGEPv2QZw8alXMG21mWiRxRW3CDHETKE6g2Z4lA0I7Np7Y9krt92IDScqlo21H23o QAo4M8bOHZSqJ6seqtmrr883lfvsiE7DZrPolxZ2MFrzpN8Ps4rPv8Nyv3juuNJ6oJT0ZA I+M3hfqLmaf9AYaXl6AGNl7DbY45glp/6ir2R2ywd5smeuRkCrnjqlR8gKoGSw== 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=1725044528; 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=aVS5tGKgaVSWd9QJW8vpMHqVs6AatIGSl/Sd3HELegg=; b=cG9J//nTzu9TvRQUTy7Z/4zwpt+Nh+A1SFf7Sn2hrVrqmmVfmXM3uu5dqEZznoPoh77KWi v5hF1uMKTPgd2KkNDVtjXrxHQZCbxq/P66cN5Gg98XsudJ0bPcRu/sqGA5SPNfOkfpDDdN leBhdUaFWRt0/vmxfR535yriS/V9AlXTh9BHIIr+JCOoM48FOD9J4Sr/fn8Y9toUUHeZcQ JqzBu19d7z392Eh3GPUTO6R9zR7yJcFY8Z1ST5YgUAEGz1z5CjspVnlRCZQIeXu9i6JCHS mykGmqpYHefSSOU66E7c+K97BVzN9xeZt1fdRYKPOg8xAFceU6jrLjZvVFenSw== 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 4WwSFD1ns3z1C6y for ; Fri, 30 Aug 2024 19:02:08 +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 47UJ28vN004707 for ; Fri, 30 Aug 2024 19:02:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47UJ28JI004706 for ports-bugs@FreeBSD.org; Fri, 30 Aug 2024 19:02:08 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 281141] editors/le: fix build with recent libc++ headers Date: Fri, 30 Aug 2024 19:02:08 +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: zi@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 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281141 Bug ID: 281141 Summary: editors/le: fix build with recent libc++ headers Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: zi@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(zi@FreeBSD.org) Assignee: zi@FreeBSD.org As reported on the ports mailing lists, with recent libc++ headers on e.g. 15.0-CURRENT, 13.4 or 14.2, editors/le fails with errors similar to: /usr/include/c++/v1/ios:257:25: error: expected ')' 257 | static const fmtflags hex =3D 0x0008; | ^ ./edit.h:158:26: note: expanded from macro 'hex' 158 | #define hex (editmode=3D=3DHEXM) | ^ /usr/include/c++/v1/ios:257:25: note: to match this '(' ./edit.h:158:17: note: expanded from macro 'hex' 158 | #define hex (editmode=3D=3DHEXM) | ^ This is because edit.h defines a `hex` macro, and this clashes with std::hex from the libc++ headers. I am attaching a diff which uses post-patch to rename the `hex` macro to `is_hex`. --=20 You are receiving this mail because: You are the assignee for the bug.=