~ubuntu-branches/ubuntu/raring/procps/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/30_library_map_freeproc.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Craig Small
  • Date: 2004-04-13 07:59:25 UTC
  • Revision ID: james.westby@ubuntu.com-20040413075925-p912qrtzn1b8cc3x
Tags: 1:3.2.1-2
* Fix Makefile patch so it works  with newer patch packages 
  Closes: #242574
* Changed the way SHARED is used in Makefiles
* init script looks nicer when setting multiple variables Closes: #241721

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -e
 
2
## 30_library_map_freeproc.dpatch by Craig Small <csmall@debian.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: Added freeproc to library.map
 
6
 
 
7
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
 
8
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
 
9
 
 
10
if [ $# -ne 1 ]; then
 
11
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
 
12
    exit 1
 
13
fi
 
14
case "$1" in
 
15
       -patch) patch $patch_opts -p1 < $0;;
 
16
       -unpatch) patch $patch_opts -p1 -R < $0;;
 
17
        *)
 
18
                echo >&2 "`basename $0`: script expects -patch|-unpatch as argum
 
19
ent"
 
20
                exit 1;;
 
21
esac
 
22
 
 
23
exit 0
 
24
@DPATCH@
 
25
--- procps-3.2.0.orig/proc/library.map
 
26
+++ procps-3.2.0/proc/library.map
 
27
@@ -4,7 +4,7 @@
 
28
 
 
29
   readproc; readtask; readproctab; readproctab2; look_up_our_self; escape_command;
 
30
   escape_str; escape_strlist;
 
31
-  openproc; closeproc;
 
32
+  openproc; closeproc; freeproc;
 
33
   tty_to_dev; dev_to_tty; open_psdb_message; open_psdb; wchan;
 
34
   display_version; procps_version; linux_version_code;
 
35
   Hertz; smp_num_cpus;