From 400eb73621d3573a2c275589a00215d0eace2810 Mon Sep 17 00:00:00 2001 From: mb Date: Thu, 27 Jan 2011 14:36:30 +0000 Subject: [PATCH] gpsd: Add missing define git-svn-id: svn://svn.openwrt.org/openwrt/packages@25150 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/gpsd/patches/100-cross-compile.patch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/gpsd/patches/100-cross-compile.patch b/net/gpsd/patches/100-cross-compile.patch index 9b3639ee3..95e7027ac 100644 --- a/net/gpsd/patches/100-cross-compile.patch +++ b/net/gpsd/patches/100-cross-compile.patch @@ -1,8 +1,8 @@ Index: gpsd-2.94/configure.ac =================================================================== --- gpsd-2.94.orig/configure.ac 2010-04-20 19:55:08.000000000 +0200 -+++ gpsd-2.94/configure.ac 2011-01-27 15:22:04.720000026 +0100 -@@ -233,30 +233,9 @@ ++++ gpsd-2.94/configure.ac 2011-01-27 15:34:47.002000063 +0100 +@@ -233,30 +233,10 @@ AC_DEFINE([HAVE_LIBPTHREAD], [], [pthread libraries are present])]) AC_SUBST(LIBPTHREAD) @@ -30,6 +30,7 @@ Index: gpsd-2.94/configure.ac -fi -AC_SUBST(LIBUSB) -AC_SUBST(INCUSB) ++AC_DEFINE([HAVE_LIBUSB], [], [will link with -lusb-1.0; ]) +ac_libusb=yes +AC_MSG_RESULT([OpenWRT: Crosscompile]) @@ -38,7 +39,7 @@ Index: gpsd-2.94/configure.ac Index: gpsd-2.94/Makefile.am =================================================================== --- gpsd-2.94.orig/Makefile.am 2010-04-20 11:37:21.000000000 +0200 -+++ gpsd-2.94/Makefile.am 2011-01-27 15:22:28.557999857 +0100 ++++ gpsd-2.94/Makefile.am 2011-01-27 15:34:08.125000006 +0100 @@ -245,9 +245,9 @@ # Warning: This overrides autoconf's normal link-line generation process if LIBGPSMM_ENABLE