ports/multimedia/vdr-plugin-osdteletext/files/patch-vdr-osdteletext-0.9.2
Juergen Lock 21694da2c5 - Update multimedia/vdr and multimedia/vdr-plugins to 1.7.27 .
- Update multimedia/vdr-plugin-epgsearch to 1.0.1s20120322 git snapshot.
- Update multimedia/vdr-plugin-femon to 1.7.15 .
- Update multimedia/vdr-plugin-iptv to 0.5.0 .
- Update multimedia/vdr-plugin-osdteletext to 0.9.2 .
- Update multimedia/vdr-plugin-streamdev to 0.5.1p20120311 git snapthot.
- Update multimedia/vdr-plugin-xineliboutput to 1.0.90s20111129.1002
  cvs snapshot.
- Bump PORTREVISION for all other plugins and add vdr 1.7.27
  compatibility/bugfix patches where necessary.
2012-04-21 14:10:58 +00:00

29 lines
791 B
Groff

--- Makefile.orig
+++ Makefile
@@ -98,7 +98,11 @@ all: libvdr-$(PLUGIN).so i18n
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
+ifdef FREEBSD
+ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION)
+else
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
+endif
dist: $(I18Npo) 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>