Tags: patch The attached patch file moves "-lm" to the end of 4 "cc" commands, so that the math routines are found in the library.
Description: move -lm later in cc command to fix geosat, et al. Author: John T. Nogatch <jnoga...@yahoo.com>
--- predict-2.2.3-origdeb/debian/rules 2011-06-13 12:38:14.000000000 -0700 +++ predict-2.2.3/debian/rules 2011-06-13 10:45:52.761709700 -0700 @@ -28,10 +28,10 @@ cc $(CFLAGS) \ vocalizer/vocalizer.c -o vocalizer/vocalizer - (cd utils/fodtrack-0.1 ; cc $(CFLAGS) -lm fodtrack.c -o fodtrack ) - (cd utils/geosat ; cc $(CFLAGS) -lm geosat.c -o geosat ) - (cd utils/moontracker ; cc $(CFLAGS) -lm moontracker.c -o moontracker ) - (cd clients/earthtrack ; cc $(CFLAGS) -lm earthtrack.c -o earthtrack ) + (cd utils/fodtrack-0.1 ; cc $(CFLAGS) fodtrack.c -o fodtrack -lm ) + (cd utils/geosat ; cc $(CFLAGS) geosat.c -o geosat -lm ) + (cd utils/moontracker ; cc $(CFLAGS) moontracker.c -o moontracker -lm ) + (cd clients/earthtrack ; cc $(CFLAGS) earthtrack.c -o earthtrack -lm ) (cd clients/map; cc $(CFLAGS) -o predict-map map.c map_cb.c map_main.c -I/usr/include/X11 -lforms -lX11 -lm)