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.

137 lines
4.9 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/tibit/dpkg/00-mk-docdir-skip-event.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. diff -ur orig-dpkg-1.9.21/Makefile.in dpkg-1.9.21/Makefile.in
  23. --- orig-dpkg-1.9.21/Makefile.in 2001-03-04 15:39:05.000000000 +0100
  24. +++ dpkg-1.9.21/Makefile.in 2003-02-21 11:29:07.000000000 +0100
  25. @@ -9,7 +9,7 @@
  26. include Makefile.conf
  27. SUBDIRS = include optlib lib intl dpkg-deb split scripts utils main \
  28. - utils @DSELECTDIR@ po methods doc
  29. + @DSELECTDIR@ po methods doc
  30. all: version.h all-recursive
  31. diff -ur orig-dpkg-1.9.21/doc/Makefile.in dpkg-1.9.21/doc/Makefile.in
  32. --- orig-dpkg-1.9.21/doc/Makefile.in 2000-12-30 23:12:10.000000000 +0100
  33. +++ dpkg-1.9.21/doc/Makefile.in 2003-02-21 11:23:48.000000000 +0100
  34. @@ -2,8 +2,6 @@
  35. srcdir = @srcdir@
  36. top_srcdir = @top_srcdir@
  37. -SUBDIRS = fr ja sv
  38. -
  39. include ../Makefile.conf
  40. MAN5PAGES = deb-control.5 deb-old.5 deb.5
  41. @@ -44,6 +42,7 @@
  42. $(INSTALL_DATA) $$i $(DESTDIR)$(docdir)/internals/$$bn ; \
  43. done
  44. endif
  45. + $(mkinstalldirs) $(DESTDIR)$(docdir)
  46. $(INSTALL_DATA) $(srcdir)/ChangeLog $(DESTDIR)$(docdir)/ChangeLog.manuals
  47. set -e ; for i in ChangeLog THANKS TODO ; do \
  48. $(INSTALL_DATA) $(top_srcdir)/$$i $(DESTDIR)$(docdir) ; \
  49. diff -ur orig-dpkg-1.9.21/dselect/mkcurkeys.pl dpkg-1.9.21/dselect/mkcurkeys.pl
  50. --- orig-dpkg-1.9.21/dselect/mkcurkeys.pl 1999-01-29 09:54:00.000000000 +0100
  51. +++ dpkg-1.9.21/dselect/mkcurkeys.pl 2003-02-21 10:46:51.000000000 +0100
  52. @@ -43,6 +43,7 @@
  53. m/#define KEY_(\w+)\s+\d+\s+/ || next;
  54. $rhs= $';
  55. $k= "KEY_$1";
  56. + if ($k eq 'KEY_EVENT') { next; }
  57. $_= $1;
  58. &capit;
  59. $base{$k}= $_;
  60. diff -ur orig-dpkg-1.9.21/scripts/Makefile.in dpkg-1.9.21/scripts/Makefile.in
  61. --- orig-dpkg-1.9.21/scripts/Makefile.in 2001-06-20 02:53:45.000000000 +0200
  62. +++ dpkg-1.9.21/scripts/Makefile.in 2003-02-21 11:32:55.000000000 +0100
  63. @@ -10,13 +10,12 @@
  64. dpkg-scanpackages dpkg-scansources \
  65. dpkg-architecture dpkg-checkbuilddeps
  66. -SBIN_SCRIPTS = update-rc.d update-alternatives install-info \
  67. - dpkg-divert dpkg-statoverride cleanup-info
  68. +SBIN_SCRIPTS = dpkg-divert dpkg-statoverride
  69. MAN1PAGES = dpkg-name.1 dpkg-source.1 822-date.1 \
  70. dpkg-checkbuilddeps.1
  71. -MAN8PAGES = update-rc.d.8 update-alternatives.8 install-info.8 \
  72. - cleanup-info.8 dpkg-scanpackages.8 dpkg-scansources.8 \
  73. +MAN8PAGES = update-alternatives.8 \
  74. + dpkg-scanpackages.8 dpkg-scansources.8 \
  75. dpkg-divert.8 dpkg-statoverride.8
  76. CHANGELOG_PARSERS = cl-debian
  77. diff -ur orig-dpkg-1.9.21/utils/Makefile.in dpkg-1.9.21/utils/Makefile.in
  78. --- orig-dpkg-1.9.21/utils/Makefile.in 2001-04-24 13:05:58.000000000 +0200
  79. +++ dpkg-1.9.21/utils/Makefile.in 2003-02-21 11:28:58.000000000 +0100
  80. @@ -12,23 +12,19 @@
  81. SSD_OBJECTS = $(patsubst %.c, %.o, $(SSD_SOURCES))
  82. SSD_MANPAGES = start-stop-daemon.8
  83. -MD5_SOURCES = md5sum.c
  84. -MD5_OBJECTS = $(patsubst %.c, %.o, $(MD5_SOURCES))
  85. -MD5_MANPAGES = md5sum.1
  86. -
  87. ENOENT_SOURCES = enoent.c
  88. ENOENT_OBJECTS = $(patsubst %.c, %.o, $(ENOENT_SOURCES))
  89. -GENFILES = $(MD5_OBJECTS) md5sum $(ENOENT_OBJECTS) enoent
  90. +GENFILES = $(ENOENT_OBJECTS) enoent
  91. ifeq (@USE_START_STOP_DAEMON@, true)
  92. GENFILES += $(SSD_OBJECTS) start-stop-daemon
  93. endif
  94. .PHONY: all
  95. ifeq (@USE_START_STOP_DAEMON@, true)
  96. -all:: start-stop-daemon md5sum enoent
  97. +all:: enoent
  98. else
  99. -all:: md5sum enoent
  100. +all:: enoent
  101. endif
  102. .PHONY: install
  103. @@ -51,9 +47,6 @@
  104. $(mkinstalldirs) $(DESTDIR)/$(sbindir)
  105. $(INSTALL_PROGRAM) start-stop-daemon $(DESTDIR)/$(sbindir)
  106. endif
  107. - $(mkinstalldirs) $(DESTDIR)/$(bindir)
  108. - $(INSTALL_PROGRAM) md5sum $(DESTDIR)/$(bindir)
  109. -
  110. $(mkinstalldirs) $(DESTDIR)/$(dpkglibdir)
  111. $(INSTALL_PROGRAM) enoent $(DESTDIR)/$(dpkglibdir)
  112. @@ -63,11 +56,7 @@
  113. $(mkinstalldirs) $(DESTDIR)/$(man8dir)
  114. $(INSTALL_DATA) $(srcdir)/$(SSD_MANPAGES) $(DESTDIR)/$(man8dir)
  115. endif
  116. - $(mkinstalldirs) $(DESTDIR)/$(man1dir)
  117. - $(INSTALL_DATA) $(srcdir)/$(MD5_MANPAGES) $(DESTDIR)/$(man1dir)
  118. start-stop-daemon: $(SSD_OBJECTS) ../lib/libdpkg.a
  119. $(CC) $(LDFLAGS) -o $@ $^ $(SSD_LIBS)
  120. -md5sum: $(MD5_OBJECTS) ../lib/libdpkg.a
  121. - $(CC) $(LDFLAGS) -o $@ $^ $(NLS_LIBS)