Procházet zdrojové kódy

downgrade to 4.23 as 4.24 uses asprintf(3) without providing a fallback implementation and this way fails to build under Solaris

Ralf S. Engelschall před 17 roky
rodič
revize
336ee919a5
2 změnil soubory, kde provedl 7 přidání a 7 odebrání
  1. 5 5
      file/file.patch
  2. 2 2
      file/file.spec

+ 5 - 5
file/file.patch

@@ -1,6 +1,6 @@
 Index: src/apprentice.c
 --- src/apprentice.c.orig	2007-12-27 21:52:36 +0100
-+++ src/apprentice.c	2007-12-29 10:49:54 +0100
++++ src/apprentice.c	2008-03-31 20:50:08 +0200
 @@ -549,6 +549,7 @@
  		file_oomem(ms, maxmagic * sizeof(*marray));
  		return -1;
@@ -11,7 +11,7 @@ Index: src/apprentice.c
  	/* print silly verbose header for USG compat. */
 Index: src/compress.c
 --- src/compress.c.orig	2007-12-02 18:32:23 +0100
-+++ src/compress.c	2007-12-29 10:49:54 +0100
++++ src/compress.c	2008-03-31 20:50:08 +0200
 @@ -167,7 +167,7 @@
   * `safe' read for sockets and pipes.
   */
@@ -41,7 +41,7 @@ Index: src/compress.c
  			    strerror(errno));
 Index: src/file.h
 --- src/file.h.orig	2007-11-08 01:31:37 +0100
-+++ src/file.h	2007-12-29 10:49:54 +0100
++++ src/file.h	2008-03-31 20:50:08 +0200
 @@ -333,7 +333,7 @@
  protected void file_showstr(FILE *, const char *, size_t);
  protected size_t file_mbswidth(const char *);
@@ -53,7 +53,7 @@ Index: src/file.h
  #ifndef COMPILE_ONLY
 Index: src/magic.c
 --- src/magic.c.orig	2007-12-27 17:35:59 +0100
-+++ src/magic.c	2007-12-29 10:49:54 +0100
++++ src/magic.c	2008-03-31 20:50:08 +0200
 @@ -322,7 +322,7 @@
  	if (ispipe) {
  		ssize_t r = 0;
@@ -65,7 +65,7 @@ Index: src/magic.c
  			if (r < PIPE_BUF) break;
 Index: src/softmagic.c
 --- src/softmagic.c.orig	2007-12-27 17:35:59 +0100
-+++ src/softmagic.c	2007-12-29 10:49:54 +0100
++++ src/softmagic.c	2008-03-31 20:50:08 +0200
 @@ -288,10 +288,9 @@
  }
  

+ 2 - 2
file/file.spec

@@ -22,7 +22,7 @@
 ##
 
 #   package version
-%define       V_api_c   4.24
+%define       V_api_c   4.23
 %define       V_api_pl  0.85
 
 #   package information
@@ -36,7 +36,7 @@ Class:        BASE
 Group:        Filesystem
 License:      BSD
 Version:      %{V_api_c}
-Release:      20080329
+Release:      20080331
 
 #   package options
 %option       with_perl  no