Control: tags -1 patch

The above occurs because fgrun uses an old version of simgear which doesn't support openscenegraph 3.2; recompiling against simgear 2.10+ (which requires the attached patch because the library names changed) should fix it.
Tell fgrun that simgear's library names have changed.
$ diff -up fgrun-1.6.0/src/Makefile.am_orig fgrun-1.6.0/src/Makefile.am
--- fgrun-1.6.0/src/Makefile.am_orig	2011-09-11 16:55:39.000000000 +0100
+++ fgrun-1.6.0/src/Makefile.am	2013-10-02 22:22:59.902444571 +0100
@@ -33,7 +33,7 @@ fgrun_SOURCES = \
 	util.cxx util.h \
 	$(platform_srcs)
 
-simgear_libs = -lsgmodel -lsgscreen -lsgprops -lsgxml -lsgdebug -lsgbvh -lsgmaterial -lsgmodel -lsgutil -lsgstructure -lsgprops -lsgtgdb -lsgmath -lsgmisc -lsgbvh -lsgio -lsgbucket -lsgmodel -lsgutil -lsgthreads
+simgear_libs = -lSimGearScene -lSimGearCore
 
 fgrun_LDADD = $(simgear_libs)
 
$ diff -up fgrun-1.6.0/src/Makefile.in_orig fgrun-1.6.0/src/Makefile.in
--- fgrun-1.6.0/src/Makefile.in_orig	2011-09-11 16:55:41.000000000 +0100
+++ fgrun-1.6.0/src/Makefile.in	2013-10-02 22:22:58.670444608 +0100
@@ -247,7 +247,7 @@ fgrun_SOURCES = \
 	util.cxx util.h \
 	$(platform_srcs)
 
-simgear_libs = -lsgmodel -lsgscreen -lsgprops -lsgxml -lsgdebug -lsgbvh -lsgmaterial -lsgmodel -lsgutil -lsgstructure -lsgprops -lsgtgdb -lsgmath -lsgmisc -lsgbvh -lsgio -lsgbucket -lsgmodel -lsgutil -lsgthreads
+simgear_libs = -lSimGearScene -lSimGearCore
 fgrun_LDADD = $(simgear_libs)
 all: $(BUILT_SOURCES) config.h
 	$(MAKE) $(AM_MAKEFLAGS) all-am
$ diff -up fgrun-1.6.0/debian/control_orig fgrun-1.6.0/debian/control
--- fgrun-1.6.0/debian/control_orig	2011-11-09 11:43:42.000000000 +0000
+++ fgrun-1.6.0/debian/control	2013-10-02 22:41:06.662412461 +0100
@@ -3,7 +3,7 @@ Section: games
 Priority: optional
 Maintainer: Debian FlightGear Crew <pkg-fgfs-c...@lists.alioth.debian.org>
 Uploaders: Christopher Baines <cbain...@gmail.com>
-Build-Depends: debhelper (>= 8.9.9), autotools-dev, libfltk1.1-dev, simgear-dev (>= 2.4.0), libboost-dev, zlib1g-dev (>= 1:1.2.3.4.dfsg-3)
+Build-Depends: debhelper (>= 8.9.9), autotools-dev, libfltk1.1-dev, libsimgear-dev, libboost-dev, zlib1g-dev (>= 1:1.2.3.4.dfsg-3)
 Standards-Version: 3.9.2
 Homepage: http://fgrun.sourceforge.net/
 

Reply via email to