cvs commit: patches/unzip unzip-5.50-dont-make-noise.patch

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Tue Sep 23 18:32:59 PDT 2003


tushar      03/09/23 19:32:58

  Added:       SVGATextMode SVGATextMode-1.10.patch
               unzip    unzip-5.50-dont-make-noise.patch
  Log:
  Added SVGATextMode-1.10.patch
  
  Revision  Changes    Path
  1.1                  patches/SVGATextMode/SVGATextMode-1.10.patch
  
  Index: SVGATextMode-1.10.patch
  ===================================================================
  Submitted By: Jim Mischel <jim at mischel.com>
  Date: 2003-09-11
  Initial Package Version: 1.10
  Origin: Jim Mischel <jim at mischel.com>
  Description: This patch modifies the makefile and one source file of the SVGATextMode
               source package so that it will compile with GCC versions 3.2 and later.
  
  --- SVGATextMode-1.10/Makefile	2000-09-02 18:43:36.000000000 -0500
  +++ SVGATextMode-1.10.new/Makefile	2002-09-10 22:52:43.000000000 -0500
  @@ -26,8 +26,8 @@
   CFLAGS_alpha =
   CFLAGS_i386  = -Wpointer-arith -Wnested-externs 
   CFLAGS_i486  =
  -CFLAGS_i586  = -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2
  -CFLAGS_i686  = -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2
  +CFLAGS_i586  = -fno-strength-reduce -falign-loops=2 -falign-jumps=2 -falign-functions=2
  +CFLAGS_i686  = -fno-strength-reduce -falign-loops=2 -falign-jumps=2 -falign-functions=2
   
   LDFLAGS_alpha =
   LDFLAGS_i386  =
  --- SVGATextMode-1.10/cfgfile.y	2000-06-21 21:24:10.000000000 -0500
  +++ SVGATextMode-1.10.new/cfgfile.y	2002-09-10 22:57:48.000000000 -0500
  @@ -32,6 +32,7 @@
   #include "messages.h"
   #include "misc.h"
   #include <sys/stat.h>
  +#include <stdio.h>
   
   /* if VGA_CAN_DO_64KB is defined, 32k chars per screen are allowed */
   #ifdef VGA_CAN_DO_64KB
  
  
  
  1.1                  patches/unzip/unzip-5.50-dont-make-noise.patch
  
  Index: unzip-5.50-dont-make-noise.patch
  ===================================================================
  Submitted By: Tushar Teredesai <tushar at linuxfromscratch.org>
  Date: 2003-09-22
  Initial Package Version: 5.50
  Origin: http://archive.linuxfromscratch.org/mail-archives/blfs-dev/2003-August/003213.html
  Description: When unzipping files, the unzip stub prints out lot of "useful" info messages.
  These messages can cause applications such as Midnight Commander. This patch is useful for
  users linking unzip to the system zlib (i.e. installed as per the BLFS guidelines).
  --- unzip-5.50/unzipstb.c.orig	2003-09-22 01:05:45.000000000 -0500
  +++ unzip-5.50/unzipstb.c	2003-09-22 01:06:57.000000000 -0500
  @@ -30,27 +30,6 @@
   
       pVersion = UzpVersion();
   
  -    printf("UnZip stub:  checking version numbers (DLL is dated %s)\n",
  -      pVersion->date);
  -    printf("   UnZip versions:    expecting %d.%d%d, using %d.%d%d%s\n",
  -      UZ_MAJORVER, UZ_MINORVER, UZ_PATCHLEVEL, pVersion->unzip.major,
  -      pVersion->unzip.minor, pVersion->unzip.patchlevel, pVersion->betalevel);
  -    printf("   ZipInfo versions:  expecting %d.%d%d, using %d.%d%d\n",
  -      ZI_MAJORVER, ZI_MINORVER, UZ_PATCHLEVEL, pVersion->zipinfo.major,
  -      pVersion->zipinfo.minor, pVersion->zipinfo.patchlevel);
  -
  -/*
  -    D2_M*VER and os2dll.* are obsolete, though retained for compatibility:
  -
  -    printf("   OS2 DLL versions:  expecting %d.%d%d, using %d.%d%d\n",
  -      D2_MAJORVER, D2_MINORVER, D2_PATCHLEVEL, pVersion->os2dll.major,
  -      pVersion->os2dll.minor, pVersion->os2dll.patchlevel);
  - */
  -
  -    if (pVersion->flag & 2)
  -        printf("   using zlib version %s\n", pVersion->zlib_version);
  -    printf("\n");
  -
       /* call the actual UnZip routine (string-arguments version) */
       return UzpMain(argc, argv);
   }
  
  
  



More information about the patches mailing list