Subversion Repositories pike-old

Compare Revisions

Regard whitespace Rev 35 → Rev 36

/branches/7.6-stable/debian/patches/12_perl_init.dpatch
7,9 → 7,9
FILE=src/modules/Perl/configure
 
dpatch_patch() {
[ ! -e ${FILE}.bak ] || return 1
[ ! -e ${FILE}.dp-orig ] || return 1
 
sed -i.bak -f - ${FILE} <<'END_SED'
sed -i.dp-orig -f - ${FILE} <<'END_SED'
/my_perl = perl_alloc();/i\
PERL_SYS_INIT3(&argc,&argv,&env);
/perl_free(my_perl);/a\
21,7 → 21,7
}
 
dpatch_unpatch() {
patch -p1 -R $* && [ -e ${FILE}.bak ] && mv -f ${FILE}.bak ${FILE}
patch -p1 -R $* && [ -e ${FILE}.dp-orig ] && mv -f ${FILE}.dp-orig ${FILE}
 
}
 
/branches/7.6-stable/debian/changelog
1,3 → 1,11
pike7.6 (7.6.112-4) unstable; urgency=low
 
* 12_perl_init.dpatch: Don't use .bak as filename extension for the
original of the patched file (Closes: #512539). Thanks to Robert
Millan for spotting this.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 25 Jan 2009 21:55:54 +0100
 
pike7.6 (7.6.112-3) unstable; urgency=medium
 
* 12_perl_init.dpatch (new): Fix silent build failure on hppa (Closes: