# This patch is required because otherwise this driver looks for a header file that # is only relevant on x86. The Debian patch we apply here rectifies this. # Only try and apply patches if we find out first patch file - otherwise this # can cause a bailout of building all X packages (I think!) if [ -f $PORTCWD/patch/driver/xserver-xorg-video-nouveau_*.diff.xz ]; then auto_apply_patch $PORTCWD/patch/driver/xserver-xorg-video-nouveau*diff.xz || exit 1 fi