From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Makoto Fujiwara Newsgroups: gmane.emacs.devel Subject: giflib-5.1.0 (GIF image format library) API change Date: Sun, 15 Jun 2014 17:23:38 +0900 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1402822537 10157 80.91.229.3 (15 Jun 2014 08:55:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2014 08:55:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 15 10:55:31 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ww6Dq-0008Ch-UL for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2014 10:55:31 +0200 Original-Received: from localhost ([::1]:37993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ww6Dq-0008Hm-Ie for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2014 04:55:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ww6Dj-0008He-VA for emacs-devel@gnu.org; Sun, 15 Jun 2014 04:55:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ww6Di-0002Lv-7N for emacs-devel@gnu.org; Sun, 15 Jun 2014 04:55:23 -0400 Original-Received: from mail.ipv6.ki.nu ([2001:218:463:1::14]:59541 helo=mx.ki.nu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ww6Dh-0002LE-Th for emacs-devel@gnu.org; Sun, 15 Jun 2014 04:55:22 -0400 Original-Received: from modena.i.ki.nu.ki.nu (modena.ipv6.ki.nu [IPv6:2001:218:463:1::232]) by mx.ki.nu (8.14.5/8.14.2-Mail) with ESMTP id s5F8OY4R022537; Sun, 15 Jun 2014 17:24:35 +0900 (JST) User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.4.50 (x86_64--netbsd) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:218:463:1::14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172464 Archived-At: Hi, should be already fixed, I am presume, but I needed attached remedy to build, Thanks a lot, --- Makoto Fujiwara, Chiba, Japan, Narita Airport and Disneyland prefecture. $NetBSD$ mage.c:7417:7: error: too few arguments to function 'DGifCloseFile' emacs-current/work/.buildlink/include/gif_lib.h:183:9: note: declared here --- ./src/image.c.orig 2014-06-14 13:15:41.000000000 +0900 +++ ./src/image.c 2014-06-15 08:39:42.000000000 +0900 @@ -7409,13 +7409,13 @@ } #endif } - + int * return_value; /* Before reading entire contents, check the declared image size. */ if (!check_image_size (f, gif->SWidth, gif->SHeight)) { image_error ("Invalid image size (see `max-image-size')", Qnil, Qnil); - fn_DGifCloseFile (gif); - return 0; + fn_DGifCloseFile (gif, return_value); + return return_value; } /* Read entire contents. */ @@ -7423,8 +7423,8 @@ if (rc == GIF_ERROR || gif->ImageCount <= 0) { image_error ("Error reading `%s'", img->spec, Qnil); - fn_DGifCloseFile (gif); - return 0; + fn_DGifCloseFile (gif, return_value); + return return_value; } /* Which sub-image are we to display? */ @@ -7435,8 +7435,8 @@ { image_error ("Invalid image number `%s' in image `%s'", image_number, img->spec); - fn_DGifCloseFile (gif); - return 0; + fn_DGifCloseFile (gif, return_value); + return return_value; } } @@ -7453,8 +7453,8 @@ if (!check_image_size (f, width, height)) { image_error ("Invalid image size (see `max-image-size')", Qnil, Qnil); - fn_DGifCloseFile (gif); - return 0; + fn_DGifCloseFile (gif, return_value); + return return_value; } /* Check that the selected subimages fit. It's not clear whether @@ -7471,16 +7471,16 @@ && 0 <= subimg_left && subimg_left <= width - subimg_width)) { image_error ("Subimage does not fit in image", Qnil, Qnil); - fn_DGifCloseFile (gif); - return 0; + fn_DGifCloseFile (gif, return_value); + return return_value; } } /* Create the X image and pixmap. */ if (!image_create_x_image_and_pixmap (f, img, width, height, 0, &ximg, 0)) { - fn_DGifCloseFile (gif); - return 0; + fn_DGifCloseFile (gif, return_value); + return return_value; } /* Clear the part of the screen image not covered by the image. @@ -7650,7 +7650,7 @@ Fcons (make_number (gif->ImageCount), img->lisp_data)); - fn_DGifCloseFile (gif); + fn_DGifCloseFile (gif, return_value); /* Maybe fill in the background field while we have ximg handy. */ if (NILP (image_spec_value (img->spec, QCbackground, NULL)))