Bladeren bron

upgrading package: ne 2.0.3 -> 2.1

Ralf S. Engelschall 15 jaren geleden
bovenliggende
commit
8393054329
2 gewijzigde bestanden met toevoegingen van 20 en 8 verwijderingen
  1. 18 6
      ne/ne.patch
  2. 2 2
      ne/ne.spec

+ 18 - 6
ne/ne.patch

@@ -1,14 +1,26 @@
 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)
  
 -ne:	$(OBJS) $(if $(NE_TERMCAP)$(NE_ANSI),$(TERMCAPOBJS),)
--	$(CC) $(OPTS) $(LDFLAGS) $^ $(LIBS) -o $(PROGRAM)
+-	$(CC) -lm $(OPTS) $(LDFLAGS) $^ $(LIBS) -o $(PROGRAM)
 +ne:	$(OBJS)
-+	$(CC) $(OPTS) $(LDFLAGS) $^ -o $(PROGRAM) $(LIBS)
++	$(CC) $(OPTS) $(LDFLAGS) $^ -o $(PROGRAM) $(LIBS) -lm
  
  clean:
  	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

+ 2 - 2
ne/ne.spec

@@ -31,8 +31,8 @@ Distribution: OpenPKG Community
 Class:        PLUS
 Group:        Editor
 License:      GPL
-Version:      2.0.3
-Release:      20090220
+Version:      2.1
+Release:      20100423
 
 #   list of sources
 Source0:      http://ne.dsi.unimi.it/ne-%{version}.tar.gz