summaryrefslogtreecommitdiff
path: root/multimedia/vls/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-03-29 20:29:23 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-03-29 20:29:23 +0000
commitc924966361a75b6ba800506fe0b102d7c582383b (patch)
treef8135e808d8365941675798901d6d4eb78f1eecb /multimedia/vls/patches
parent225ca50407d7cd22df4d2d306b0cbd4b23ae264f (diff)
downloadpkgsrc-c924966361a75b6ba800506fe0b102d7c582383b.tar.gz
Initial import of vls-0.5.6 from pkgsrc-wip.
VLS is part of the VideoLAN project, a full client/server video over IP solution. The VideoLAN Server aims at broadcasting MPEG (1/2/4, PS/TS) video streams over any IP network.
Diffstat (limited to 'multimedia/vls/patches')
-rw-r--r--multimedia/vls/patches/patch-aa19
-rw-r--r--multimedia/vls/patches/patch-ab33
2 files changed, 52 insertions, 0 deletions
diff --git a/multimedia/vls/patches/patch-aa b/multimedia/vls/patches/patch-aa
new file mode 100644
index 00000000000..65bc8b52787
--- /dev/null
+++ b/multimedia/vls/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+
+--- Makefile.opts.in.orig 2004-01-16 10:33:13.000000000 +0100
++++ Makefile.opts.in 2004-01-16 10:33:47.000000000 +0100
+@@ -76,12 +76,12 @@
+ CCFLAGS+=-Wall
+ CCFLAGS+=-D_REENTRANT
+ CCFLAGS+=-D_FILE_OFFSET_BITS=64
+-LCFLAGS+=-D_REENTRANT
++LCFLAGS+=-D_REENTRANT $(LDFLAGS)
+
+ #
+ # Specific flags
+ #
+-CCFLAGS+=-DCONFIG_PATH='"$(sysconfdir)/videolan/vls"'
++CCFLAGS+=-DCONFIG_PATH='"$(sysconfdir)"'
+
+ VLS_LCFLAGS = @VLS_LCFLAGS@
+ VLS_LIB = @VLS_LIB@
diff --git a/multimedia/vls/patches/patch-ab b/multimedia/vls/patches/patch-ab
new file mode 100644
index 00000000000..bb3d8d368f1
--- /dev/null
+++ b/multimedia/vls/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+
+--- Makefile.orig 2004-01-16 10:27:30.000000000 +0100
++++ Makefile 2004-01-16 10:30:19.000000000 +0100
+@@ -168,15 +168,15 @@
+ ( cd src/modules/$$module && $(MAKE) distclean ) ; done
+
+ install:
+- mkdir -p $(DESTDIR)$(bindir)
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL) bin/vls $(DESTDIR)$(bindir)
+ $(INSTALL) bin/vlsd $(DESTDIR)$(bindir)
+- mkdir -p $(DESTDIR)$(libdir)/videolan/vls
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(libdir)/videolan/vls
+ ifneq (,$(PLUGINS))
+- $(INSTALL) -m 644 $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
++ $(BSD_INSTALL_DATA) $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
+ endif
+- mkdir -p $(DESTDIR)$(sysconfdir)/videolan/vls
+- test -r $(DESTDIR)$(sysconfdir)/videolan/vls/vls.cfg || $(INSTALL) -m 644 vls.cfg $(DESTDIR)$(sysconfdir)/videolan/vls
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(datadir)/examples/vls
++ test -r $(DESTDIR)$(datadir)/examples/vls/vls.cfg || $(BSD_INSTALL_DATA) vls.cfg $(DESTDIR)$(datadir)/examples/vls
+ @echo "Installation succeeded."
+
+ uninstall:
+@@ -195,7 +195,6 @@
+ @test -d bin || mkdir -p bin
+ $(CXX) $(LCFLAGS) -o bin/$@$(EXEEXT) $(OBJ) $(C_OBJ) $(BUILTINS:%=obj/%.a) $(VLS_LIB)
+ @test -f bin/vlsd$(EXEEXT) || ln -s $@ bin/$@d$(EXEEXT)
+- chmod 755 bin/$@$(EXEEXT)
+
+ dep/server/vls.dpp: src/server/vls_builtins.cpp
+