rsxs configure does not detect stdbool.h on FreeBSD
authorFneufneu <fneufneu@xbmc.org>
Fri, 4 Feb 2011 14:57:11 +0000 (15:57 +0100)
committerFneufneu <fneufneu@xbmc.org>
Mon, 7 May 2012 07:33:51 +0000 (09:33 +0200)
so just remove included stdbool.h after
ugly and fast

configure.in

index ccbdfe1..f5fcf5c 100755 (executable)
@@ -2269,6 +2269,9 @@ XB_CONFIG_MODULE([xbmc/screensavers/rsxs-0.9/], [
     --disable-hyperspace \
     --disable-lattice \
     --disable-skyrocket
+  if echo "$ARCH" | grep -q freebsd ; then
+    sed -i.back "s;\(STDBOOL_H = \)stdbool.h;\1;" lib/Makefile
+  fi
 ], [$DISABLE_RSXS])
 
 XB_CONFIG_MODULE([lib/libapetag], [