|
@@ -1,14 +1,26 @@
|
|
|
Index: src/makefile
|
|
Index: src/makefile
|
|
|
---- src/makefile.orig 2009-02-07 15:35:25 +0100
|
|
|
|
|
-+++ src/makefile 2009-02-16 21:38:50 +0100
|
|
|
|
|
-@@ -76,8 +76,8 @@
|
|
|
|
|
- CFLAGS=$(OPTS) $(NO_SIGN) $(if $(NE_NOPOSIX),,-D_POSIX_C_SOURCE=199506L) $(if $(NE_NOWCHAR),-DNOWCHAR,) $(if $(NE_TEST),-DNE_TEST,) $(if $(NE_DEBUG),-g,-O3 -DNODEBUG) $(if $(NE_TERMCAP),-DTERMCAP,) $(if $(NE_ANSI),-DTERMCAP -DANSI,)
|
|
|
|
|
|
|
+--- src/makefile.orig 2010-03-17 13:42:43.000000000 +0100
|
|
|
|
|
++++ src/makefile 2010-04-23 15:48:07.000000000 +0200
|
|
|
|
|
+@@ -103,8 +103,8 @@
|
|
|
|
|
+
|
|
|
LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
|
|
LIBS=$(if $(NE_TERMCAP)$(NE_ANSI),,-lcurses)
|
|
|
|
|
|
|
|
-ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
|
|
-ne: $(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
|
|
|
-- $(CC) $(OPTS) $(LDFLAGS) $^ $(LIBS) -o $(PROGRAM)
|
|
|
|
|
|
|
+- $(CC) -lm $(OPTS) $(LDFLAGS) $^ $(LIBS) -o $(PROGRAM)
|
|
|
+ne: $(OBJS)
|
|
+ne: $(OBJS)
|
|
|
-+ $(CC) $(OPTS) $(LDFLAGS) $^ -o $(PROGRAM) $(LIBS)
|
|
|
|
|
|
|
++ $(CC) $(OPTS) $(LDFLAGS) $^ -o $(PROGRAM) $(LIBS) -lm
|
|
|
|
|
|
|
|
clean:
|
|
clean:
|
|
|
rm -f *.o core
|
|
rm -f *.o core
|
|
|
|
|
+Index: src/regex_internal.h
|
|
|
|
|
+--- src/regex_internal.h.orig 2010-01-21 10:23:00.000000000 +0100
|
|
|
|
|
++++ src/regex_internal.h 2010-04-23 15:47:43.000000000 +0200
|
|
|
|
|
+@@ -418,7 +418,7 @@
|
|
|
|
|
+ #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
|
|
|
|
|
+ #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
|
|
|
|
|
+
|
|
|
|
|
+-#include <alloca.h>
|
|
|
|
|
++#include <stdlib.h>
|
|
|
|
|
+
|
|
|
|
|
+ #ifndef _LIBC
|
|
|
|
|
+ # if HAVE_ALLOCA
|