This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository osgearth.

commit 7c57c621d5e214ef899670bb21ae70a266af7883
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Mon May 25 17:53:32 2015 +0200

    Add patch to fix "undefined reference to symbol 'XInitThreads'" FTBFS.
---
 debian/changelog                                   |  6 +++
 debian/patches/series                              |  1 +
 ...ndefined-reference-to-symbol-XInitThreads.patch | 56 ++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 77c0b5a..4909fc3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+osgearth (2.6.0+dfsg-1~exp3) UNRELEASED; urgency=medium
+
+  * Add patch to fix "undefined reference to symbol 'XInitThreads'" FTBFS.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Mon, 25 May 2015 17:38:14 +0200
+
 osgearth (2.6.0+dfsg-1~exp2) experimental; urgency=medium
 
   * Add upstream metadata.
diff --git a/debian/patches/series b/debian/patches/series
index d9cccbd..7ce0835 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ version.patch
 fallback-getCurrentThreadId.patch
 kfreebsd-getCurrentThreadId.patch
 cmake-FindMiniZip.patch
+undefined-reference-to-symbol-XInitThreads.patch
diff --git a/debian/patches/undefined-reference-to-symbol-XInitThreads.patch 
b/debian/patches/undefined-reference-to-symbol-XInitThreads.patch
new file mode 100644
index 0000000..ca0e398
--- /dev/null
+++ b/debian/patches/undefined-reference-to-symbol-XInitThreads.patch
@@ -0,0 +1,56 @@
+Description: Link X11 to fix FTBFS.
+ /usr/bin/ld: CMakeFiles/application_osgearth_package_qt.dir/package_qt.cpp.o: 
undefined reference to symbol 'XInitThreads'
+ //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing 
from command line
+Author: Sandro Mani <manisan...@gmail.com>
+Origin: 
https://kojipkgs.fedoraproject.org//packages/osgearth/2.6/4.fc22/src/osgearth-2.6-4.fc22.src.rpm
+
+--- a/src/applications/osgearth_demo/CMakeLists.txt
++++ b/src/applications/osgearth_demo/CMakeLists.txt
+@@ -16,6 +16,7 @@ ELSE()
+         ${QT_QTCORE_LIBRARY}
+         ${QT_QTGUI_LIBRARY}
+         ${QT_QTOPENGL_LIBRARY}
++        X11
+     )
+ ENDIF()
+ 
+--- a/src/applications/osgearth_package_qt/CMakeLists.txt
++++ b/src/applications/osgearth_package_qt/CMakeLists.txt
+@@ -59,6 +59,7 @@ SET(TARGET_ADDED_LIBRARIES
+     ${QT_QTCORE_LIBRARY}
+     ${QT_QTGUI_LIBRARY}
+     ${QT_QTOPENGL_LIBRARY}
++    X11
+ )
+ 
+ #### end var setup  ###
+--- a/src/applications/osgearth_qt/CMakeLists.txt
++++ b/src/applications/osgearth_qt/CMakeLists.txt
+@@ -38,6 +38,7 @@ SET(TARGET_ADDED_LIBRARIES
+     ${QT_QTCORE_LIBRARY}
+     ${QT_QTGUI_LIBRARY}
+     ${QT_QTOPENGL_LIBRARY}
++    X11
+ )
+ 
+ #### end var setup  ###
+--- a/src/applications/osgearth_qt_simple/CMakeLists.txt
++++ b/src/applications/osgearth_qt_simple/CMakeLists.txt
+@@ -34,6 +34,7 @@ SET(TARGET_ADDED_LIBRARIES
+     ${QT_QTCORE_LIBRARY}
+     ${QT_QTGUI_LIBRARY}
+     ${QT_QTOPENGL_LIBRARY}
++    X11
+ )
+ 
+ #### end var setup  ###
+--- a/src/applications/osgearth_qt_windows/CMakeLists.txt
++++ b/src/applications/osgearth_qt_windows/CMakeLists.txt
+@@ -29,6 +29,7 @@ SET(TARGET_ADDED_LIBRARIES
+     ${QT_QTCORE_LIBRARY}
+     ${QT_QTGUI_LIBRARY}
+     ${QT_QTOPENGL_LIBRARY}
++    X11
+ )
+ 
+ #### end var setup  ###

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/osgearth.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to