Commit 5f887ce23a38fc6b9f395593a4f7ce1de5b80e8d

Don't remove all dependencies when patching the pkg.

Only remove dependencies that are known to cause unncessary warnings
from pkg files when patching them with patch_capabilities.pl script.

Task-number: QTBUG-8018
Reviewed-by: Janne Koskinen
  
131131 }
132132 }
133133
134 # Remove all dependencies to other packages to reduce unnecessary error messages
135 # from depended packages that are also patched and therefore have different UID.
136 if ($line =~ m/^\(0x[0-9|a-f|A-F]*\).*\{.*\}$/)
134 # Remove dependencies to known problem packages (i.e. packages that are likely to be patched, also)
135 # to reduce unnecessary error messages.
136 if ($line =~ m/^\(0x2002af5f\).*\{.*\}$/)
137 {
138 $newLine = "\n"
139 }
140 if ($line =~ m/^\(0x2001E61C\).*\{.*\}$/)
137141 {
138142 $newLine = "\n"
139143 }