aboutsummaryrefslogtreecommitdiffstats
path: root/community/sigar/0006-fix-undefined-symbols.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/sigar/0006-fix-undefined-symbols.patch')
-rw-r--r--community/sigar/0006-fix-undefined-symbols.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/sigar/0006-fix-undefined-symbols.patch b/community/sigar/0006-fix-undefined-symbols.patch
new file mode 100644
index 0000000000..a29b5b7490
--- /dev/null
+++ b/community/sigar/0006-fix-undefined-symbols.patch
@@ -0,0 +1,13 @@
+Description: fix 'undefined symbol: sigar_skip_token' problem as suggested
+ in upstream's issue tracker: https://github.com/hyperic/sigar/issues/60
+Author: Andrius Merkys <merkys@debian.org>
+--- a/bindings/java/hyperic_jni/jni-build.xml
++++ b/bindings/java/hyperic_jni/jni-build.xml
+@@ -305,6 +305,7 @@
+ <compilerarg value="-Wall"/>
+ <compilerarg value="-Werror" if="jni.werror"/>
+ <compilerarg value="${jni.gccm}" if="jni.gccm"/>
++ <compilerarg value="-fgnu89-inline"/>
+ <defineset>
+ <define name="${jni.define.name}_LINUX"/>
+ <define name="_REENTRANT"/>