aboutsummaryrefslogtreecommitdiff
blob: 8d063ecba2601cb52717ebba86711f5b3d395704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- emacs-18.59-orig/src/ChangeLog
+++ emacs-18.59/src/ChangeLog
@@ -1,3 +1,10 @@
+2010-03-11  Ulrich Mueller  <ulm@gentoo.org>
+
+	* Makefile (xmakefile): Call C preprocessor with -P option,
+	in order to fix building with GNU CPP 4.5.
+	http://bugs.gentoo.org/308653
+	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41748
+
 2008-10-21  Ulrich Mueller  <ulm@gentoo.org>
 
 	* emacs.c: Handle gap between end of BSS and heap, backported
--- emacs-18.59-orig/src/Makefile
+++ emacs-18.59/src/Makefile
@@ -33,7 +33,7 @@
 xmakefile: ymakefile config.h
 	-rm -f xmakefile junk.c
 	cp ymakefile junk.c
-	$(CPP) junk.c | sed -e 's/^#.*//' -e 's/^[ 	][ 	]*$$//' -e 's/^ /	/' | \
+	$(CPP) -P junk.c | sed -e 's/^#.*//' -e 's/^[ 	][ 	]*$$//' -e 's/^ /	/' | \
 	sed -n -e '/^..*$$/p' > xmakefile
 	rm -f junk.c