# DISCLAIMER: Max Horn is the sole maintainer of this package. # Please DO NOT MAKE MODIFICATIONS without informing the maintainer. # Preferably, send a patch to me instead of making changes yourself! # If that is not possible due to extra urgency, at least send me a mail. # # Explanation: I am sick and tired of getting back to my packages and # discovering that people have messed with it. I am then forced to # retrace their steps, find out who, when and why did make a certain # change etc. -- i.e. it makes my life as maintainer harder. # Furthermore, as maintainer I am responsible for problems caused by my # packages. But I am not willing to take responsibility for something I # did not do. In particular, for changes that other people introduced # behind my back, no matter how good and noble their intentions were. As # such, I may see myself forced to drop responsibility for (and hence, # maintainership of) the affected package. Package: patch Version: 2.6.1 Revision: 2 Maintainer: Max Horn BuildDepends: fink (>= 0.24.12-1) Source: gnu Source-MD5: d758eb96d3f75047efc004a720d33daf PatchFile: %n.patch PatchFile-MD5: 6690768e0e48fe2fa18cc9aab3a84f64 PatchScript: << #!/bin/sh -ev %{default_script} sed -i.orig -e '/^\.c/i\ .SUFFIXES: .c .$(OBJEXT)' Makefile.in # bunch of tests require coreutils versions of commands for f in `fgrep -lr 'seq ' tests/` do sed -i.orig -e 's|seq |gseq |' $f done for f in `fgrep -lr -e 'cat -A' tests/` do sed -i.orig -e 's|cat -A|gcat -A|' $f done for f in `fgrep -lr 'date ' tests/` do sed -i.orig -e 's|date |gdate |' $f done for f in `fgrep -lr -e 'touch -d' tests/` do sed -i.orig -e 's|touch -d|gtouch -d|' $f done << InfoTest: << TestDepends: coreutils, sed TestScript: make -k check || exit 2 << InstallScript: make install prefix=%i mandir=%i/share/man DocFiles: README COPYING AUTHORS NEWS # Description: Utility to apply patches to source trees DescDetail: << patch takes a file describing differences (usually created by diff(1)) and applies them to a file or a whole source tree. << DescPort: << On Mac OS X 10.4 and 10.5, the function strnlen is missing, so we add an implementation for it. Test depends on coreutils for 'seq' and 'cat' (named 'gseq' and 'gcat'). << License: GPL Homepage: http://www.gnu.org/software/patch/patch.html