Pārlūkot izejas kodu

upgrading package: nspr 4.6.7 -> 4.7

Ralf S. Engelschall 18 gadi atpakaļ
vecāks
revīzija
b713a3433c
2 mainītis faili ar 15 papildinājumiem un 16 dzēšanām
  1. 13 14
      nspr/nspr.patch
  2. 2 2
      nspr/nspr.spec

+ 13 - 14
nspr/nspr.patch

@@ -1,6 +1,6 @@
 Index: mozilla/nsprpub/pr/include/md/_freebsd.h
 --- mozilla/nsprpub/pr/include/md/_freebsd.h.orig	2004-11-22 22:24:53 +0100
-+++ mozilla/nsprpub/pr/include/md/_freebsd.h	2005-07-13 15:42:26 +0200
++++ mozilla/nsprpub/pr/include/md/_freebsd.h	2008-02-07 19:15:24 +0100
 @@ -43,6 +43,7 @@
  #if __FreeBSD__ >= 2
  #include <osreldate.h>  /* for __FreeBSD_version */
@@ -10,8 +10,8 @@ Index: mozilla/nsprpub/pr/include/md/_freebsd.h
  
  #define PR_LINKER_ARCH	"freebsd"
 Index: mozilla/nsprpub/pr/include/md/_pth.h
---- mozilla/nsprpub/pr/include/md/_pth.h.orig	2004-11-22 22:24:53 +0100
-+++ mozilla/nsprpub/pr/include/md/_pth.h	2005-07-13 15:43:47 +0200
+--- mozilla/nsprpub/pr/include/md/_pth.h.orig	2006-12-08 23:58:13 +0100
++++ mozilla/nsprpub/pr/include/md/_pth.h	2008-02-07 19:15:24 +0100
 @@ -84,7 +84,7 @@
  #define _PT_PTHREAD_MUTEXATTR_DESTROY(x)  /* */
  #define _PT_PTHREAD_MUTEX_INIT(m, a)      (memset(&(m), 0, sizeof(m)), \
@@ -31,31 +31,30 @@ Index: mozilla/nsprpub/pr/include/md/_pth.h
  #if defined(DARWIN)
  #define _PT_PTHREAD_CONDATTR_INIT(x)      0
 Index: mozilla/nsprpub/pr/src/md/unix/unix.c
---- mozilla/nsprpub/pr/src/md/unix/unix.c.orig	2005-03-09 23:57:05 +0100
-+++ mozilla/nsprpub/pr/src/md/unix/unix.c	2005-07-13 15:42:26 +0200
-@@ -65,7 +65,8 @@
+--- mozilla/nsprpub/pr/src/md/unix/unix.c.orig	2006-04-05 22:57:15 +0200
++++ mozilla/nsprpub/pr/src/md/unix/unix.c	2008-02-07 19:20:57 +0100
+@@ -68,7 +68,7 @@
   * PRInt32* pointer to a _PRSockLen_t* pointer.
   */
  #if defined(HAVE_SOCKLEN_T) \
--    || (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
-+    || (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) \
-+    || defined(FREEBSD)
+-    || (defined(__GLIBC__) && __GLIBC__ >= 2)
++    || (defined(__GLIBC__) && __GLIBC__ >= 2) || defined(FREEBSD)
  #define _PRSockLen_t socklen_t
  #elif defined(IRIX) || defined(HPUX) || defined(OSF1) || defined(SOLARIS) \
      || defined(AIX4_1) || defined(LINUX) || defined(SONY) \
-@@ -73,7 +74,7 @@
+@@ -76,7 +76,7 @@
      || defined(SUNOS4) || defined(NCR) || defined(DARWIN) \
      || defined(NEXTSTEP) || defined(QNX)
  #define _PRSockLen_t int
 -#elif (defined(AIX) && !defined(AIX4_1)) || defined(FREEBSD) \
 +#elif (defined(AIX) && !defined(AIX4_1)) \
      || defined(NETBSD) || defined(OPENBSD) || defined(UNIXWARE) \
-     || defined(DGUX) || defined(VMS) || defined(NTO)
+     || defined(DGUX) || defined(VMS) || defined(NTO) || defined(RISCOS)
  #define _PRSockLen_t size_t
 Index: mozilla/nsprpub/pr/src/pthreads/ptio.c
---- mozilla/nsprpub/pr/src/pthreads/ptio.c.orig	2005-03-09 23:57:06 +0100
-+++ mozilla/nsprpub/pr/src/pthreads/ptio.c	2005-07-13 15:42:26 +0200
-@@ -3471,6 +3471,17 @@
+--- mozilla/nsprpub/pr/src/pthreads/ptio.c.orig	2008-01-13 02:27:16 +0100
++++ mozilla/nsprpub/pr/src/pthreads/ptio.c	2008-02-07 19:15:24 +0100
+@@ -3475,6 +3475,17 @@
                      &on, sizeof(on));
          }
  #endif

+ 2 - 2
nspr/nspr.spec

@@ -31,8 +31,8 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        Libraries
 License:      MPL
-Version:      4.6.7
-Release:      20080101
+Version:      4.7
+Release:      20080207
 
 #   list of sources
 Source0:      ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v%{version}/src/nspr-%{version}.tar.gz