diff options
author | Jeroen Roovers <jer@gentoo.org> | 2008-11-17 07:43:54 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2008-11-17 07:43:54 +0000 |
commit | 79cbef1da8ac67dc46773745a25af272575eaca9 (patch) | |
tree | b1701247a1bfa00e2491da1fa0aae3064053ce02 /app-arch/pbzip2/files | |
parent | Say thanks. (diff) | |
download | gentoo-2-79cbef1da8ac67dc46773745a25af272575eaca9.tar.gz gentoo-2-79cbef1da8ac67dc46773745a25af272575eaca9.tar.bz2 gentoo-2-79cbef1da8ac67dc46773745a25af272575eaca9.zip |
Version bump (bug #246810 comment #4).
(Portage version: 2.2_rc14/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Diffstat (limited to 'app-arch/pbzip2/files')
-rw-r--r-- | app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch b/app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch new file mode 100644 index 000000000000..522dc54da1a4 --- /dev/null +++ b/app-arch/pbzip2/files/pbzip2-1.0.3-uclibc.patch @@ -0,0 +1,23 @@ +--- pbzip2-1.0.3/pbzip2.cpp.orig 2008-10-31 16:43:33.000000000 +0100 ++++ pbzip2-1.0.3/pbzip2.cpp 2008-11-17 08:31:25.000000000 +0100 +@@ -136,7 +136,7 @@ + //#define PBZIP_NO_LOADAVG + + // detect systems that are known not to support load average code +-#if defined (WIN32) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined (__hpux) || defined (__osf__) ++#if defined (WIN32) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined (__hpux) || defined (__osf__) || defined(__UCLIBC__) + #define PBZIP_NO_LOADAVG + #endif + +@@ -1917,7 +1917,11 @@ + { + banner(); + fprintf(stderr, "\nInvalid command line: %s. Aborting...\n\n", reason); ++#ifndef PBZIP_NO_LOADAVG + fprintf(stderr, "Usage: %s [-1 .. -9] [-b#cdfklp#qrtV] <filename> <filename2> <filenameN>\n", progname); ++#else ++ fprintf(stderr, "Usage: %s [-1 .. -9] [-b#cdfkp#qrtV] <filename> <filename2> <filenameN>\n", progname); ++#endif + fprintf(stderr, " -b# : where # is the file block size in 100k (default 9 = 900k)\n"); + fprintf(stderr, " -c : output to standard out (stdout)\n"); + fprintf(stderr, " -d : decompress file\n"); |