# 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!) # This patch file check here will need to be changed if we ever get rid of the Debian # patch set. # # I applied the patches below into the source archive. # #if [ -f $PORTCWD/patch/driver/xserver-xorg-video-xgi_1.6.0-1.diff.xz ]; then # # Unpack the Debian "diff" # xz -dc $PORTCWD/patch/driver/xserver-xorg-video-xgi_1.6.0-1.diff.xz | patch -p1 || exit 1 # # # This is not required with the GIT branch pull from Tue 7th Aug 2012 # rm -fv debian/patches/xgi_loaderrefsymlists.patch # # # Put this other one into place (from OpenSuse this time! ;-) ) # #xz -dc $PORTCWD/patch/driver/xserver-xorg-video-xgi-1.6.0-build-with-xorg-server-1.12.2.diff.xz > debian/patches/xserver-xorg-video-xgi-1.6.0-build-with-xorg-server-1.12.2.patch # # for i in debian/patches/*.patch ; do # auto_apply_patch $i || exit 1 # done # # chmod 755 autogen.sh # ./autogen.sh #fi