[fgrun] add libpthread to link fgrun

Fabrice Bellet bellet at fedoraproject.org
Wed Mar 6 17:32:08 UTC 2013


commit c664b2f08e7d4003a63bbe9ff2714dfce4758b97
Author: Fabrice Bellet <fabrice at bellet.info>
Date:   Wed Mar 6 18:32:04 2013 +0100

    add libpthread to link fgrun

 fgrun-1.6.2-pthread.patch |   12 ++++++++++++
 fgrun.spec                |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/fgrun-1.6.2-pthread.patch b/fgrun-1.6.2-pthread.patch
new file mode 100644
index 0000000..c1a027c
--- /dev/null
+++ b/fgrun-1.6.2-pthread.patch
@@ -0,0 +1,12 @@
+diff -uNrp fgrun-1.6.2.orig/src/CMakeLists.txt fgrun-1.6.2.new/src/CMakeLists.txt
+--- fgrun-1.6.2.orig/src/CMakeLists.txt	2013-03-06 18:20:09.283032667 +0100
++++ fgrun-1.6.2.new/src/CMakeLists.txt	2013-03-06 18:21:05.317103046 +0100
+@@ -116,6 +116,7 @@ target_link_libraries(fgrun
+     ${ZLIB_LIBRARIES}
+     ${INTL_LIBRARY}
+     ${OPENPTY_LIBRARY}
++    pthread
+     )
+ 
+ install(TARGETS fgrun RUNTIME DESTINATION bin)
+Binary files fgrun-1.6.2.orig/src/.CMakeLists.txt.swp and fgrun-1.6.2.new/src/.CMakeLists.txt.swp differ
diff --git a/fgrun.spec b/fgrun.spec
index c9822ef..48e0814 100644
--- a/fgrun.spec
+++ b/fgrun.spec
@@ -1,7 +1,7 @@
 Name:           fgrun
 Summary:        Graphical front-end for launching FlightGear flight simulator
 Version:        1.6.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 License:        GPLv2+ and CC-BY-SA
 Group:          Amusements/Games
 URL:            http://sourceforge.net/projects/fgrun
@@ -21,6 +21,7 @@ Patch1:         fgrun-1.6.1-fix-crash-when-setting-defaults.patch
 Patch2:         fgrun-1.6.2-default-settings-for-fedora.patch
 Patch3:         fgrun-1.6.2-fix-reloadpath-logic.patch
 Patch4:         fgrun-1.6.2-update-required-simgear-version.patch
+Patch5:         fgrun-1.6.2-pthread.patch
 Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires:       FlightGear, opengl-games-utils, hicolor-icon-theme
 BuildRequires:  SimGear-devel >= 2.6.0
@@ -40,6 +41,7 @@ FlightGear flight simulator
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 cp -a %{SOURCE2} .
 
 %build 
@@ -109,6 +111,9 @@ rm -fr %{buildroot}
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog 
+* Wed Mar 06 2013 Fabrice Bellet <fabrice at bellet.info> - 1.6.2-4
+- add libpthread to link fgrun
+
 * Mon Feb 18 2013 Fabrice Bellet <fabrice at bellet.info> - 1.6.2-3
 - rebuilt with newer SimGear
 


More information about the scm-commits mailing list