From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Please install and ack Date: Tue, 11 Sep 2007 16:31:51 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1189543127 29838 80.91.229.12 (11 Sep 2007 20:38:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 20:38:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 22:38:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVCVN-0001tV-BK for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 22:38:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVCVN-0006td-1j for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 16:38:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IVCPB-0003gH-I0 for emacs-devel@gnu.org; Tue, 11 Sep 2007 16:32:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IVCPA-0003ft-Nv for emacs-devel@gnu.org; Tue, 11 Sep 2007 16:32:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IVCPA-0003fl-EV for emacs-devel@gnu.org; Tue, 11 Sep 2007 16:32:16 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IVCPA-0005cz-6O for emacs-devel@gnu.org; Tue, 11 Sep 2007 16:32:16 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IVCOl-0000qc-F6; Tue, 11 Sep 2007 16:31:51 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78601 Archived-At: These are tiny changes by "Peter O'Gorman" . Would someone please install them? Index: src/xterm.c =================================================================== --- src/xterm.c.orig 2007-05-25 12:43:35.000000000 +0000 +++ src/xterm.c 2007-08-31 03:43:32.106444418 +0000 @@ -155,7 +155,9 @@ #endif #endif +#ifndef abs #define abs(x) ((x) < 0 ? -(x) : (x)) +#endif /* Default to using XIM if available. */ #ifdef USE_XIM Index: src/keyboard.c =================================================================== --- src/keyboard.c.orig 2007-04-01 21:54:54.000000000 +0000 +++ src/keyboard.c 2007-08-31 03:43:32.291971223 +0000 @@ -112,7 +112,9 @@ #define KBD_BUFFER_SIZE 4096 #endif /* No X-windows */ +#ifndef abs #define abs(x) ((x) >= 0 ? (x) : -(x)) +#endif /* Following definition copied from eval.c */ =================================================================== --- src/gtkutil.c.orig 2007-05-14 14:56:31.000000000 +0000 +++ src/gtkutil.c 2007-09-03 20:58:27.261561563 +0000 @@ -1403,8 +1403,8 @@ { Lisp_Object file; struct gcpro gcpro1; - GCPRO1 (file); char *utf8_filename; + GCPRO1 (file); file = build_string (default_filename); This should have -lBSD, but that library is said to make Index: src/frame.h =================================================================== --- src/frame.h.orig 2007-01-21 04:18:16.000000000 +0000 +++ src/frame.h 2007-09-06 18:18:37.784302154 +0000 @@ -1036,7 +1036,7 @@ FULLSCREEN_WIDTH = 1, FULLSCREEN_HEIGHT = 2, FULLSCREEN_BOTH = 3, - FULLSCREEN_WAIT = 4, + FULLSCREEN_WAIT = 4 }; Index: src/termhooks.h =================================================================== --- src/termhooks.h.orig 2007-01-14 03:24:37.000000000 +0000 +++ src/termhooks.h 2007-09-06 18:17:17.922589738 +0000 @@ -331,7 +331,7 @@ /* Queued from XTread_socket when session manager sends save yourself before shutdown. */ - SAVE_SESSION_EVENT, + SAVE_SESSION_EVENT #ifdef MAC_OS /* Generated when an Apple event, a HICommand event, or a Services @@ -340,7 +340,7 @@ symbols, respectively. Member `arg' is a Lisp object converted from the received Apple event. Parameters for non-Apple events are converted to those in Apple events. */ - MAC_APPLE_EVENT + ,MAC_APPLE_EVENT #endif }; Index: src/xfaces.c =================================================================== --- src/xfaces.c.orig 2007-02-14 15:47:51.000000000 +0000 +++ src/xfaces.c 2007-09-06 18:17:56.728517424 +0000 @@ -263,9 +263,9 @@ #endif /* HAVE_X_WINDOWS */ #include - +#ifndef abs #define abs(X) ((X) < 0 ? -(X) : (X)) - +#endif /* Number of pt per inch (from the TeXbook). */ #define PT_PER_INCH 72.27