Subject: bug#71675: closed (Re: bug#71675: [PATCH] missing declaration for image_cache_refcount)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 20 Jun 2024 14:17:02 +0000

Your bug report

#71675: [PATCH] missing declaration for image_cache_refcount

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
71675: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71675
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#71675: [PATCH] missing declaration for image_cache_refcount
From: Po Lu <[email-masked]>
To: Pankaj Jangid <[email-masked]>
Cc: [email-masked]
Date: Thu, 20 Jun 2024 22:16:12 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Pankaj Jangid <[email-masked]> writes:

> Tags: patch
>
> Build was failing on macos. Perhaps this declaration was accidently
> deleted in a previous commit.

No, it was rendered redundant by the deletion of some hideous code,
but the NS port was not properly adjusted for the same, which was
corrected some 30 minutes ago.  Closing, thanks.

Subject: [PATCH] missing declaration for image_cache_refcount
From: Pankaj Jangid <[email-masked]>
To: [email-masked]
Date: Thu, 20 Jun 2024 19:17:18 +0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

Build was failing on macos. Perhaps this declaration was accidently
deleted in a previous commit.

In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin23.5.0, NS
 appkit-2487.60 Version 14.5 (Build 23F79)) of 2024-06-20 built on
 Pankajs-MacBook-Pro.local
Repository revision: 41cbfead7e2bce2f563e37a9a737a00a7b86e7f1
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.5

>From f823075ef4b05fa701c570885416fc7d1f628520 Mon Sep 17 00:00:00 2001
From: Pankaj Jangid <[email-masked]>
Date: Thu, 20 Jun 2024 19:12:29 +0700
Subject: [PATCH] missing declaration for image_cache_refcount

	* (src/nsfns.m): perhaps this was accidently deleted in a
	previous commit
---
 src/nsfns.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nsfns.m b/src/nsfns.m
index d9c1296056c..e2c000791d0 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -86,7 +86,7 @@ Updated by Christian Limpach ([email-masked])
 /* Static variables to handle AppleScript execution.  */
 static Lisp_Object as_script, *as_result;
 static int as_status;
-
+static ptrdiff_t image_cache_refcount;
 static struct ns_display_info *ns_display_info_for_name (Lisp_Object);
 
 /* ==========================================================================
-- 
2.45.2