瀏覽代碼

apply a patch from FreeBSD ports for fixing a 64-bit issue

Ralf S. Engelschall 18 年之前
父節點
當前提交
a8676e6b7d
共有 2 個文件被更改,包括 17 次插入5 次删除
  1. 16 4
      inn/inn.patch
  2. 1 1
      inn/inn.spec

+ 16 - 4
inn/inn.patch

@@ -1,6 +1,6 @@
 Index: frontends/ovdb_stat.c
 --- frontends/ovdb_stat.c.orig	2006-03-20 05:14:57 +0100
-+++ frontends/ovdb_stat.c	2006-09-29 07:17:19 +0200
++++ frontends/ovdb_stat.c	2007-09-27 00:01:57 +0200
 @@ -266,13 +266,17 @@
   { INT32, F(st_nobjects),      -1, -1,           "Current objects" },
   { INT32, F(st_maxnobjects),   -1, -1,           "Maximum objects" },
@@ -19,9 +19,21 @@ Index: frontends/ovdb_stat.c
   { INT32, F(st_ndeadlocks),    -1, -1,           "Deadlocks" },
  #if DB_VERSION_MAJOR >= 4
   { INT32, F(st_nlocktimeouts), -1, -1,           "Lock timeouts" },
+Index: innfeed/endpoint.c
+--- innfeed/endpoint.c.orig	2006-03-20 05:14:57 +0100
++++ innfeed/endpoint.c	2007-09-27 00:02:53 +0200
+@@ -1644,7 +1644,7 @@
+   if (sigHandlers == NULL)
+     {
+       sigHandlers = xmalloc (sizeof(sigfn) * NSIG) ;
+-      sigFlags = xmalloc (sizeof(int) * NSIG) ;
++      sigFlags = xmalloc (sizeof(sig_atomic_t) * NSIG) ;
+       for (i = 0 ; i < NSIG ; i++)
+         {
+           sigHandlers [i] = NULL ;
 Index: scripts/innwatch.in
 --- scripts/innwatch.in.orig	2006-03-20 05:14:57 +0100
-+++ scripts/innwatch.in	2006-09-29 07:17:19 +0200
++++ scripts/innwatch.in	2007-09-27 00:01:57 +0200
 @@ -126,7 +126,12 @@
  NEXTSLEEP=1
  HASEXITED=false
@@ -38,7 +50,7 @@ Index: scripts/innwatch.in
      ##  If news.daily is running, idle:  we don't want to change the
 Index: site/Makefile
 --- site/Makefile.orig	2006-03-20 05:14:57 +0100
-+++ site/Makefile	2006-09-29 07:17:19 +0200
++++ site/Makefile	2007-09-27 00:01:57 +0200
 @@ -137,7 +137,6 @@
  	chmod $(FILEMODE) $@
  $D$(PATH_HISTORY):
@@ -49,7 +61,7 @@ Index: site/Makefile
  clean:
 Index: storage/ovdb/ovdb.c
 --- storage/ovdb/ovdb.c.orig	2006-03-20 05:14:57 +0100
-+++ storage/ovdb/ovdb.c	2006-09-29 07:55:00 +0200
++++ storage/ovdb/ovdb.c	2007-09-27 00:01:57 +0200
 @@ -1526,7 +1526,9 @@
  
      OVDBenv->set_errcall(OVDBenv, OVDBerror);

+ 1 - 1
inn/inn.spec

@@ -33,7 +33,7 @@ Class:        BASE
 Group:        News
 License:      ISC
 Version:      2.4.3
-Release:      20070720
+Release:      20070927
 
 #   package options
 %option       with_fsl  yes