_dinsdale icon

How to apply a FreeBSD patch

_dinsdale | PRO | 07/19/17 08:10:02 PM UTC | 0 ⭐ | 469 👁️ | Never ⏰ | []
text |

290 B

|

None

|

0 👍

/

0 👎

Given a project structure of:
 ~/FreeBSD/armv6
	/src
	/patches
	/obj
	/otherstuffs
 and environment variables of
 setenv BASEDIR `pwd` #~/FreeBSD/armv6
setenv PATCHES $BASEDIR/patches
  To apply the IMX6 Sata patch I would run:
 cd $BASEDIR/src
patch -p0 <$PATCHES/d11177.diff

Comments