- link with X11 for missing XInitThreads auto/th/avogadro-1.0.3-11
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Jun 2015 11:15:58 +0000 (11:15 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Jun 2015 11:15:58 +0000 (11:15 +0000)
- rel 11

avogadro.spec
link-X11.patch [new file with mode: 0644]

index e4fcd10..b219077 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       An advanced molecular editor for chemical purposes
 Name:          avogadro
 Version:       1.0.3
-Release:       10
+Release:       11
 License:       GPL v2
 Group:         Applications/Editors
 Source0:       http://downloads.sourceforge.net/avogadro/%{name}-%{version}.tar.bz2
@@ -9,6 +9,7 @@ Source0:        http://downloads.sourceforge.net/avogadro/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-linguist.patch
 Patch1:                %{name}-cmake.patch
 Patch2:                %{name}-moc-boost.patch
+Patch3:                link-X11.patch
 URL:           http://avogadro.openmolecules.net/
 BuildRequires: QtNetwork-devel
 BuildRequires: QtOpenGL-devel
@@ -59,6 +60,7 @@ libraries.
 %patch0 -p0
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 install -d build
diff --git a/link-X11.patch b/link-X11.patch
new file mode 100644 (file)
index 0000000..9470cdd
--- /dev/null
@@ -0,0 +1,11 @@
+--- avogadro-1.0.3/avogadro/src/CMakeLists.txt~        2011-04-25 05:22:18.000000000 +0000
++++ avogadro-1.0.3/avogadro/src/CMakeLists.txt 2015-06-27 11:08:27.021146247 +0000
+@@ -83,7 +83,7 @@
+ set_target_properties(avogadro-app PROPERTIES OUTPUT_NAME avogadro)
+-target_link_libraries(avogadro-app ${OPENBABEL2_LIBRARIES} ${QT_LIBRARIES}
++target_link_libraries(avogadro-app ${OPENBABEL2_LIBRARIES} ${QT_LIBRARIES} X11
+     avogadro)
+ if(APPLE)
This page took 0.089094 seconds and 4 git commands to generate.