aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-04 19:49:52 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-11-04 19:49:52 +0000
commit1f15e7640386e6e01d36fa2e7a412023a9d6a18e (patch)
tree265cf138fd5a20e6030ef04a3854d271f320bb74 /multimedia
parent366a2a0f482bacd513789c187c270b3bdd41b104 (diff)
downloadports-1f15e7640386e6e01d36fa2e7a412023a9d6a18e.tar.gz
ports-1f15e7640386e6e01d36fa2e7a412023a9d6a18e.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/transcode/Makefile2
-rw-r--r--multimedia/transcode/files/patch-src:export:Makefile.in13
-rw-r--r--multimedia/transcode/files/patch-src:filter:preview:pv.c29
3 files changed, 31 insertions, 13 deletions
diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile
index f495d74f8aec..380bc457e4cb 100644
--- a/multimedia/transcode/Makefile
+++ b/multimedia/transcode/Makefile
@@ -7,6 +7,7 @@
PORTNAME= transcode
PORTVERSION= 0.6.2
+PORTREVISION= 1
DISTNAME= ${PORTNAME}-${PORTVERSION}.20021010
CATEGORIES= graphics
MASTER_SITES= http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/pre/
@@ -180,6 +181,7 @@ PLIST_SUB+= WITH_LIBA52="@comment "
.if defined(WITH_LAME)
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
+CONFIGURE_ARGS+= --with-lame-libs=${LOCALBASE}/lib
PLIST_SUB+= WITH_LAME=""
.else
CONFIGURE_ARGS+= --with-lame=no
diff --git a/multimedia/transcode/files/patch-src:export:Makefile.in b/multimedia/transcode/files/patch-src:export:Makefile.in
deleted file mode 100644
index 94ed7e8b264d..000000000000
--- a/multimedia/transcode/files/patch-src:export:Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- export/Makefile.in.orig Tue Sep 3 23:56:33 2002
-+++ export/Makefile.in Tue Sep 3 23:58:12 2002
-@@ -536,7 +536,9 @@
- export_ffmpeg.la: $(export_ffmpeg_la_OBJECTS) $(export_ffmpeg_la_DEPENDENCIES)
- $(LINK) -rpath $(pkgdir) $(export_ffmpeg_la_LDFLAGS) $(export_ffmpeg_la_OBJECTS) $(export_ffmpeg_la_LIBADD) $(LIBS)
- export_ffmpeg4.la: $(export_ffmpeg4_la_OBJECTS) $(export_ffmpeg4_la_DEPENDENCIES)
-- $(LINK) -rpath $(pkgdir) $(export_ffmpeg4_la_LDFLAGS) $(export_ffmpeg4_la_OBJECTS) $(export_ffmpeg4_la_LIBADD) $(LIBS)
-+ $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) \
-+ $(AM_LDFLAGS) -o $@ -IWRKSRC/ffmpeg/libavcodec -rpath \
-+ $(pkgdir) $(export_ffmpeg4_la_LDFLAGS) $(export_ffmpeg4_la_OBJECTS) $(export_ffmpeg4_la_LIBADD) $(LIBS)
- export_im.la: $(export_im_la_OBJECTS) $(export_im_la_DEPENDENCIES)
- $(LINK) -rpath $(pkgdir) $(export_im_la_LDFLAGS) $(export_im_la_OBJECTS) $(export_im_la_LIBADD) $(LIBS)
- export_iv50.la: $(export_iv50_la_OBJECTS) $(export_iv50_la_DEPENDENCIES)
diff --git a/multimedia/transcode/files/patch-src:filter:preview:pv.c b/multimedia/transcode/files/patch-src:filter:preview:pv.c
new file mode 100644
index 000000000000..8c74a4a84c6e
--- /dev/null
+++ b/multimedia/transcode/files/patch-src:filter:preview:pv.c
@@ -0,0 +1,29 @@
+--- filter/preview/pv.c.orig Mon Nov 4 18:38:27 2002
++++ filter/preview/pv.c Mon Nov 4 18:39:27 2002
+@@ -38,7 +38,7 @@
+ #include <sys/shm.h>
+
+ #ifdef __FreeBSD__ /* We don't have on_exit() */
+-dv_display_t *dv_dpy_on_exit_hack = NULL;
++xv_display_t *xv_dpy_on_exit_hack = NULL;
+ #endif
+
+ #define XV_FORMAT_MASK 0x03
+@@ -128,7 +128,7 @@
+ free(dv_dpy);
+ dv_dpy = NULL;
+ #ifdef __FreeBSD__
+- dv_dpy_on_exit_hack = NULL;
++ xv_dpy_on_exit_hack = NULL;
+ #endif
+ } // xv_display_exit
+
+@@ -536,7 +536,7 @@
+ }
+
+ #ifdef __FreeBSD__
+- dv_dpy_on_exit_hack = dv_dpy;
++ xv_dpy_on_exit_hack = dv_dpy;
+ atexit(xv_display_on_exit_hack_handler);
+ #else
+ on_exit(xv_display_exit_handler, dv_dpy);