mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/ncompress/config.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./build.orig 1992-10-28 12:10:53.000000000 +0100
  20. +++ ./build 2004-08-06 22:38:17.586220888 +0200
  21. @@ -1,4 +1,3 @@
  22. -:
  23. #!/bin/sh
  24. #
  25. version="4.2.4"
  26. @@ -19,6 +18,7 @@
  27. trap 'set +x ; exit 1' 1 2 15
  28. [ -f compress.def ] && . ./compress.def
  29. +x=1
  30. while true
  31. do
  32. @@ -70,7 +70,9 @@
  33. done
  34. ) >compress.def
  35. - read choice var1 var2 var3 var4 varr
  36. + read choice var1 var2 var3 var4 varr < /dev/null
  37. + if [ $x = 1 ]; then choice=genmake; x=2
  38. + else choice=q; fi
  39. echo ""
  40. else
  41. choice=D
  42. @@ -278,8 +280,6 @@
  43. [ -f /usr/include/sys/dir.h ] && { SYSDIR=yes; }
  44. [ -f /usr/include/dirent.h ] && { DIRENT=yes; }
  45. [ -f /usr/include/utime.h ] && { UTIME_H=yes; }
  46. - [ -d /usr/local/bin ] && { BINDIR=/usr/local/bin; }
  47. - [ -d /usr/local/man ] && { BINDIR=/usr/local/man/man1; }
  48. [ -f /usr/bin/compress ] && { BINDIR=/usr/bin; }
  49. if [ ".${CC}" = . ]
  50. @@ -790,7 +790,7 @@
  51. compress: Makefile compress42.c patchlevel.h
  52. - $(CC) -o compress $(options) "-DCOMPILE_DATE=\"\`date\`\"" compress42.c $(LBOPT)
  53. + \$(CC) -o compress \$(options) "-DCOMPILE_DATE=\\"\`date\`\\"" compress42.c \$(LBOPT)
  54. install: compress
  55. [ -f \$(BINDIR)/compress ] && \\