Date: Thu, 16 May 2002 14:13:57 +0600 From: pavelsh <pavelsh@karavan.chel.com.ru> To: stable@freebsd.org Subject: Bug in /usr/bin/patch Message-ID: <14110030002.20020516141357@karavan.chel.com.ru>
next in thread | raw e-mail | index | archive | help
------------24CA1C224B4B286 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi I created a own port of basis port /usr/local/security/fwlogwatch, and put in dir /usr/local/security/fwlogwatch81 Generate file patch-aa by command "# diff -u Makefile.orig Makefile", where Makefile was edited by me. Then: # make patch - all ok But i see in file /usr/local/security/fwlogwatch81/work/fwlogwatch-0.8.1/Makefile in string 42 - "${INSTALL_DIR}/usr/local/etc". But fragment of patch-aa (my port in attach) -CONF_DIR = /etc -LOCALE_DIR = /usr +CONF_DIR = ${INSTALL_DIR}/etc +LOCALE_DIR = ${INSTALL_DIR} If "# make -DDEBUG_PATCH patch" /usr/bin/patch print "all hunk ok"! Bug in /usr/bin/patch? When I was simple modelling situation in home dir by command line # patch -p0 < patch-aa That I have right results!!!!! Example: Fragment of patch-aa (my port in attach) -CONF_DIR = /etc -LOCALE_DIR = /usr +CONF_DIR = ${INSTALL_DIR}/etc +LOCALE_DIR = ${INSTALL_DIR} In original Makefile string 42 - "CONF_DIR = /etc" In patched from /usr/ports/.../fwlogwatch81 by command "#make patch" string 42 - "${INSTALL_DIR}/usr/local/etc" In patched from local dir by command "# patch -p0 < patch-aa" string 42 "CONF_DIR = ${INSTALL_DIR}/etc" System: FreeBSD 4.3R, Pentium 166MMX last ports upgrade: 10 May 2002 P.S. Sorry for bad English! -- with best regards pavelsh mailto:pavelsh@karavan.chel.com.ru ------------24CA1C224B4B286 Content-Type: application/x-gzip; name="fwlogwatch81.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="fwlogwatch81.tar.gz" H4sIAFVe4zwAA+0a/XfaOLK/4r9iNqFtWDC2+S7d7AtJaMqVkDxgm95d7rHGFqCNsf0sE/Jx+d9v JBswkISmTbP7bj0vAVu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tjhP7DSCorSWdnZ1UILxNwqv31mwSczT+4XaMXIS+x 5a7Ff5dXoZ9Xxsbf/+Vz4vd/xYJa1PhegPE/F9//vQjwW4r1UuNKq0/GroURQJrdadx79yGtVonX yr3rZduvLyM+qcz39cW4JxXLnlTM+rMtG0MMMcQQQwwxxBBDDDHEEEMMMcQQQwwxxBBDDDHEEEMM McQQQwwx/F3gf54x1BgAUAAA ------------24CA1C224B4B286-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14110030002.20020516141357>