It's easiest if you download the patch by hand, and put it into
package/asterisk-gui/asterisk-guiXXX.patch where XXX is of your choosing.
Otherwise... you can add the wget into the section that begins:
$(DL_DIR)/$(ASTERISK-GUI_SOURCE):
svn co -r $(ASTERISK-GUI_SVN_VER) $(ASTERISK-GUI_SITE)
$(DL_DIR)/asterisk-gui-$(ASTERISK-GUI_VERSION)
(cd $(DL_DIR); tar czf $(ASTERISK-GUI_SOURCE)
asterisk-gui-$(ASTERISK-GUI_VERSION))
... right here ...
besides being simpler, the advantages of adding the patch statically are:
(1) you can build an image even if your network is down (yup, been there
where I had to build and install a new version to get the network back up);
(2) you know for sure which version of the patch you have (in case it's
subject to change);
Let me know if that works for you.
-Philip
David Kerr wrote:
> I'm building my own astlinux 0.6 from the source. During the build
> process source code is downloaded from various svn systems. Now I am
> trying to figure out how to apply a patch to the source after the
> download but before the compile/build process kicks in. Specifically
> I am messing around with the asterisk-gui.
>
> So I can see in the package .mk file where the svn download takes
> place. But I am not sure how I would modify that make file to do a
> wget to pull a patch and then run the patch command to apply it.
>
> I'm sort-of hoping that this capability has been designed into the
> AstLinux build process and all I really need is a pointer to an
> example that I can copy?
>
> Any help appreciated.
>
> Thanks
> David
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to [EMAIL
PROTECTED]