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.

54 lines
2.2 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/mnemoc/cvm/head1.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. --- ./Makefile 2003-11-18 00:50:48.000000000 +0100
  20. +++ /tmp/tmp.awWCZS5786 2004-05-24 13:23:16.000000000 +0200
  21. @@ -33,16 +33,16 @@
  22. ./makelib command.a module_command.o module_command_main.o module_request.o module_output.o facts.o
  23. compile: conf-cc conf-bgincs
  24. - ( bgincs=`head -1 conf-bgincs`; \
  25. + ( bgincs=`head -n 1 conf-bgincs`; \
  26. echo '#!/bin/sh'; \
  27. echo 'source=$$1; shift'; \
  28. echo 'base=`echo "$$source" | sed -e s:\\\\.c$$::`'; \
  29. - echo exec `head -1 conf-cc` -I. "-I'$${bgincs}'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
  30. + echo exec `head -n 1 conf-cc` -I. "-I'$${bgincs}'" '-o $${base}.o -c $$source $${1+"$$@"}'; \
  31. ) >compile
  32. chmod 755 compile
  33. conf_home.c: conf-home
  34. - head -1 conf-home | \
  35. + head -n 1 conf-home | \
  36. sed -e 's/"/\\"/g' \
  37. -e 's/^/const char conf_home[] = "/' \
  38. -e 's/$$/";/' >conf_home.c
  39. @@ -106,10 +106,10 @@
  40. libraries: client.a udp.a local.a command.a module.a sasl.a
  41. load: conf-ld conf-bglibs
  42. - ( bglibs=`head -1 conf-bglibs`; \
  43. + ( bglibs=`head -n 1 conf-bglibs`; \
  44. echo '#!/bin/sh';\
  45. echo 'main="$$1"; shift';\
  46. - echo exec `head -1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
  47. + echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
  48. ) >load
  49. chmod 755 load