* [gentoo-commits] gentoo-x86 commit in dev-util/cdecl/files: cdecl-2.5.patch
@ 2009-07-07 18:40 Patrick Kursawe (phosphan)
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Kursawe (phosphan) @ 2009-07-07 18:40 UTC (permalink / raw
To: gentoo-commits
phosphan 09/07/07 18:40:44
Modified: cdecl-2.5.patch
Log:
Fixing build with glibc-2.10, see bug #276068.
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.2 dev-util/cdecl/files/cdecl-2.5.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch?r1=1.1&r2=1.2
Index: cdecl-2.5.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cdecl-2.5.patch 30 Sep 2003 13:32:23 -0000 1.1
+++ cdecl-2.5.patch 7 Jul 2009 18:40:44 -0000 1.2
@@ -1,5 +1,5 @@
---- cdecl-2.5.orig/Makefile
-+++ cdecl-2.5/Makefile
+--- Makefile
++++ Makefile.new
@@ -15,9 +15,9 @@
#
# add -DUSE_READLINE To compile in support for the GNU readline library.
@@ -12,8 +12,8 @@
ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
BINDIR= /usr/bin
MANDIR= /usr/man/man1
---- cdecl-2.5.orig/cdecl.c
-+++ cdecl-2.5/cdecl.c
+--- cdecl.c
++++ cdecl.c.new
@@ -67,6 +67,7 @@
# include <stddef.h>
# include <string.h>
@@ -31,3 +31,32 @@
int yywrap(void);
int dostdin(void);
+--- cdecl.c 2009-07-07 13:20:37.000000000 +0200
++++ cdecl.c.new 2009-07-07 13:25:00.000000000 +0200
+@@ -91,7 +91,7 @@
+ #ifdef USE_READLINE
+ # include <readline/readline.h>
+ /* prototypes for functions related to readline() */
+- char * getline();
++ char * mygetline();
+ char ** attempt_completion(char *, int, int);
+ char * keyword_completion(char *, int);
+ char * command_completion(char *, int);
+@@ -375,7 +375,7 @@
+ static char *line_read = NULL;
+
+ /* Read a string, and return a pointer to it. Returns NULL on EOF. */
+-char * getline ()
++char * mygetline ()
+ {
+ /* If the buffer has already been allocated, return the memory
+ to the free pool. */
+@@ -887,7 +887,7 @@
+
+ if (!quiet) (void) printf("Type `help' or `?' for help\n");
+ ret = 0;
+- while ((line = getline())) {
++ while ((line = mygetline())) {
+ if (!strcmp(line, "quit") || !strcmp(line, "exit")) {
+ free(line);
+ return ret;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-util/cdecl/files: cdecl-2.5.patch
@ 2010-08-26 20:17 Patrick Kursawe (phosphan)
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Kursawe (phosphan) @ 2010-08-26 20:17 UTC (permalink / raw
To: gentoo-commits
phosphan 10/08/26 20:17:47
Modified: cdecl-2.5.patch
Log:
Respects LDFLAGS now.
(Portage version: 2.1.8.3/cvs/Linux i686)
Revision Changes Path
1.3 dev-util/cdecl/files/cdecl-2.5.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch?r1=1.2&r2=1.3
Index: cdecl-2.5.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/cdecl/files/cdecl-2.5.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- cdecl-2.5.patch 7 Jul 2009 18:40:44 -0000 1.2
+++ cdecl-2.5.patch 26 Aug 2010 20:17:47 -0000 1.3
@@ -1,17 +1,3 @@
---- Makefile
-+++ Makefile.new
-@@ -15,9 +15,9 @@
- #
- # add -DUSE_READLINE To compile in support for the GNU readline library.
-
--CFLAGS= -s -O2 -DUSE_READLINE
-+
- CC= gcc
--LIBS= -lreadline -ltermcap
-+
- ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
- BINDIR= /usr/bin
- MANDIR= /usr/man/man1
--- cdecl.c
+++ cdecl.c.new
@@ -67,6 +67,7 @@
@@ -60,3 +46,26 @@
if (!strcmp(line, "quit") || !strcmp(line, "exit")) {
free(line);
return ret;
+--- Makefile.old 2010-08-26 22:06:28.000000000 +0200
++++ Makefile 2010-08-26 22:11:42.000000000 +0200
+@@ -15,9 +15,9 @@
+ #
+ # add -DUSE_READLINE To compile in support for the GNU readline library.
+
+-CFLAGS= -s -O2 -DUSE_READLINE
++
+ CC= gcc
+-LIBS= -lreadline -ltermcap
++
+ ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
+ BINDIR= /usr/bin
+ MANDIR= /usr/man/man1
+@@ -29,7 +29,7 @@
+ ln c++decl cdecl
+
+ c++decl: cdgram.c cdlex.c cdecl.c
+- $(CC) $(CFLAGS) -o c++decl cdecl.c $(LIBS)
++ $(CC) $(CFLAGS) ${LDFLAGS} -o c++decl cdecl.c $(LIBS)
+ rm -f cdecl
+
+ cdlex.c: cdlex.l
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-26 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26 20:17 [gentoo-commits] gentoo-x86 commit in dev-util/cdecl/files: cdecl-2.5.patch Patrick Kursawe (phosphan)
-- strict thread matches above, loose matches on Subject: below --
2009-07-07 18:40 Patrick Kursawe (phosphan)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox