--- searchandrescue-1.5.0.orig/debian/README.Debian
+++ searchandrescue-1.5.0/debian/README.Debian
@@ -0,0 +1,12 @@
+SAR used to use libjsw for joystick support.  However, libjsw is no
+longer supported in Debian.  The game is still playable with the
+keyboard.
+
+Also, if a joystick is detected, then it will be used instead of the
+keyboard for pitch, bank and (if there are enough joystick axes)
+throttle controls.   The joystick will not appear in SAR's
+configuration menu (we need to fix this still).
+
+SAR used to use libY2 for sound support.  It should now use SDL's
+audio support.
+
--- searchandrescue-1.5.0.orig/debian/SearchAndRescue.desktop
+++ searchandrescue-1.5.0/debian/SearchAndRescue.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Search and rescue
+Exec=SearchAndRescue
+Terminal=False
+Type=Application
+Categories=Game
--- searchandrescue-1.5.0.orig/debian/SearchAndRescue.xpm
+++ searchandrescue-1.5.0/debian/SearchAndRescue.xpm
@@ -0,0 +1,268 @@
+/* XPM */
+static char *SearchAndRescue[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 230 2",
+"   c #17051486167C",
+".  c #1A81167D1694",
+"X  c #38371703153B",
+"o  c #322B1C31160C",
+"O  c #19C31DA4217D",
+"+  c #2B241DD4213B",
+"@  c #1C942089235D",
+"#  c #22F8215C2528",
+"$  c #2566255D299B",
+"%  c #2A8731F12703",
+"&  c #322032982BE2",
+"*  c #2E7C2C983236",
+"=  c #2C5B320D3712",
+"-  c #31E433463575",
+";  c #38C7350837A3",
+":  c #378936553C95",
+">  c #370A382338DD",
+",  c #3BC13DDA3CFC",
+"<  c #43901BF413F0",
+"1  c #54CC1DFE157A",
+"2  c #743C040900E7",
+"3  c #7B091744092F",
+"4  c #6A5B26A81B08",
+"5  c #71B521241994",
+"6  c #5089261F25A8",
+"7  c #5B34340A2B88",
+"8  c #4CDC3D4A3AED",
+"9  c #56F2337831BA",
+"0  c #78211FBA223E",
+"q  c #777B2F432599",
+"w  c #77033BEF2F30",
+"e  c #68353B3D32A1",
+"r  c #77624717364E",
+"t  c #1B7637BD514D",
+"y  c #1C1A3CF658D0",
+"u  c #2E183B464B22",
+"i  c #39263B9B44F2",
+"p  c #285D3F865719",
+"a  c #5DB13EFC4B05",
+"s  c #377C424A4C64",
+"d  c #2E7742095581",
+"f  c #2BCC44B75C82",
+"g  c #1CD944846C76",
+"h  c #1DDB4ACD7396",
+"j  c #23DF44FC6675",
+"k  c #2DE9478A63C2",
+"l  c #2F204A40642A",
+"z  c #2C2A4B6F6B86",
+"x  c #33A54BE36308",
+"c  c #39234D3161AD",
+"v  c #30984DCE6AE4",
+"b  c #3A384FAE6A07",
+"n  c #369454516F7D",
+"m  c #25624E6574E0",
+"M  c #28284D8C763C",
+"N  c #22844ECA795B",
+"B  c #256B50FB76D3",
+"V  c #2CFE55177682",
+"C  c #24D9530A7C78",
+"Z  c #29C454717D24",
+"A  c #23AC57F77E17",
+"S  c #289857DF7E72",
+"D  c #39325864765D",
+"F  c #3335560A79E4",
+"G  c #34725AE979A0",
+"H  c #3B7B59077B2B",
+"J  c #3CA2620E7E3C",
+"K  c #41C3421442E3",
+"L  c #436047344B5F",
+"P  c #5B5E552C4FEF",
+"I  c #510E53345D48",
+"U  c #6F1D44744BB7",
+"Y  c #791B4A7243DE",
+"T  c #6312529D4E6E",
+"R  c #707E519C4BBB",
+"E  c #610B449E51AB",
+"W  c #6DC8478B4FE7",
+"Q  c #79364F9856D2",
+"!  c #74CC5464567E",
+"~  c #50F753C969E5",
+"^  c #5CE7593C6949",
+"/  c #44335B107228",
+"(  c #4D355F987012",
+")  c #64DC5C6E6604",
+"_  c #61895C0271B7",
+"`  c #4955620C6086",
+"'  c #4C1A65BE6AAB",
+"]  c #497765597DD6",
+"[  c #56CB637B715E",
+"{  c #5113660F7910",
+"}  c #51D368067CDD",
+"|  c #637D63F774A7",
+" . c #6AD064C37293",
+".. c #7B1E640371DB",
+"X. c #66C171DC794A",
+"o. c #81A80E4F0602",
+"O. c #94F615D606D7",
+"+. c #91001DB60F4D",
+"@. c #A6210CD1031E",
+"#. c #B1B91A460C9D",
+"$. c #9FD1282D1788",
+"%. c #90F22E4F1E35",
+"&. c #8BDF347D1F4E",
+"*. c #9BF137091BEB",
+"=. c #B55B245911E6",
+"-. c #B5EC35DB1C80",
+";. c #BB9D311417B9",
+":. c #97D6364D2549",
+">. c #9A99311B1FFB",
+",. c #935D3E212940",
+"<. c #8B95314E34C3",
+"1. c #91EF3DA034B6",
+"2. c #A85132B52025",
+"3. c #A59F35F6282D",
+"4. c #AFD33C5A2AA0",
+"5. c #BF5B35FA2540",
+"6. c #B7503A292157",
+"7. c #C9F41D580A57",
+"8. c #C31C25420B89",
+"9. c #C217271C10B8",
+"0. c #CAE22C6E17D7",
+"q. c #DB8021CC0FC0",
+"w. c #DAF92A9F1646",
+"e. c #C86236C31DC2",
+"r. c #EAE938261E57",
+"t. c #AEFE4706315D",
+"y. c #D8A3416728A1",
+"u. c #DD124A832E6D",
+"i. c #D91A474E31EC",
+"p. c #D7CE48BA347B",
+"a. c #8C1D52C2487C",
+"s. c #82154D2151F2",
+"d. c #95C85DA45879",
+"f. c #A8D34C2A4411",
+"g. c #B15D586F4DD9",
+"h. c #BF6C5B2F4D0B",
+"j. c #A0EC57145246",
+"k. c #ACFB657C5F88",
+"l. c #A0815DCE669D",
+"z. c #890668E965F7",
+"x. c #89E064FE6F14",
+"c. c #9711606E6354",
+"v. c #925B6A166469",
+"b. c #83816A557855",
+"n. c #9BA768BD7232",
+"m. c #8A517C037A39",
+"M. c #A41777736FC0",
+"N. c #A4DD775E74AF",
+"B. c #DF2A59C04238",
+"V. c #D55B680553B0",
+"C. c #D9557247586D",
+"Z. c #F73C62014BCA",
+"A. c #DE2F726063AF",
+"S. c #BB7681B77B90",
+"D. c #26D3572380C2",
+"F. c #2999570E8167",
+"G. c #276F5962827F",
+"H. c #2C385B7984C9",
+"J. c #2E5D5E9D8925",
+"K. c #30D95DAF85A9",
+"L. c #30BA5F61896E",
+"P. c #2F6E605C86D8",
+"I. c #2F0361AB8A58",
+"U. c #33EA602885A3",
+"Y. c #3AE7630885EE",
+"T. c #333C63668C3D",
+"R. c #382665C18C58",
+"E. c #36E868D78ED7",
+"W. c #3BA569E68E54",
+"Q. c #2F89674F9097",
+"!. c #35D7668A90B7",
+"~. c #386467AF9136",
+"^. c #362C6AE29323",
+"/. c #3AB56C61947A",
+"(. c #3F746F6698D3",
+"). c #3D5E70C4972F",
+"_. c #3D9F735C9AB5",
+"`. c #444761AC810D",
+"'. c #4625686C8637",
+"]. c #4ABD6DA9878F",
+"[. c #44DE6D828D24",
+"{. c #49BF6B528C81",
+"}. c #525F6AF58433",
+"|. c #52886DED8E16",
+" X c #495471818F61",
+".X c #599475058AB3",
+"XX c #41E66ED7948B",
+"oX c #409C6EB498D7",
+"OX c #420D71FE953D",
+"+X c #420975239C99",
+"@X c #4A27740A9856",
+"#X c #446579099F60",
+"$X c #4D337A339BD7",
+"%X c #53857A629AA4",
+"&X c #5A747C1C9963",
+"*X c #606575EA85F7",
+"=X c #66ED7AF78D40",
+"-X c #47867699A099",
+";X c #45C37B95A26B",
+":X c #49F47E49A4F4",
+">X c #832879AE873B",
+",X c #97417A0385E2",
+"<X c #7F5F8B9998AC",
+"1X c #4B2581D1A642",
+"2X c #4DBE84D5AA5C",
+"3X c #522685A4A6C1",
+"4X c #522C8666AA61",
+"5X c #54488A6FADEC",
+"6X c #550A8C22B0F6",
+"7X c #5A0C8F2BB333",
+"8X c #5D4B9284B589",
+"9X c #63A78773A5CF",
+"0X c #740E8F08A729",
+"qX c #7CDC9611AB2C",
+"wX c #615C96BFB65B",
+"eX c #629396E8B8F9",
+"rX c #65A398D5BA7A",
+"tX c #6C5E9E1DBC6B",
+"yX c #6DD9A097BC8D",
+"uX c #9B2587908C3F",
+"iX c #8FB88C449318",
+"pX c #91179189997F",
+"aX c #B75095E486DA",
+"sX c #BCBE961898D7",
+"dX c #82DF9B54AF6F",
+"fX c #9E28A9C1AF5E",
+"gX c #D66193C58E46",
+"hX c #DE569C4792AA",
+"jX c #F1B7AB919B0A",
+"kX c #A253B707C7A3",
+/* pixels */
+"4X6X6X6X6X6X8X8X7X6X8X6X8X8X8X8X8XyXwXwXrXeXeXeXeXrXtXtXtXtXtXtX",
+"2X5X2X2X2X6X2X6X5X5X6X6X2X5X5X6X5X6X5X5X5X5X7X8X8XeX8XtXeXwXwXrX",
+":X1X1X;X:X;X:X2X2X1X1X2X2X1X2X2X1X#X1X1X:X3X4X3X6X4X4X3X5X5X6X6X",
+";X;X_.#X_._._.;X:X1X_._.;X1X;X;X1X1X1X$X:X1X1X1X%X:X:X3X3X3X4X3X",
+"^._._._._.;X#X#X#X_._._.#X;X#X#X#X;X1X#X#X;X;X$X,.| 1X5X3X1X4X8X",
+"_._._._._.;X_._._._._._.#X;X#X#X_.#X_._.#X;X#X$X*.| 1X2X$X:X1X1X",
+":X;X_.;X_._._._._._._._._._._._.#X_.^.)._.#X_.[.&.| _._.+X_.+X+X",
+"^.Q.^._.Q._._.^._.^._.).^.^.(.+X#X_.)._._._._.[.&.^ ;X#X#X+X).#X",
+"_.Q.Q._.^.^.^.^.^._.#X).^.^.~.(.;X;X+X#X).^./.{.t.| ).^.).^./.).",
+"Q.^._.;X).^.^._._.#X).^.OXOX^.(.#XOX[.+XOX^.E.,XA.pX_. XX.XXE.OX",
+"^.^.Q.;X#X_.)._.1X@X#XR.}.} R./.!.`.W ).@XOX^.S.hXS.Q.] uX].G W.",
+"Q.Q.^.^.^.).^.)./.)./.E.W.c =X[.).`.U I.$X.X( g.S.fX^.J U /.+X#X",
+"!.J.H.T.T.^.T.T.P.I.E.E.^.E.}.X.*X<Xz.>X>XiXC.u.V.sXb.x.Q ).).(.",
+"G.J.H.T.J.P.T.T.W.Y.J x ] [.%X<Xm.v.h.B.t.aXjXh.4.c.b...}.;X(./.",
+"J.Z G F l d [ / [ { W.W.^./ N.gX4.R M.+.o.2.u.<.H ).^.^.+XE.T.T.",
+"f ~ i u l f z P.Q.E.W.|.@Xn t.7.=.9 ! z.5 0.r.l.(././.+XOX/.^.^.",
+"v L.H.T.J.J.H.J.H.T._ f.j.n.Z.r.w.2 5 k.d.%.e.d.XX/.).(./.XX(.^.",
+"T.J.H.J.J.J.H.H.T.^.F H s.p.5.q.w.#.@.9.y.y.-.! R.^.W.E.T.XXOX).",
+"/.!.J.H.J.J.!.J.G.H.J.[.' Y :.>.4.i.3.=.8.;.6. .T.R.^./.R.T.).^.",
+"L.J.J.T.!.^.^.I.R.T.J ` T w % & e 1.; 5 O.$.2.~ Q.P.P.S Z V T.OX",
+"!.J.L.!.J.J.J.H.E.E.D s ; .   # * 6 + < 0 <.a K.P.P.U.V '.&XdXkX",
+"H.H.H.D.N D.D.D.F.Y.b i K $ @ # + + . o 3 a m S P.P.G.W.$X9X0XqX",
+"h h M h h N N N N j i : - - - @ X 1 4 q a m C C F.G.I.^.E.T.K.R.",
+"h g M g h N Z Z C k I L - * K > o 6 a.E F.C F.H.H.A G T.T.T.H.H.",
+"F.D.F.M F.F.F.K.F.u ) , = - , P r e ~ K.L.J.L.~.R.J.T.J.L.K.C B ",
+"!.~.!.M N F.L.M Z p = @ O 8 7 )  .n K.Z Z H.H.L.R.J.F.F.J.K.F.F.",
+"F.H.J.F.F.F.L.F.F.m y t g F z m K.Z Z M K.L.H.H.L.E.T.!.^.E.E.).",
+"F.N J.J.K.L.T.L.L.J.J.F.S C B C S F.F.F.L.L.C D.D.F.H.T.(.T.I.).",
+"J.!.!.J.F.L.F.F././.!.!././.^.!.T.T.J.H.H.N N J.L.J.F.F.H.J.A G.",
+"F.!.~./.oXL.L.H.T.T./.!./.oXoX/.(.T.(.-XoXoX!.!.!.!.E.L.T.^.(./.",
+"!.H.H.F.D.F./.~.~.~.L.H.T.oX!.L.^.~.(.(.oXoX+X/.R.T.oXL.J.L.U.I.",
+"!.L.F.H.H.J./.~.T.L.L.!./.-X-XoX(.(.(./.!.oX/./.~.~./.~.!.R.^.T."
+};
--- searchandrescue-1.5.0.orig/debian/changelog
+++ searchandrescue-1.5.0/debian/changelog
@@ -0,0 +1,401 @@
+searchandrescue (1.5.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bump standards-version to 3.9.4.
+  * Hardening flags: added to debian/rules and sar/makefile_append.ini.
+
+ -- Phil Brooke <pjb@debian.org>  Thu, 31 Oct 2013 18:05:51 +0000
+
+searchandrescue (1.4.0-2) unstable; urgency=low
+
+  * Acknowledge NMU 1.4.0-1.1 -- thanks.
+  * Bump standards-version to 3.9.3.
+  * Fix too-large pixmap icon, override with debian/SearchAndRescue.xpm.
+
+ -- Phil Brooke <pjb@debian.org>  Mon, 11 Jun 2012 12:05:00 +0100
+
+searchandrescue (1.4.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS in sid: install: cannot stat `SearchAndRescue': No such
+    file or directory": fix build* target dependencies in debian/rules.
+    (Closes: #673864)
+
+ -- gregor herrmann <gregoa@debian.org>  Wed, 06 Jun 2012 18:45:33 +0200
+
+searchandrescue (1.4.0-1) unstable; urgency=low
+
+  * New upstream release (closes: #636561).
+
+ -- Phil Brooke <pjb@debian.org>  Wed, 07 Dec 2011 15:58:31 +0000
+
+searchandrescue (1.3.0-1) unstable; urgency=low
+
+  * New upstream release.  Bumped dependency on searchandrescue-data,
+    too.  (Closes: #598242.)
+  * binutils-gold/--no-add-needed FTBFS appears to be fixed by SDL
+    symlinking libsdl.  Checked with/without bintuils-gold,
+    with/without -Wl,--no-add-needed on i386 and amd64.  
+    (Closes: #615773.)
+  * Added some additional (verbose) debugging code for pconf.
+  * Added --ignore-environments to configure command, because
+    dpkg-buildflags seems to confuse it.  Needs a better long-term fix.
+  * Removed Debian-specific (redundant) joystick patches.
+  * Removed broken watch file.
+  * Manual page now in common package.  Added override to binary package.
+  * Bumped standards-version to 3.9.2.
+  * Add build-arch and build-indep targets.
+
+ -- Phil Brooke <pjb@debian.org>  Fri, 01 Jul 2011 10:42:20 +0100
+
+searchandrescue (1.0.0-1) unstable; urgency=low
+
+  * New upstream release. 
+    * New upstream.
+    * Added homepage to control.
+  * Added debian/source/format of 1.0.
+  * Replaced dh_clean -k with dh_prep and bump compat to 7.
+  * Upstream has added SDL sound support.  Adding new build-depends.
+    Added #define in sound.h to force SDL sound.
+  * Added Jesse Smith's name to copyright file.
+  * Added simple patch to use joystick via SDL if available.  (Patch
+    sent to upstream for inclusion.)  Added comment in README.
+
+ -- Phil Brooke <pjb@debian.org>  Tue, 22 Jun 2010 10:57:34 +0100
+
+searchandrescue (0.8.2-11) unstable; urgency=low
+
+  * Bump standards version to 3.8.4.
+  * Add ${misc:Depends} to Depends.
+  * Bump debian/compat to 6 (remove from rules) and build-depends on
+    debhelper.
+  * Homepage has gone away, remove from control file.
+  * Removed libjsw-dev dependency (removed due to GTK1.2 removal).
+  * Add comment to README.Debian about flight controls and update
+    control description.
+  * Add (parts of) patch from Scott Kitterman and Stefan Potyra --
+    thank you.  (Closes: #546399.)
+      * Add missing #include <stdio.h> in sar/gctl.c for gcc 4.4
+        compatibility.
+      * Remove deprecated dh_desktop calls from debian/rules.
+      * sar/string.cpp, include/string.h: Disable strcasestr if
+        _GNU_SOURCE is defined (for gcc 4.4 compatibility), as this
+        function is already part of (e)glibc as a _GNU_SOURCE
+        extension.
+
+ -- Phil Brooke <pjb@debian.org>  Mon, 08 Feb 2010 16:28:45 +0000
+
+searchandrescue (0.8.2-10) unstable; urgency=low
+
+  * Add desktop file (closes: 476962).
+  * Remove old x-dev and libglu1 build-dependencies, added libglu1-mesa-dev.
+  * Bump standards-version to 3.8.0.
+
+ -- Phil Brooke <pjb@debian.org>  Fri, 18 Jul 2008 07:17:50 +0100
+
+searchandrescue (0.8.2-9) unstable; urgency=low
+
+  * Fixed broken clean target causing FTBFS (closes: #457346).
+  * Add better watch file, on suggestion from Raphael Geissert.
+
+ -- Phil Brooke <pjb@debian.org>  Thu, 27 Dec 2007 14:47:24 +0000
+
+searchandrescue (0.8.2-8) unstable; urgency=low
+
+  * Update to standards-version 3.7.3: 
+      * Modified debian/menu.
+  * Applied patches:
+      * From Brian M. Carlson to fix FTBFS (closes: 387117).
+      * From Lior Kaplan to make binNMU safe (modifies depends to
+        source:Version) (closes: 435953).
+      * Thanks.
+  * Removed debian/watch (closes: 449876).
+  * Modified sar/Makefile.install.UNIX so that final binaries are not
+    stripped when using DEB_BUILD_OPTIONS=nostrip (closes: 438011).
+  * Replaced DH_COMPAT in debian/rules with debian/compat.
+  * No longer ignore errors in clean target in debian/rules.
+  * Homepage moved in debian/control.
+
+ -- Phil Brooke <pjb@debian.org>  Fri, 21 Dec 2007 12:59:41 +0000
+
+searchandrescue (0.8.2-7) unstable; urgency=low
+
+  * Modifying string.cpp to fix FTBFS with gcc-snapshot package
+    (pre-release of GCC 4.2) (closes: 377175).
+
+ -- Phil Brooke <pjb@debian.org>  Wed, 26 Jul 2006 20:40:17 +0000
+
+searchandrescue (0.8.2-6) unstable; urgency=low
+
+  * Applying patch from Daniel Schepler to fix FTBFS.  Removes linking 
+    with Xi (closes: 370177).
+  * Bumped standards-version to 3.7.2.
+
+ -- Phil Brooke <pjb@debian.org>  Thu,  8 Jun 2006 11:40:52 +0000
+
+searchandrescue (0.8.2-5) unstable; urgency=low
+
+  * Replaced build-depends xlibs-dev with libx11-dev, libxext-dev,
+    libxpm-dev, libxxf86vm-dev, x-dev.
+  * Also added libsm-dev, libxmu-dev as build-depends.
+
+ -- Phil Brooke <pjb@debian.org>  Wed,  4 Jan 2006 16:38:10 +0000
+
+searchandrescue (0.8.2-4) unstable; urgency=low
+
+  * Added Recommends for yiff-server (closes: 332937).
+
+ -- Phil Brooke <pjb@debian.org>  Tue,  3 Jan 2006 21:34:04 +0000
+
+searchandrescue (0.8.2-3) unstable; urgency=low
+
+  * Changed build dependency from xlibmesa-dev to libglu1-xorg-dev 
+    (closes: 328151).
+  * Bumped standards-version to 3.6.2.
+  * prerm now uses bash, not sh.
+
+ -- Phil Brooke <pjb@debian.org>  Wed, 14 Sep 2005 07:57:16 +0100
+
+searchandrescue (0.8.2-2) unstable; urgency=low
+
+  * Applied patch from Andreas Jochens to allow searchandrescue to build 
+    on amd64 with gcc-4.0 (closes: 289495).
+  * Modified debian/control to adjust the version dependency on 
+    searchandrescue-data.
+
+ -- Phil Brooke <pjb@debian.org>  Mon, 10 Jan 2005 20:40:01 +0000
+
+searchandrescue (0.8.2-1) unstable; urgency=low
+
+  * New upstream release (closes: 287351).
+  * Updated control file to be stricter about searchandrescue-data and
+    searchandrescue-common versions.
+  * Updated description to start with lowercase letter.
+  * Fixed menu entry.
+  * Moved xpm icon files to /usr/share/pixmaps.
+  * Updated copyright file.
+
+ -- Phil Brooke <pjb@debian.org>  Sat,  8 Jan 2005 15:36:48 +0000
+
+searchandrescue (0.8.1-4) unstable; urgency=low
+
+  * Removed explicit dependency on GCC/G++ 3.2 in favour of the 
+    (default) 3.3 versions (closes: 236452).
+  * Changed package dependencies from xlibmesa3-glu to xlibmesa-glu.
+
+ -- Phil Brooke <pjb@debian.org>  Sat, 13 Mar 2004 16:05:59 +0000
+
+searchandrescue (0.8.1-3) unstable; urgency=low
+
+  * Patched menu.c (patch provided by upstream) to fix apparent 
+    double-buffering problem in menus (closes: 215458).
+
+ -- Phil Brooke <pjb@debian.org>  Sun, 19 Oct 2003 10:57:06 +0100
+
+searchandrescue (0.8.1-2) unstable; urgency=low
+
+  * Didn't properly remove doc-base directory, hopefully it's really 
+    gone this time (closes: 215461).
+
+ -- Phil Brooke <pjb@debian.org>  Mon, 13 Oct 2003 07:37:08 +0100
+
+searchandrescue (0.8.1-1) unstable; urgency=low
+
+  * New upstream release (closes: 204261).
+  * Required later release of YIFF sound server: change version of
+    build-depends on liby-dev.
+  * Newer standards-version (3.6.1.0).
+  * Upstream appears to have no docs directory now, so relevant
+    debian/rules removed.  This leaves searchandrescue-common a bit
+    empty -- but we'll keep it for now. .doc-base removed.
+
+ -- Phil Brooke <pjb@debian.org>  Sun, 12 Oct 2003 09:00:00 +0100
+
+searchandrescue (0.7.21-3) unstable; urgency=low
+
+  * Updated build-depends again for new libjsw (closes: #190984).
+
+ -- Phil Brooke <pjb@debian.org>  Wed, 30 Apr 2003 08:11:43 +0100
+
+searchandrescue (0.7.21-2) unstable; urgency=low
+
+  * Updated build-depends again to sort out FTBFS bug on some
+    architectures relating to libGLU.so (closes: #184702).
+
+ -- Phil Brooke <pjb@debian.org>  Fri, 28 Mar 2003 20:49:26 +0000
+
+searchandrescue (0.7.21-1) unstable; urgency=low
+
+  * New upstream release.
+  * searchandrescue-common now contains only a small amount of
+    documentation, because upstream now separately distribute a data
+    tgz, so we create a separate source package called
+    searchandrescue-data which generates a binary of the same name.
+  * Now build-depends on bzip2 so that we can bunzip2 the man page.
+  * Fixed typo in searchandrescue-common description (closes: #177121).
+  * Standards update to 3.5.9.0.
+  * Updated build-depends for libGLU.so (closes: #184702).
+
+ -- Phil Brooke <pjb@debian.org>  Fri, 21 Mar 2003 15:37:29 +0000
+
+searchandrescue (0.7.20-7) unstable; urgency=low
+
+  * Split this package into two: the main binary package, plus an
+    architecture independent searchandrescue-common. (closes: #168754).
+  * Changed rules to use debhelper compatibility level 4.
+  * Update to standards version 3.5.8.0.
+  * Overriding lintian warning: menu-icon-missing.
+  * Removed unnecessary Provides: sar.
+  * Fixed build-depends (xlibmesa-dev).
+
+ -- Phil Brooke <pjb@debian.org>  Sun, 12 Jan 2003 14:32:55 +0000
+
+searchandrescue (0.7.20-6) unstable; urgency=low
+
+  * Remove postinst /usr/doc/ symlink.
+  * Fixed problem when building in chroot (closes: #166596).
+
+ -- Phil Brooke <pjb@debian.org>  Wed, 30 Oct 2002 19:55:52 +0000
+
+searchandrescue (0.7.20-5) unstable; urgency=low
+
+  * Rebuilding using gcc/g++-3.2 (closes: #160106).
+  * Sorted out prerm and postinst for /usr/doc symlink.
+
+ -- Phil Brooke <pjb@debian.org>  Wed, 11 Sep 2002 15:55:55 +0100
+
+searchandrescue (0.7.20-4) unstable; urgency=low
+
+  * Changed build-depends so that nvidia-glx-dev can be used instead
+    of mesag-dev.
+  * libY2 and libjsw: clarified dependencies (closes: #152167).
+    Modified README and control files.
+
+ -- Phil Brooke <pjb@debian.org>  Tue, 16 Jul 2002 12:32:15 +0100
+
+searchandrescue (0.7.20-3) unstable; urgency=low
+
+  * Now using gcc/g++ -3.1 so that we build correctly on arm. 
+    (closes: #146253)
+
+ -- Phil Brooke <pjb@debian.org>  Thu, 30 May 2002 10:21:41 +0000
+
+searchandrescue (0.7.20-2) unstable; urgency=low
+
+  * Folded in bug fix after advice from upstream, using patch from Adam
+    Majer.  Also added g++-3.0 as build-dependency. (closes: #144704)
+
+ -- Phil Brooke <pjb@debian.org>  Sun, 28 Apr 2002 06:46:25 +0000
+
+searchandrescue (0.7.20-1) unstable; urgency=low
+
+  * New upstream release
+  * Folded in previous NMU changes (closes: #140752)
+  * New maintainer (closes: #116578)
+  * Added comment about yiff-server to README.Debian (closes: #136032)
+  * Change to sarsimbegin.c to allow compilation
+
+ -- Phil Brooke <pjb@debian.org>  Thu, 18 Apr 2002 15:35:54 +0000
+
+searchandrescue (0.7.15-3.1) unstable; urgency=low
+
+  * NMU
+  * rebuild against liby2-12.
+  * stricter versioned build-depends on liby2-dev
+
+ -- Junichi Uekawa <dancer@debian.org>  Mon,  1 Apr 2002 14:42:08 +0900
+
+searchandrescue (0.7.15-3) unstable; urgency=low
+
+  * rebuild against new version of libjsw (closes: #129718) 
+  * put url on control
+
+ -- David Kimdon <dwhedon@debian.org>  Sat, 26 Jan 2002 23:30:41 -0800
+
+searchandrescue (0.7.15-2) unstable; urgency=low
+
+  * Remove i486 and up x86 optimization flags, fixes Illegal 
+  instruction on AMD k6 (closes: #116056)
+  * remove emacs cruft from changelog (fixes lintian error)
+
+ -- David Kimdon <dwhedon@debian.org>  Tue, 27 Nov 2001 23:50:49 -0800
+
+searchandrescue (0.7.15-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- David Kimdon <dwhedon@debian.org>  Mon,  8 Oct 2001 21:32:43 -0700
+
+searchandrescue (0.7e-4) unstable; urgency=low
+
+  * fix build failure on hppa (closes: #104870) 
+
+ -- David Kimdon <dwhedon@debian.org>  Wed, 25 Jul 2001 08:16:23 -0600
+
+searchandrescue (0.7e-3) unstable; urgency=low
+
+  * don't build-depend on libc6-dev, it is build-essential
+  * upstream source location has moved, update debian/watch
+  * SearchAndRescue.xpm was in wrong place
+
+ -- David Kimdon <dwhedon@debian.org>  Sat, 14 Jul 2001 10:33:10 -0700
+
+searchandrescue (0.7e-2) unstable; urgency=low
+
+  * don't try to install into / fs during build (closes: #101384)
+  * fix some misspellings
+
+ -- David Whedon <dwhedon@debian.org>  Mon, 18 Jun 2001 21:13:44 -0700
+
+searchandrescue (0.7e-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- David Whedon <dwhedon@debian.org>  Sun, 17 Jun 2001 19:52:05 -0700
+
+searchandrescue (0.7d-2) unstable; urgency=low
+
+  * move menu to proper dir, make colors and size policy compliant. 
+
+ -- David Whedon <dwhedon@debian.org>  Thu, 10 May 2001 17:55:47 -0700
+
+searchandrescue (0.7d-1) unstable; urgency=low
+
+  * New upstream release. 
+  * Not sure why it wasn't working, it works now (closes: #93709)
+
+ -- David Whedon <dwhedon@debian.org>  Thu, 12 Apr 2001 00:05:01 -0700
+
+searchandrescue (0.6-4) unstable; urgency=low
+
+  * typo fix in debian/doc-base (closes: #79457) 
+
+ -- David Whedon <dwhedon@gordian.com>  Tue, 12 Dec 2000 12:09:48 -0800
+
+searchandrescue (0.6-3) unstable; urgency=low
+
+  * remove dh_dhelp from rules (wasn't needed anyway) (closes: #79417) 
+
+ -- David Whedon <dwhedon@gordian.com>  Tue, 12 Dec 2000 09:50:09 -0800
+
+searchandrescue (0.6-2) unstable; urgency=low
+
+  * Change name (closes: #77513) 
+  * Compile with debugging symbols when debug is in DEB_BUILD_OPTIONS 
+    (closes: #77393) 
+
+ -- David Whedon <dwhedon@gordian.com>  Sun, 26 Nov 2000 18:38:22 -0800
+
+sar (0.6-1) unstable; urgency=low
+
+  * New upstream release
+  * removed INSTALL and README from dos as they weren't relevant 
+
+ -- David Whedon <dwhedon@gordian.com>  Thu, 16 Nov 2000 19:20:19 -0800
+
+sar (0.4-1) unstable; urgency=low
+
+  * Initial Release. (closes: #71719)
+
+ -- David Whedon <dwhedon@gordian.com>  Sat, 14 Oct 2000 23:16:15 -0700
+
--- searchandrescue-1.5.0.orig/debian/compat
+++ searchandrescue-1.5.0/debian/compat
@@ -0,0 +1,2 @@
+7
+
--- searchandrescue-1.5.0.orig/debian/control
+++ searchandrescue-1.5.0/debian/control
@@ -0,0 +1,36 @@
+Source: searchandrescue
+Section: games
+Priority: extra
+Maintainer: Phil Brooke <pjb@debian.org>
+Build-Depends: debhelper (>= 7), libx11-dev, libxext-dev, libxpm-dev, libxxf86vm-dev, sharutils, bzip2, libsm-dev, libxmu-dev, libglu1-mesa-dev, libsdl1.2-dev, libsdl-mixer1.2-dev
+Standards-Version: 3.9.4
+Homepage: http://sourceforge.net/projects/searchandrescue/
+
+Package: searchandrescue
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, searchandrescue-common (= ${source:Version}), searchandrescue-data (>= 1.3.0-1)
+Conflicts: sar
+Replaces: sar
+Description: fly aircraft to search (for) and rescue people in distress
+ Tired of scores indicating things destroyed or lives snuffed? Try something
+ different -- fly a helicopter around and rescue people in distress. If you 
+ were in trouble wouldn't you want someone to rescue you? 
+ .
+ This game is intended for players of all audiences, but especially for mature
+ players who want to get away from the violence and still retain a level of
+ precise challenge. Flight difficulty can be lowered for beginners (regardless
+ of mission type), and graphics minimized to suit slower computers
+ (minimum Pentium 166 with no graphics acceleration).
+
+Package: searchandrescue-common
+Architecture: all
+Depends: ${misc:Depends}
+Conflicts: sar, searchandrescue (<< 0.7.20-7)
+Description: common files and documentation for searchandrescue
+ Tired of scores indicating things destroyed or lives snuffed? Try something
+ different -- fly a helicopter around and rescue people in distress. If you 
+ were in trouble wouldn't you want someone to rescue you? 
+ .
+ This package contains the documentation and architecture independent
+ (common) files.
+
--- searchandrescue-1.5.0.orig/debian/copyright
+++ searchandrescue-1.5.0/debian/copyright
@@ -0,0 +1,20 @@
+This package was debianized by David Kimdon <dwhedon@debian.org> on
+Sat, 14 Oct 2000 23:16:15 -0700.
+
+It was downloaded from http://wolfpack.twu.net/
+
+Upstream Authors: WolfPack Entertainment, 
+		  Joel Baker (aka BlackJaguar) lucifer@lightbearer.com
+		  Tara Milana
+		  Stefan Maron
+		  Marcus Kudsen
+		  Dan Stimits
+
+This software is Copyright (C) 1999-2004 WolfPack Entertainment
+
+Updates since version 0.8.4 by Jesse Smith.
+
+You are free to distribute this software under the terms of
+the GNU General Public License.
+On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL-2 file.
--- searchandrescue-1.5.0.orig/debian/lintian-overrides.searchandrescue
+++ searchandrescue-1.5.0/debian/lintian-overrides.searchandrescue
@@ -0,0 +1,3 @@
+searchandrescue: menu-icon-missing
+searchandrescue: binary-without-manpage
+
--- searchandrescue-1.5.0.orig/debian/menu
+++ searchandrescue-1.5.0/debian/menu
@@ -0,0 +1,7 @@
+?package(searchandrescue): \
+  needs="X11"\
+  section="Games/Simulation"\
+  hints="Helicopter"\
+  title="Search and Rescue"\
+  command="/usr/games/SearchAndRescue"\
+  icon="/usr/share/pixmaps/SearchAndRescue.xpm"
--- searchandrescue-1.5.0.orig/debian/postinst
+++ searchandrescue-1.5.0/debian/postinst
@@ -0,0 +1,49 @@
+#! /bin/sh
+# postinst script for searchandrescue
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+case "$1" in
+    configure)
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- searchandrescue-1.5.0.orig/debian/prerm
+++ searchandrescue-1.5.0/debian/prerm
@@ -0,0 +1,43 @@
+#! /bin/bash
+# prerm script for searchandrescue
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/searchandrescue ]; then
+       rm -f /usr/doc/searchandrescue
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- searchandrescue-1.5.0.orig/debian/rules
+++ searchandrescue-1.5.0/debian/rules
@@ -0,0 +1,111 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DOCDIR=`pwd`/debian/searchandrescue/usr/share/doc/searchandrescue/html/
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+	# Modified to include dpkg-buildflags.
+	./configure Linux --ignore-environments --CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
+
+
+	touch configure-stamp
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+build-stamp: configure-stamp
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) all
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) clean
+	-rm -f sar/SearchAndRescue
+	-rm -f pconf/pconf
+	-rm -f sar/Makefile
+	-rm -f sar/this_platform.ini
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) install DESTDIR=`pwd`/debian/searchandrescue
+
+#	mkdir -p $(DOCDIR)
+#	install -m 0444 docs/*.png docs/*.html $(DOCDIR)
+
+	# Create directory .../debian/searchandrescue-common.
+	install -d -g root -m 755 -o root `pwd`/debian/searchandrescue-common/usr/share
+	# Move common files.
+#	mv `pwd`/debian/searchandrescue/usr/share/doc `pwd`/debian/searchandrescue-common/usr/share
+	mv `pwd`/debian/searchandrescue/usr/share/pixmaps `pwd`/debian/searchandrescue-common/usr/share
+	# Override the too-large pixmap
+	install -m 644 `pwd`/debian/SearchAndRescue.xpm `pwd`/debian/searchandrescue-common/usr/share/pixmaps
+	# Desktop file
+	install -d -g root -m 755 -o root `pwd`/debian/searchandrescue/usr/share/applications
+	install -m 644 debian/SearchAndRescue.desktop `pwd`/debian/searchandrescue/usr/share/applications/SearchAndRescue.desktop
+	# Lintian overrides
+	install -d -g root -m 755 -o root `pwd`/debian/searchandrescue/usr/share/lintian/overrides
+	install -m 644 debian/lintian-overrides.searchandrescue \
+		`pwd`/debian/searchandrescue/usr/share/lintian/overrides/searchandrescue
+	# Un-bzip the manpage.
+	bunzip2 `pwd`/debian/searchandrescue/usr/share/man/man6/SearchAndRescue.6.bz2
+	# Move it to the common package.
+	mv `pwd`/debian/searchandrescue/usr/share/man `pwd`/debian/searchandrescue-common/usr/share
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdocs -i
+	dh_installmenu -i
+#	dh_installmanpages -i
+	dh_installchangelogs -i
+	dh_strip -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_shlibdeps  -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -a
+	dh_installmenu -a
+#	dh_installmanpages -a
+	dh_installchangelogs -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps  -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- searchandrescue-1.5.0.orig/debian/source/format
+++ searchandrescue-1.5.0/debian/source/format
@@ -0,0 +1 @@
+1.0
--- searchandrescue-1.5.0.orig/pconf/proc.c
+++ searchandrescue-1.5.0/pconf/proc.c
@@ -18,6 +18,7 @@
 	const char *filename, const char *s
 );
 static char *PConfDependMatchFile(
+	pconf_core_struct *core_ptr,
 	platform_struct *platform_ptr, int type, const char *path,
 	struct stat *stat_buf
 );
@@ -585,6 +586,7 @@
  *	error.
  */
 static char *PConfDependMatchFile(
+	pconf_core_struct *core_ptr,
         platform_struct *platform_ptr, int type, const char *path,
 	struct stat *stat_buf
 )
@@ -635,7 +637,11 @@
 	}
 	/* Empty path list? */
 	if((path_list == NULL) || (total_paths < 1))
+	  {
+	    // Empty path list
+	    if(core_ptr->verbose) printf("Empty path list\n");
 	    return(NULL);
+	  }
 
 	/* Itterate through search paths. */
 	new_path = NULL;
@@ -667,8 +673,11 @@
 		    );
 
 		/* Exists? */
-		if(!stat(new_path, stat_buf))
+		if(!stat(new_path, stat_buf)) {
+		  if (core_ptr -> verbose) printf("Returning path %s\n.", new_path);
 		    return(new_path);
+		}
+		if (core_ptr -> verbose) printf("Failed match path %s\n.", new_path);
 	    }
 	}
 
@@ -794,7 +803,7 @@
 
 	    /* Check if the path exists on this platform. */
 	    new_path = PConfDependMatchFile(
-		platform_ptr, depend_ptr->type, path_ptr,
+		core_ptr, platform_ptr, depend_ptr->type, path_ptr,
 		&stat_buf
 	    );
 	    if(new_path != NULL)
--- searchandrescue-1.5.0.orig/sar/SearchAndRescue.xpm
+++ searchandrescue-1.5.0/sar/SearchAndRescue.xpm
@@ -0,0 +1,362 @@
+***************
+*** 1,308 ****
+  /* XPM */
+- static char * SearchAndRescue_xpm[] = {
+- "48 48 257 2",
+- "  	c None",
+- ". 	c #050509",
+- "+ 	c #4D83A9",
+- "@ 	c #860404",
+- "# 	c #14436E",
+- "$ 	c #2E628A",
+- "% 	c #BAC6B4",
+- "& 	c #9E4634",
+- "* 	c #4A4244",
+- "= 	c #AE8284",
+- "- 	c #4E0A04",
+- "; 	c #22527B",
+- "> 	c #5A728C",
+- ", 	c #6D9FBE",
+- "' 	c #882410",
+- ") 	c #3D729A",
+- "! 	c #1E2224",
+- "~ 	c #CA2204",
+- "{ 	c #7E868C",
+- "] 	c #10385E",
+- "^ 	c #325573",
+- "/ 	c #3E627C",
+- "( 	c #5D93B6",
+- "_ 	c #34424C",
+- ": 	c #A6220C",
+- "< 	c #CE422C",
+- "[ 	c #447AA1",
+- "} 	c #929EA4",
+- "| 	c #D86454",
+- "1 	c #356A92",
+- "2 	c #111211",
+- "3 	c #2A4244",
+- "4 	c #6A869C",
+- "5 	c #2B332F",
+- "6 	c #2A5B84",
+- "7 	c #79AAC4",
+- "8 	c #528AAC",
+- "9 	c #C5361C",
+- "0 	c #211517",
+- "a 	c #A60A04",
+- "b 	c #1A2A3C",
+- "c 	c #365A5C",
+- "d 	c #2E3E34",
+- "e 	c #386482",
+- "f 	c #CAEAF4",
+- "g 	c #622224",
+- "h 	c #862E14",
+- "i 	c #F14327",
+- "j 	c #1A4B73",
+- "k 	c #465264",
+- "l 	c #AEA6A4",
+- "m 	c #2E525C",
+- "n 	c #4A7290",
+- "o 	c #3F6A89",
+- "p 	c #A6362C",
+- "q 	c #4A7AA2",
+- "r 	c #78A6C0",
+- "s 	c #282C2A",
+- "t 	c #345A81",
+- "u 	c #6696B9",
+- "v 	c #E2361C",
+- "w 	c #425E7C",
+- "x 	c #5785AE",
+- "y 	c #DED6D4",
+- "z 	c #1A1A1C",
+- "A 	c #FE5238",
+- "B 	c #496D89",
+- "C 	c #3A5A7C",
+- "D 	c #8E9298",
+- "E 	c #314D61",
+- "F 	c #D2766C",
+- "G 	c #282D37",
+- "H 	c #8A1204",
+- "I 	c #224A71",
+- "J 	c #37363C",
+- "K 	c #563E44",
+- "L 	c #5285AA",
+- "M 	c #1C456F",
+- "N 	c #C6D6E4",
+- "O 	c #72A6C4",
+- "P 	c #9C240C",
+- "Q 	c #629AB9",
+- "R 	c #3A6C94",
+- "S 	c #B81804",
+- "T 	c #37658E",
+- "U 	c #FD4B2F",
+- "V 	c #76525C",
+- "W 	c #E23B21",
+- "X 	c #32638C",
+- "Y 	c #26557D",
+- "Z 	c #72A1BF",
+- "` 	c #42749C",
+- " .	c #F65E44",
+- "..	c #1A120C",
+- "+.	c #2C3440",
+- "@.	c #2E5D86",
+- "#.	c #85ABC8",
+- "$.	c #568AAD",
+- "%.	c #1E1D21",
+- "&.	c #363A3C",
+- "*.	c #6C2618",
+- "=.	c #98301C",
+- "-.	c #4E5A6C",
+- ";.	c #FEA68C",
+- ">.	c #3E6D95",
+- ",.	c #B6341C",
+- "'.	c #335E89",
+- ").	c #E28264",
+- "!.	c #7A0204",
+- "~.	c #DA260C",
+- "{.	c #6295B8",
+- "].	c #A72D18",
+- "^.	c #467EA4",
+- "/.	c #AABCC8",
+- "(.	c #2A527A",
+- "_.	c #47759D",
+- ":.	c #4B7EA5",
+- "<.	c #A12E16",
+- "[.	c #6E4A44",
+- "}.	c #527EA7",
+- "|.	c #1E323C",
+- "1.	c #414249",
+- "2.	c #FC462C",
+- "3.	c #1E4D76",
+- "4.	c #2A4E74",
+- "5.	c #EE3A21",
+- "6.	c #598EB2",
+- "7.	c #762B14",
+- "8.	c #B82A14",
+- "9.	c #2B5681",
+- "0.	c #8A625C",
+- "a.	c #DEF6E4",
+- "b.	c #A6726C",
+- "c.	c #FE9A84",
+- "d.	c #761E1C",
+- "e.	c #8EB6D4",
+- "f.	c #FE6E50",
+- "g.	c #260A0C",
+- "h.	c #42120C",
+- "i.	c #FED2C4",
+- "j.	c #8A8274",
+- "k.	c #726AB4",
+- "l.	c #FEFADC",
+- "m.	c #C08684",
+- "n.	c #FE8264",
+- "o.	c #A20204",
+- "p.	c #BEBABC",
+- "q.	c #9A1604",
+- "r.	c #BE0604",
+- "s.	c #CA4E3C",
+- "t.	c #9C9A9C",
+- "u.	c #E2E2E4",
+- "v.	c #120A04",
+- "w.	c #A2AEB4",
+- "x.	c #CD2D18",
+- "y.	c #9AAABC",
+- "z.	c #AE3E24",
+- "A.	c #968E8C",
+- "B.	c #D2D0D0",
+- "C.	c #727270",
+- "D.	c #B6B0AC",
+- "E.	c #D63224",
+- "F.	c #4A4E50",
+- "G.	c #FE674A",
+- "H.	c #A68E8C",
+- "I.	c #5A2E2C",
+- "J.	c #921E0C",
+- "K.	c #B61204",
+- "L.	c #3E4A4C",
+- "M.	c #CAC4C4",
+- "N.	c #870E04",
+- "O.	c #780E04",
+- "P.	c #FE8E6C",
+- "Q.	c #5E8EB4",
+- "R.	c #5B0304",
+- "S.	c #8A9AA8",
+- "T.	c #AA7A8C",
+- "U.	c #A81204",
+- "V.	c #223A54",
+- "W.	c #535556",
+- "X.	c #9F2A15",
+- "Y.	c #22466C",
+- "Z.	c #163E64",
+- "`.	c #BC1E0C",
+- " +	c #E22E14",
+- ".+	c #DAD6D4",
+- "++	c #CE3A1C",
+- "@+	c #DE462C",
+- "#+	c #DE6A54",
+- "$+	c #A01A04",
+- "%+	c #4A6684",
+- "&+	c #AF3318",
+- "*+	c #DEDEE4",
+- "=+	c #6288B0",
+- "-+	c #F6FAF4",
+- ";+	c #FE5A3C",
+- ">+	c #CACACC",
+- ",+	c #922616",
+- "'+	c #232326",
+- ")+	c #281A18",
+- "!+	c #968684",
+- "~+	c #324664",
+- "{+	c #2B3D4F",
+- "]+	c #424E6C",
+- "^+	c #D6260C",
+- "/+	c #2A1614",
+- "(+	c #575D67",
+- "_+	c #BAAAA4",
+- ":+	c #EC341C",
+- "<+	c #345680",
+- "[+	c #0E1621",
+- "}+	c #82868C",
+- "|+	c #7EACC4",
+- "1+	c #5E3A34",
+- "2+	c #3E3E3E",
+- "3+	c #722214",
+- "4+	c #26364C",
+- "5+	c #C6B6AC",
+- "6+	c #2A445C",
+- "7+	c #466E9C",
+- "8+	c #B20A04",
+- "9+	c #D64E3C",
+- "0+	c #C0C6CC",
+- "a+	c #3E6691",
+- "b+	c #3A526C",
+- "c+	c #32332F",
+- "d+	c #222B37",
+- "e+	c #F6442C",
+- "f+	c #2E2C2C",
+- "g+	c #2E2E38",
+- "h+	c #EA3E24",
+- "i+	c #32323C",
+- "j+	c #BE3214",
+- "k+	c #76464C",
+- "l+	c #F63E24",
+- "m+	c #96B2CC",
+- "n+	c #FEFEFC",
+- "o+	c #D6462C",
+- "p+	c #FE6244",
+- "q+	c #E22A0C",
+- "r+	c #A21204",
+- "s+	c #2E668D",
+- "t+	c #22567F",
+- "u+	c #3E769C",
+- "v+	c #1C261C",
+- "w+	c #7A8A9C",
+- "x+	c #324654",
+- "y+	c #8EA2B4",
+- "z+	c #366E94",
+- "A+	c #679ABC",
+- "B+	c #1A1E24",
+- "C+	c #234E78",
+- "D+	c #171618",
+- "E+	c #A13211",
+- "F+	c #0E0E0F",
+- "G+	c #62727C",
+- "H+	c #3A5E81",
+- "6.6.( 6.( 6.( ( Q Q A+{.A+A+{.A+A+A+, , Z Z Z , , Z r , , , r |+r r 7 r |+|+|+r r |+7 #.#.#.#.#.",
+- "+ ( ( 8 ( $.8 6.6.6.6.{.( 6.u ( A+u {.Q Q Q {.( ( ( A+, A+, Z , Z , A+A+, Z , , Z Z Z Z Z Z Z |+",
+- "+ ^.+ + + L + + 8 6.6.( x 8 x $.{.( ( {.( A+6.$.( u ( {.( ( Q.( ( {.{.{.{.A+u , , A+, Z Z Z , u ",
+- "L + + [ L L L L + + L + 6.( 6.6.8 L L L + 8 L $.6.6.x $.$.$.$.8 6.6.( ( ( ( ( Q.A+u ( Q ( Q {.Q ",
+- "+ ^.^.^.+ + ^.^.+ + + + 8 ^.+ ^.+ 8 8 + L 8 ( 8 L + + :.+ + + + + L 8 x Q.Q.=+6.Q.u ( 6.{.( $.( ",
+- ") + + 8 + ^.+ ^.+ u+) ) + ^.^.[ [ [ ^.^.^.^.^.+ ^.+ :.+ + :.:.+ Z $.x q + + ^.+ L 6.L L $.$.L $.",
+- "^.u+u++ u+u+^.1 ) [ z+` ) ` ^.[ u+z+[ ^.^.^.` ` :.+ :.+ + q q :.:.^.+ :.+ + ^.L Q.:.L + 8 8 x $.",
+- ") u+s+z+) [ u+u+z+^.` :.` L ` ) ) ` ) [ ^.[ :.^.) ` u+` >.` _.[ ` ` [ ` <.+ :.L + $.L [ + Q 8 q ",
+- "u+z+1 ) u+u+[ + R L L u+` [ u+) :.) ` + ^.+ q [ [ [ [ L ^.) [ [ + [ + + <.+ [ [ , L :.L + x + 6.",
+- "z+1 ) ) z+s+u+z+) ) ) u+u+u+u+1 ) 1 u+) [ u+[ ` 1 :.[ ) >.[ [ ^.[ [ ^.:.E+^.+ [ L [ ` [ [ L [ q ",
+- ") ^.{._.$.) ` u+) 1 1 z+R ) [ u+[ u+u+[ u+u+u+[ ) ^.u+u+) z+) [ u+u+) ) <.[ [ z+1 u+u+u+[ u+[ u+",
+- ") >.s+s+>.>.) u+) ) ) >.z+$ 1 ) z+1 1 R s+[ ) [ ) [ [ z+z+R [ [ u+[ ) [ - ` ` ^.^.^.` ` [ ` u+) ",
+- "z+1 1 1 ) R u+) z+z+z+R R ) $ 1 z+z+1 s+X 1 1 _.` R ) ` ) [ R s+R R z+%+E+) o ` >._._.R R u+[ + ",
+- ") ) ) 1 $ 1 s+1 1 s+s+z+1 1 R s+[ L $ e >.X '.) _.+ q ` R :.z+o 1 R 1 | &+` o ` T e ) 1 ) R >.>.",
+- "s+z+u+) ) 1 R ) ) 1 ) s+z+R ) ) z+1 [ ) >.` ` 1 T ` ` ` ` + + :.1 o T i.| t.@.1 $ s+R z+1 >.R ) ",
+- ") s+1 1 z+) [ 1 s+1 ) [ [ [ :.>._.R R T 1 R _.` ) R 1 s.R q 7 + :.s+) A n+t.R ` u+m.H+'+d+b+^.+ ",
+- "z+1 u+z+z+u+) u+^.^.) [ ) e 6.T ( '.R 0+-.H+) R 1 o 1 X.e e @.e o o >.2.t.t.+.*+d+& w+e '.) R ` ",
+- "1 s+6 @.1 s+1 z+$ R ) R s+1 _.1 e 1 $ R ^.p.E ` ` T q P 6 o $ z+1 % g.[.{ B.:.1 z+&+[ 1 ` [ [ 1 ",
+- "$ 1 z+$ j ; @.t+s+R $ T X X Y X $ X o $ @.s+..[+^ Y X P (+(+^ >.o n.G.&+K n+n ` ) X.>.R o R >.[ ",
+- "@.T 6 6 X X $ 6 X X 6 Y e @.@.$ 1 @.` ) ) >.e } D /.*+y F.o V P.l.~ G.j+p+G.G.G.;+].[ ` R R [ o ",
+- "t+; Y 6 a+@.@.o ; X @.s+T u+` T @.m ^ W.(+1 R w J C.H r+).~ E.z >+n+T.X.X.) >.) R T >.q ) X R R ",
+- "R s+$ 6 3.$ 1 $ ^ ^ '.D _ 5 B.%.S.R 1 s+u+;.G.-+F ,+1+.+9 8.S 2 h+++D.X.$ R [ 6 >.$.s+@.@.T R T ",
+- "@.$ 1 6 6+4+{+w.G 0 '+>+R T @.s+) _.` ` o F+E.K.K.2+C.D.l h.o.r+h+i p X.1 >.>.R ` >.1 R $ $ $ R ",
+- "$ $ &.f+M.0 v+^ T Y 1 $ @.$ R >.1 1 ` ) 1 R l+K.:+x.2+0.= !+v.x.i U $+T R R z+R >.>.` T ) R ) ` ",
+- "X 1 V.4.Y X >.R X 6 Y 6 Y t+# 6 R U p+o+R f.p+5.5.~.R.R.b.m.5+)+3+].$+s+R R 1 ) [ _.[ >.T ` @.o ",
+- "6 ; '.3.R j @.3.Y X T @.1 >.1 _._.$ ` X.9+c.i 5.q+ +@ !.@ P < A =.j+&+o o u+1 1 ; 9.9.o R ) 1 ` ",
+- "X T @.9.X 6 X @.'.6 ; M M ; 6 t+6 X o X.l+a R.r.~.:+`.8+E.W W W 9 ,.z.` e R '.R >.o =++ T R T o ",
+- ">.` ` 1 7+R 6 Y t+X @.s+@.X 6 '.a+R % 4 m U 5 d 5 @+f.;+[+S S 8.,.| <.T ; ; $ >.>.'.>.o q ) ) X ",
+- "; X 6 X _.>.T ; X 1 _.1 '.M I j C+a.E c U 3 v+v+d+2+U G s P U.q.].].,+) s+1 ; X 6 '.9.(.R s+$ X ",
+- "6 9.$ 9.; ; 6 R 6 >.>.T R R ` o f w ~+F.z z z s g+G g '+'+3+N.O.].,+) e s+6 '.6 <+4.c './ B n t ",
+- "1 1 s+@.R _.x _.}.+ _.` o @.X '.t E %.W.. z . %.g+&+%.z z ' k.N.<.; @.9.e 1 B C+I m+B 4 y.B./.m+",
+- "@.@.9.6 X '.; t+; j t+'.@.6 9.; ^ {+%.c+%.%.B+f+[+=.D+D+=.P N.O.]+6 T o ` 1 6 R }.e t > S.y.y+E ",
+- "$ T 3.j ; (.9.3.; ; Y j 3.Y ; b 1.2+2+f+&.c+J '+F+d.0 =.3+D+J.3.I I Y ; 9.6 1 s+e $ @.6 >.H+o ) ",
+- "9.Y t+(.M ; M # C+C+9.j C+M M 4+i+i+i+'+i+i+%.%.*.F+,+E+/+<.6 9.@.@.9.6 Y 6 6 ` R 1 T R s+1 [ R ",
+- "; C+j ] ] (.M M C+(.'.9.I ; 9.~+F.F.L.2+&.W.2+%.h F+F+,+' k+R 6 C+; (.6 ; 9.Y @.(.s+T e @.R 1 :.",
+- "<+6 6 # 9.9.(.; C+(.C+9.'.T t J }+W.&.c+F.s f+D+h '+l 7.$ Y 6 9.s+o T R e o >.T @.e 6 X (.3.I 9.",
+- "I 9.'.X 6 9.(.C+9.'.'.X <+6 C+%.G+1.d+..5 f+f+j.H.3+C+'.T e R e @.@.T T '.6 ; 6 ; @.X 6 ; t+X T ",
+- "C+C+a+a+x 7+9.I j 9._.C+M 4.'.{+D+D+F+. A.*.7.I.=+=+I t t M Z.; 6 @.@.6 R X 6 ; ; 6 e '.6 Y @.@.",
+- "M ; X '.9.6 ; 6 t C+'.6 t M I ] ] Z.Y.M 9.t (.C+9.(.C+4.(.'.H+'.6 6 ; 9.>.X 6 >.` ` T X @._.>.>.",
+- "Y C+j M 3.'.@.'.; X '.'.T o e X 9.C+C+(.(.j I M 9.(.6 C+C+I '.o @.9.'.6 T 6 6 X X >.o ) ` [ ` ` ",
+- "6 '.@.6 '.X a+Y X '.T R T @.Y @.R s+X 1 ; t+@.6 6 9.T T 6 6 @.T $ @.Y ; 9.9.C+6 a+1 X t+t+s+u+1 ",
+- "9.6 @.'.X ; 9.; 9.3.; 3.j $ R X >.n ` _.R T R @.6 1 s+6 ; M j # # # ; 9.R 6 $ '.6 Y '.s+@.@.R o ",
+- "9.Y @.@.7+s+>.a+$ 1 1 @.6 ; Y $ @.>.R q :.` ` >.` ` $ R T 7+_.@.@.T R >.R R 9.6 T X X $ T X X @.",
+- "6 3.6 ; @.9.; _.q ` ` t+M # 3.j 3.a+` q 7+R '.>.T z+z+9.+ x _.q + R a+'.X X ) a+Y T R T R o @.X ",
+- ") R ` @.$ 6 @.; 9.9.'.T >.1 X R ) >.@.@.'.3.6 6 9.T 6 9.@.@.X X ` >.:.7+R ` a+1 R I ; @.; 6 Y @.",
+- "R R T ` T T T >.9.3.j @.@.C+9.9.X a+>._.q + :.` X X 6 R R ^.` 7+` R X 1 7+7+>.R ` :.>.T 6 3.X X ",
+- "7+6 R T R @.9.6 s+T R [ _.` >.R X @.1 a+X 7+_.T a+a+T >.a+1 $ 9.R X 6 9.j ; '.R 7+_.R R '.7+` _.",
+- "1 9.9.a+R j 3.6 q ` '.9.>.>.` >.>.a+_.q R a+T @.t+j ; 6 j 6 Y R T T a+H+t _.7+'.X >.a+` o _.` o "};
+--- 1,51 ----
+  /* XPM */
++ static char * s8_xpm[] = {
++ "32 32 16 1",
++ " 	c None",
++ ".	c #666667",
++ "+	c #7F7F7F",
++ "@	c #007F7F",
++ "#	c #4C4C4C",
++ "$	c #7F0000",
++ "%	c #191919",
++ "&	c #CCCCCC",
++ "*	c #999999",
++ "=	c #FF0000",
++ "-	c #FFFFFF",
++ ";	c #333333",
++ ">	c #E5E5E5",
++ ",	c #B2B2B2",
++ "'	c #000000",
++ ")	c #7F7F00",
++ ".+@.+@+@+@.+@+.@.@+@+@+@+@++#+@+",
++ ".@.@.@..@.@.@+@..@+@.@.@+.@+$@+@",
++ ".@.@.@+@.@.+@.@+@+.@..@+@.@+#+@.",
++ ".@..@#..@.@.@+@.@+@.@..@+@..%.+@",
++ "@.@..@@.@.#@#.@..@..@+@..@..#.@.",
++ "#@#@..@#+@.#@.#@+@+@..@#@..+#...",
++ "@.@#@..@.@.@.@..@..@.@++@##&+*#@",
++ "@..@.@.@..@#..@..@...@*@+@+=-*.@",
++ "@+@+@.+@+@.&#@.@...$..@..@.+**;>",
++ "#...@.@.#@#@+,#@.@+##.#@.,$#+&@.",
++ "@@#@#.#@#..#@#%%###$..#.@*+=#-..",
++ "#@###@##@@.@.@#**&>>#.#*>=*=++++",
++ "##@@#@.@####..@.;.$$*==;&-+$$...",
++ "###*#;&%*@.@.,+-+##>=#=')=,#@.@#",
++ ";%%&.@#@...@.'===;+,,;$$=)=#...@",
++ "@#.@##.@.@.@..)$==;.*+%.=+$#@.@.",
++ "##@##@;#@=*=@++=)=$$+*,%$#=@..@.",
++ "###@#@.@+.+#=*)=.=$$$$=)#=##@..@",
++ "@#@;;###@#@$)=$==.=$=)==.=...@#@",
++ "@##@@#@#..&+#.;##=*+%#=.=+$@###.",
++ "#@..#;#;@>##=#;%;#=#;$=$#=#.@@#@",
++ "#.@#@@@.>##.%%%;;;;%;#$$#$.#@###",
++ "+@.+.#.#@#%#'%'%;#%%%$+$##@##@.#",
++ "###@#@###;;;%%%;%$%;$#$$##@..@#@",
++ "@;@;;#@%#;#;;;;;%$;$#%$######@#.",
++ "#;@##;;;;;;;;;%%;%#=%##@#@#@##@.",
++ "@;###@#####;;.;%$%%$##.#;#######",
++ "##@##@#;+#;;#;;;$;,$##@#@@#@@.@@",
++ "###@###%+#;%;;;+*;#.@#@###@#####",
++ "##@#;#@;%%''*;$;++;@#;;#@#@#@#@#",
++ "##@#@;#;;;#;#.##@####@#@####@.#@",
++ "#@###@#@#@##@##;#;@#####@#@#@##@"};
--- searchandrescue-1.5.0.orig/sar/gctl.c
+++ searchandrescue-1.5.0/sar/gctl.c
@@ -339,7 +339,6 @@
 	gc_last_updated_ms = gc->last_updated;
 	dms = (time_t)MAX(cur_ms - gc_last_updated_ms, 0);
         
-
 	/* Check if joystick updating is needed and allowed */
 	if((controllers & GCTL_CONTROLLER_JOYSTICK) &&
 	   (gc->joystick != NULL)
--- searchandrescue-1.5.0.orig/sar/makefile_append.ini
+++ searchandrescue-1.5.0/sar/makefile_append.ini
@@ -30,9 +30,10 @@
 # Build rules:
 $(BIN): prebuild modules postbuild
 
+# Modified this rule to include dpkg-buildflags.
 modules: $(OBJ_C) $(OBJ_CPP)
 	@echo -n "Linking modules..."
-	@$(CPP) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIBS) $(LIB_DIRS)
+	@$(CPP) $(OBJ_C) $(OBJ_CPP) -o $(BIN) $(LIBS) $(LIB_DIRS) $(shell dpkg-buildflags --get LDFLAGS)
 	@echo -n "   "
 	@-$(LS) $(LSFLAGS) $(BIN)
 
