From 79ad169d8a690c2fbd532b07e62b5d797bcbbf62 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 25 Feb 2020 13:39:34 +0200 Subject: [PATCH 1/2] use relative symlinks in the libspnav install target (sourceforge patch #8). --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7914af3..a9d297b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -54,8 +54,8 @@ install: $(lib_a) $(lib_so) $(hdr) cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) [ -n "$(soname)" ] && \ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \ - ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \ - ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \ + ln -s $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \ + ln -s $(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \ true for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done From e7ecd1b70358a1a7e6c9fc1e30ee78a996bd1795 Mon Sep 17 00:00:00 2001 From: luz paz Date: Sat, 5 Feb 2022 10:25:11 -0500 Subject: [PATCH 2/2] Fix a couple of misc. typos Found via `codespell -q 3 -L connexion` --- README.md | 2 +- spnav.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 79eb98a..9ea5bce 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ automatically compatible with either the free spacenavd driver or the official Also, libspnav provides a magellan API wrapper on top of the new API. So, any applications that were using the magellan library, can switch to libspnav -without any changes. And programmers that are familliar with the magellan API +without any changes. And programmers that are familiar with the magellan API can continue using it with a free library without the restrictions of the official SDK. diff --git a/spnav.h b/spnav.h index 285d98a..9f72e01 100644 --- a/spnav.h +++ b/spnav.h @@ -82,7 +82,7 @@ int spnav_close(void); * If the X11 mode is used, the socket used to communicate with the X server is * returned, so the result of this function is always reliable. * If AF_UNIX mode is used, the fd of the socket is returned or -1 if - * no connection is open / failure occured. + * no connection is open / failure occurred. */ int spnav_fd(void);