From 73c34c1ce29f45a6dd142c69134502a7461a8e2a Mon Sep 17 00:00:00 2001 From: sturm Date: Sat, 23 Jul 2005 15:23:43 +0000 Subject: [PATCH] workaround a compiler problem on sparc64 maintainer timeout --- multimedia/transcode/Makefile | 7 ++++-- .../patches/gcc-filter_yuvdenoise_Makefile_in | 24 +++++++++++++++++++ 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 multimedia/transcode/patches/gcc-filter_yuvdenoise_Makefile_in diff --git a/multimedia/transcode/Makefile b/multimedia/transcode/Makefile index e950065f1e4..b77ff40c728 100644 --- a/multimedia/transcode/Makefile +++ b/multimedia/transcode/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2005/02/09 23:41:43 naddy Exp $ +# $OpenBSD: Makefile,v 1.3 2005/07/23 15:23:43 sturm Exp $ COMMENT= "video stream processing tools" DISTNAME= transcode-0.6.14 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= multimedia HOMEPAGE= http://www.transcoding.org/ @@ -32,6 +32,9 @@ PKG_ARGS+= -Di386=1 .else PKG_ARGS+= -Di386=0 .endif +.if ${MACHINE_ARCH} == "sparc64" +PATCH_LIST= patch-* gcc-* +.endif LIB_DEPENDS= SDL.2::devel/sdl \ a52.0::audio/liba52 \ diff --git a/multimedia/transcode/patches/gcc-filter_yuvdenoise_Makefile_in b/multimedia/transcode/patches/gcc-filter_yuvdenoise_Makefile_in new file mode 100644 index 00000000000..dd9c754bb81 --- /dev/null +++ b/multimedia/transcode/patches/gcc-filter_yuvdenoise_Makefile_in @@ -0,0 +1,24 @@ +$OpenBSD: gcc-filter_yuvdenoise_Makefile_in,v 1.1 2005/07/23 15:23:44 sturm Exp $ +--- filter/yuvdenoise/Makefile.in.orig Tue Nov 16 05:47:02 2004 ++++ filter/yuvdenoise/Makefile.in Fri Jul 15 22:22:34 2005 +@@ -529,6 +529,20 @@ distclean-compile: + @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< + ++deinterlace.lo: ++@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -O1 -c -o $@ $<; \ ++@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< ++ ++denoise.lo: ++@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -O1 -c -o $@ $<; \ ++@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ ++@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< ++ + mostlyclean-libtool: + -rm -f *.lo +