From nobody Mon May 01 03:08:01 2023 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 4Q8p762l8Xz48fkg for ; Mon, 1 May 2023 03:08:02 +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 4Q8p760LG3z3Nhj for ; Mon, 1 May 2023 03:08:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682910482; 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=jl5bwNOhlwzSnrzO/Fs5XElnme/LER1RXDrttPk2DGg=; b=v91Nc1x2PtzlFF2vHEoWYicawucFuproiIWaDOU5RRRbnxNxq/oMTDx0eyJV5erSAJdnVU DSlYJdjg0a8XvZveH3ciTV1+FkWpjBjldbpJRhyg123ATzA2XO0ens545SdM3jgQBApx4Q YdPDyepkuPnSL4MWC9aSHyGWoGjMxxf1i6qOClpPLQ40eJsBDU/Rnrxg10Bu5YEUus6/T8 xtRkk/opjLX0s+2Tubv4xrApebfukZ9/IMXH6ISgBwM8ul0HsupdUIygiC+LLooo2Q71m6 4AKm7zf9VMOYuKhMZ0j7BbKlDjnE3xBDKhDjTr2790eHu0909D0HKf/4WEm7IQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682910482; a=rsa-sha256; cv=none; b=gN2v3pnqZYS9IISLnfnY0Dm/iTEGIDpRpThgqM6dWI7a/fyqiBplvs/uuqWJ1pORIY7O6E 6c5CvR2s5AF0NSgybR68z51jsvWYILCsFxPmS5RKCgKzGkVG1MLXWycyI78vILlZiSU2Ez a4DGnTJIzE1CsDOxx435yhzm9vpl42DO/IVtq3lQka0NeChfAUBV328WLxAqTSeWkPujFO MO3VD4cVBErIHlyfS7Hgm5SKkrvwbOszWvyFORbNQ6tSCoEJeeMnLkCZ7QwApfGVOFSXTu fdqOdXGwUnQwHXrqtE0oHfNsbJmaM47diy/mPnepT2yREtl+9pGXOUxDscnQGQ== 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 4Q8p756X40zplf for ; Mon, 1 May 2023 03:08:01 +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 341381O0099676 for ; Mon, 1 May 2023 03:08:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 341381ch099675 for ports-bugs@FreeBSD.org; Mon, 1 May 2023 03:08:01 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 271156] graphics/imlib2: Fix X11 dependency (third time) Date: Mon, 01 May 2023 03:08:01 +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 Only Me X-Bugzilla-Who: fsbruva@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271156 Bug ID: 271156 Summary: graphics/imlib2: Fix X11 dependency (third time) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fsbruva@yahoo.com Created attachment 241892 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241892&action= =3Dedit Patch to fix X11 dependency When imlib2 is built without support for X11, Imlib2.h #includes X11/Xlib.h conditionally, guarded by an #ifndef X_DISPLAY_MISSING =E2=80=93 X_DISPLAY_= MISSING, however, isn't set, causing Imlib2.h to unsuccessfully include the header. = This was previously addressed in bug #187147 by patching Imlib2.h, then again in= bug #224354. However, 44242130fc9df45a4ef5d96dbb6b1c75b6a14123 removed the REINPLACE_CMD.=20 When X11 is unset, imlib2 builds and installs correctly, but the Imlib2.h header has the same above described problem with X_DISPLAY_MISSING being undefined. This causes problems when building dependent ports, such as libc= aca. The error manifests during build. In file included from ../src/common-image.c:21: /usr/local/include/Imlib2.h:26:10: fatal error: 'X11/Xlib.h' file not found #include ^~~~~~~~~~~~ 1 error generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/graphics/libcaca/work/libcaca-0.99.beta19/examples *** Error code 1 This patch defines X_DISPLAY_MISSING within Imlib2.h when X11 is unset. --=20 You are receiving this mail because: You are the assignee for the bug.=