From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Makoto Fujiwara Newsgroups: gmane.emacs.bugs Subject: bug#17790: build failure with giflib-5.1.0 Date: Sun, 15 Jun 2014 17:23:38 +0900 Message-ID: <0l38f56c2h.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1402871480 20994 80.91.229.3 (15 Jun 2014 22:31:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2014 22:31:20 +0000 (UTC) To: 17790@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 16 00:31:13 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WwIx9-0004b3-Fc for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Jun 2014 00:31:07 +0200 Original-Received: from localhost ([::1]:40084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwIx9-0003K1-13 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Jun 2014 18:31:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwIx5-0003Jw-Ra for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:31:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwIx4-00025x-TN for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:31:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwIx4-00025r-QK for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WwIx4-00045x-In for bug-gnu-emacs@gnu.org; Sun, 15 Jun 2014 18:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Makoto Fujiwara Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Jun 2014 22:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17790 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140287140415601 (code B ref -1); Sun, 15 Jun 2014 22:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Jun 2014 22:30:04 +0000 Original-Received: from localhost ([127.0.0.1]:48549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwIw5-000432-BW for submit@debbugs.gnu.org; Sun, 15 Jun 2014 18:30:03 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:39567 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WwIw3-00042s-I2 for submit@debbugs.gnu.org; Sun, 15 Jun 2014 18:30:00 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WwIw3-00030a-1j for submit@debbugs.gnu.org; Sun, 15 Jun 2014 18:29:59 -0400 Original-Lines: 98 FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 Emacs/24.4.50 (x86_64--netbsd) MULE/6.0 (HANACHIRUSATO) X-From-Line: emacs-devel-bounces+rgm=gnu.org@gnu.org Sun Jun 15 04:55:50 2014 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56720) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Ww6EA-0005B3-1W for rgm@gnu.org; Sun, 15 Jun 2014 04:55:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ww6E9-0002Rj-3l for rgm@gnu.org; Sun, 15 Jun 2014 04:55:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ww6E9-0002Ra-0m for rgm@gnu.org; Sun, 15 Jun 2014 04:55:49 -0400 Original-Received: from localhost ([::1]:37993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ww6E8-0008Hm-Vd for rgm@gnu.org; Sun, 15 Jun 2014 04:55:48 -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) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90411 Archived-At: Package: emacs Severity: important 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)))