Here is an example which combines two patches into a single depot. The patches are named PATCH1_NAME and PATCH2_NAME. Of course, you must substitute real patch names.
% sh PATCH1_NAME
% sh PATCH2_NAME
*.depot
files into a single depot:
% swcopy -s PATCH1_NAME.depot PATCH1_NAME @ /tmp/patch_depot
% swcopy -s PATCH2_NAME.depot PATCH2_NAME @ /tmp/patch_depot
% swlist -s /tmp/patch_depot
/tmp/patch_depot).
You can use the Actions->Match What The Target Has to select
those patches which apply to your system. Or, you can manually
select them. Use Actions->Install to install the patches.
% swreg -u -l depot /tmp/patch_depot
/tmp/patch_depot directory
and it's contents from the system.
% rm -rf /tmp/patch_depot