all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David PONCE <david.ponce@wanadoo.fr>
Subject: A fix to build Emacs with latest CVS sources
Date: Thu, 11 Mar 2004 11:59:44 +0100 (CET)	[thread overview]
Message-ID: <10830309.1079002784052.JavaMail.www@wwinf0801> (raw)

Hi All,

It looks that Kim's recent change to merge image support is missing
something, and breaks Emacs build.

FYI, here is the patch I had to apply to fix the issue.

Sincerely,
David

Index: src/Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/src/Makefile.in,v
retrieving revision 1.292
diff -c -r1.292 Makefile.in
*** src/Makefile.in	11 Mar 2004 00:29:25 -0000	1.292
--- src/Makefile.in	11 Mar 2004 10:50:11 -0000
***************
*** 310,318 ****
  /* Include xmenu.o in the list of X object files.  */
  
  #ifdef USE_GTK
! XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o gtkutil.o fringe.o
  #else
! XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o
  #endif
  
  /* The X Menu stuff is present in the X10 distribution, but missing
--- 310,318 ----
  /* Include xmenu.o in the list of X object files.  */
  
  #ifdef USE_GTK
! XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o gtkutil.o fringe.o image.o
  #else
! XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o
  #endif
  
  /* The X Menu stuff is present in the X10 distribution, but missing
Index: src/dispextern.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/dispextern.h,v
retrieving revision 1.166
diff -c -r1.166 dispextern.h
*** src/dispextern.h	11 Mar 2004 00:29:12 -0000	1.166
--- src/dispextern.h	11 Mar 2004 10:50:11 -0000
***************
*** 2609,2614 ****
--- 2609,2615 ----
  #endif
  extern void x_destroy_all_bitmaps P_ ((Display_Info *));
  extern int x_create_bitmap_mask P_ ((struct frame * , int));
+ extern Lisp_Object x_find_image_file P_ ((Lisp_Object));
  
  /* Defined in sysdep.c */
  
Index: src/image.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/image.c,v
retrieving revision 1.3
diff -c -r1.3 image.c
*** src/image.c	11 Mar 2004 05:56:41 -0000	1.3
--- src/image.c	11 Mar 2004 10:50:11 -0000
***************
*** 2005,2011 ****
  			      File Handling
   ***********************************************************************/
  
- static Lisp_Object x_find_image_file P_ ((Lisp_Object));
  static unsigned char *slurp_file P_ ((char *, int *));
  
  
--- 2005,2010 ----
***************
*** 2013,2019 ****
     x-bitmap-file-path.  Value is the full name of the file found, or
     nil if not found.  */
  
! static Lisp_Object
  x_find_image_file (file)
       Lisp_Object file;
  {
--- 2012,2018 ----
     x-bitmap-file-path.  Value is the full name of the file found, or
     nil if not found.  */
  
! Lisp_Object
  x_find_image_file (file)
       Lisp_Object file;
  {
Index: src/xfns.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xfns.c,v
retrieving revision 1.607
diff -c -r1.607 xfns.c
*** src/xfns.c	11 Mar 2004 00:25:38 -0000	1.607
--- src/xfns.c	11 Mar 2004 10:50:13 -0000
***************
*** 761,768 ****
  
  #ifdef USE_GTK
  
- static Lisp_Object x_find_image_file P_ ((Lisp_Object file));
- 
  /* Set icon from FILE for frame F.  By using GTK functions the icon
     may be any format that GdkPixbuf knows about, i.e. not just bitmaps.  */
  
--- 761,766 ----

             reply	other threads:[~2004-03-11 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-11 10:59 David PONCE [this message]
2004-03-14  1:33 ` A fix to build Emacs with latest CVS sources Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10830309.1079002784052.JavaMail.www@wwinf0801 \
    --to=david.ponce@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.