File lttng-trace-viewer-npe-when-exporting-product-containing-a-license-feature.patch of Package lttng-trace-viewer
From: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Subject: NPE when exporting product containing a license feature
References: https://bugs.eclipse.org/bugs/show_bug.cgi?id=419759
Signed-Off-By: Tony Jones <tonyj@suse.de>
Add dummy test to unused XML fields to avoid null pointer exception in build
system.
--- org.eclipse.linuxtools-2.2.1/releng/org.eclipse.linuxtools.license-feature/feature.xml.orig 2013-12-09 20:26:49.000000000 -0800
+++ org.eclipse.linuxtools-2.2.1/releng/org.eclipse.linuxtools.license-feature/feature.xml 2014-04-02 18:05:32.119169123 -0700
@@ -4,4 +4,16 @@
label="Linux Tools License Feature"
version="1.0.0.qualifier">
+ <description>
+ dummy text
+ </description>
+
+ <copyright>
+ dummy text
+ </copyright>
+
+ <license url="">
+ dummy text
+ </license>
+
</feature>