Package: searchandrescue
Version: 0.8.2-5
Severity: serious
Tags: patch
From my pbuilder build log:
...
Compiling module tgadither.o
Linking modules.../usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make[2]: *** [modules] Error 1
make[2]: Leaving directory `/tmp/buildd/searchandrescue-0.8.2/sar'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/searchandrescue-0.8.2'
make: *** [build-stamp] Error 2
I've attached a simple patch which fixes this by removing -lXi from the link
line, which doesn't seem to actually be necessary.
--
Daniel Schepler
diff -urN searchandrescue-0.8.2.old/sar/platforms.ini searchandrescue-0.8.2/sar/platforms.ini
--- searchandrescue-0.8.2.old/sar/platforms.ini 2006-06-03 20:34:25.000000000 +0000
+++ searchandrescue-0.8.2/sar/platforms.ini 2006-06-03 20:36:25.000000000 +0000
@@ -65,7 +65,7 @@
Description = X Window Systems
MustExist = Yes
FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H
- FeatureLIBS = -lSM -lICE -lX11 -lXext -lXi -lXmu
+ FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu
FeatureLIB_DIR = -L/usr/X11R6/lib/
FeatureDepend = X11-lib
DependType = Library
@@ -186,7 +186,7 @@
Description = X Window Systems
MustExist = Yes
FeatureCFLAGS = -DUSE_XSHM -DHAVE_MWMUTIL_H
- FeatureLIBS = -lSM -lICE -lX11 -lXext -lXi -lXmu
+ FeatureLIBS = -lSM -lICE -lX11 -lXext -lXmu
FeatureLIB_DIR = -L/usr/X11R6/lib/
FeatureDepend = X11-lib
DependType = Library