diff options
Diffstat (limited to 'multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3')
-rw-r--r-- | multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3 b/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3 new file mode 100644 index 000000000000..2ca093201bf4 --- /dev/null +++ b/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.8.3 @@ -0,0 +1,30 @@ +diff -ur orig/osdteletext-0.8.3/Makefile osdteletext-0.8.3/Makefile +--- orig/osdteletext-0.8.3/Makefile 2009-05-25 20:28:59.000000000 +0200 ++++ osdteletext-0.8.3/Makefile 2010-03-16 17:31:20.000000000 +0100 +@@ -94,7 +94,11 @@ + + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ ++ifdef FREEBSD ++ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION) ++else + @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) ++endif + + dist: clean + @-rm -rf $(TMPDIR)/$(ARCHIVE) +diff -ur orig/osdteletext-0.8.3/txtrecv.c osdteletext-0.8.3/txtrecv.c +--- orig/osdteletext-0.8.3/txtrecv.c 2009-05-25 20:28:59.000000000 +0200 ++++ osdteletext-0.8.3/txtrecv.c 2010-03-16 17:29:53.000000000 +0100 +@@ -22,7 +22,11 @@ + #include <pthread.h> + #include <signal.h> + #include <errno.h> ++#ifdef __FreeBSD__ ++#include <sys/mount.h> ++#else + #include <sys/vfs.h> ++#endif + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> |