1 2 3 4
for patchfile in $CWD/patch/xf86-video-chips/*.patch ; do cat $patchfile | patch -p1 --verbose \ || { touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed ; continue ; } ; done