From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alexander Kuleshov Newsgroups: gmane.emacs.bugs Subject: bug#27615: [PATCH] define internal_border_parts array only if HAVE_WINDOW_SYSTEM enabled Date: Sat, 8 Jul 2017 16:47:41 +0600 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a113cacbc807d3b0553cc151c" X-Trace: blaine.gmane.org 1499510955 4718 195.159.176.226 (8 Jul 2017 10:49:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2017 10:49:15 +0000 (UTC) To: 27615@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 08 12:49:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTnIT-0000oP-Ba for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Jul 2017 12:49:09 +0200 Original-Received: from localhost ([::1]:60581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTnIW-0003cV-Bx for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Jul 2017 06:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTnIN-0003cE-AO for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:49:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTnIM-0000Zi-9y for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:49:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54658) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTnIM-0000Ze-6A for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dTnIM-0007wE-14 for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alexander Kuleshov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Jul 2017 10:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149951089330457 (code B ref -1); Sat, 08 Jul 2017 10:49:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jul 2017 10:48:13 +0000 Original-Received: from localhost ([127.0.0.1]:57335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTnHZ-0007vB-Gb for submit@debbugs.gnu.org; Sat, 08 Jul 2017 06:48:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dTnHY-0007v0-Hz for submit@debbugs.gnu.org; Sat, 08 Jul 2017 06:48:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTnHS-0000Ka-FY for submit@debbugs.gnu.org; Sat, 08 Jul 2017 06:48:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42859) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dTnHS-0000KU-BP for submit@debbugs.gnu.org; Sat, 08 Jul 2017 06:48:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTnHR-0003PU-60 for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:48:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTnHQ-0000Jy-H7 for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:48:05 -0400 Original-Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:35529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTnHQ-0000Jc-9Q for bug-gnu-emacs@gnu.org; Sat, 08 Jul 2017 06:48:04 -0400 Original-Received: by mail-lf0-x232.google.com with SMTP id b207so36933559lfg.2 for ; Sat, 08 Jul 2017 03:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zctXj1HRpCmMdrSy9Q3Sasl/j/oReATj2E/fvfAQnqE=; b=i3CDo+qYhF3qmZlZhR030oVrmrlMpLRTUZuaqBdJQ/umK5mY1nKyvT5z4S5PEM8L+c IT4Ovm9jo2OsDOYb+OA7cSknkbJbEccUuDqiYp6MbkRbsDjiZVKNw1cphvjZscAr3mwO tEbaW0hnOdUp3JMoQIzT7fPb2H630j9/20QG4YURxBpJB0XgVISI8W7zJ3hQ+yZbOC/x 4oOxvjZcOvaEXQUeTTISrMFyQvDmBmpdwssnJsvExKTO0SqN3KUeO+7MQyhSJWHIZUCc 9oBuIcbWIK5znU06k+OmSj+Ic3fMcJRajG+LaeHJHYCW/edxFm/vP9TbXxUDRa+p8b+w akcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zctXj1HRpCmMdrSy9Q3Sasl/j/oReATj2E/fvfAQnqE=; b=kW2lFD+x7YvqzVMrt1Jlv8iJYqW/KlS2OIXXfYQ84bzkp7nuPxIKLlFgmrhrplYyuQ LurjjT6D36Cs0288OgqdiZQgfwb1cSKcr0aCgI/Lipqicj8yJSjeuwomzRT5llFlSxt+ Zm8RJBtVtCEYowy/GduhXYV2zdrQ3ZwZ1p73lQ1ytnKSt/JAV888jSdyWFZbavVi9g7w j1hS5fEo/3fC5PjSa0+CA3YSkgsA+n4qcdFr+B4K4fFKEiVEOO3Du5jfqKZmlFtYHZgp Gs1J1TVC2i2KyUBK7eVTz4FuIMn0S43XhTfpIbp8oICpOUJi0gwIg4httZNeJ+UfTmpb WExA== X-Gm-Message-State: AIVw113SC/RNprM/S1JzN3VOhhpf+dlrRh6Bmpi45UWqFPwXYKRmUxfe VpXCOV9FZaSZ0cx5vnAUex6t5GJ6yMw6 X-Received: by 10.46.82.208 with SMTP id n77mr1815578lje.93.1499510882718; Sat, 08 Jul 2017 03:48:02 -0700 (PDT) Original-Received: by 10.25.27.131 with HTTP; Sat, 8 Jul 2017 03:47:41 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134330 Archived-At: --001a113cacbc807d3b0553cc151c Content-Type: text/plain; charset="UTF-8" Hello, the internal_border_parts[] array is used only in a case when HAVE_WINDOW_SYSTEM is enabled. Here is attached a patch that defines this array only for this case. Thank you. --001a113cacbc807d3b0553cc151c Content-Type: text/x-patch; charset="US-ASCII"; name="0001-define-internal_border_parts-array-only-if-HAVE_WIND.patch" Content-Disposition: attachment; filename="0001-define-internal_border_parts-array-only-if-HAVE_WIND.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j4v60ir70 RnJvbSAzY2VlMDgyNDBjYjM3NzllNWU5MzU2MmQ0OThkZGI5ZWFmMDk3NjYyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4YW5kZXIgS3VsZXNob3YgPGt1bGVzaG92bWFpbEBnbWFp bC5jb20+CkRhdGU6IFNhdCwgOCBKdWwgMjAxNyAxNjozODoxMSArMDYwMApTdWJqZWN0OiBbUEFU Q0hdIGRlZmluZSBpbnRlcm5hbF9ib3JkZXJfcGFydHMgYXJyYXkgb25seSBpZiBIQVZFX1dJTkRP V19TWVNURU0KIGVuYWJsZWQKCiAgKiBzcmMva2V5Ym9hcmQuYzogKGludGVybmFsX2JvcmRlcl9w YXJ0cyk6IGRlZmluZSB0aGlzIG9uZSBvbmx5IGluCmEgY2FzZSB3aGVuIEhBVkVfV0lORE9XX1NZ U1RFTSBpcyBlbmFibGVkLgotLS0KIHNyYy9rZXlib2FyZC5jIHwgMiArKwogMSBmaWxlIGNoYW5n ZWQsIDIgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL3NyYy9rZXlib2FyZC5jIGIvc3JjL2tl eWJvYXJkLmMKaW5kZXggOWU5MDg5OS4uODA0YWY4NSAxMDA2NDQKLS0tIGEvc3JjL2tleWJvYXJk LmMKKysrIGIvc3JjL2tleWJvYXJkLmMKQEAgLTUxMjcsNiArNTEyNyw3IEBAIHN0YXRpYyBzaG9y dCBjb25zdCBzY3JvbGxfYmFyX3BhcnRzW10gPSB7CiAgIFNZTUJPTF9JTkRFWCAoUXJpZ2h0bW9z dCksIFNZTUJPTF9JTkRFWCAoUWVuZF9zY3JvbGwpLCBTWU1CT0xfSU5ERVggKFFyYXRpbykKIH07 CiAK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