Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 02:52:24 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/184243: multimedia/oggvideotools: Fix build on -current
Message-ID:  <20131125025224.91f874f6e8ca7bbe2f113d43@yahoo.com>
Resent-Message-ID: <201311241810.rAOIA7sG046991@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>Number:         184243
>Category:       ports
>Synopsis:       multimedia/oggvideotools: Fix build on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 24 18:10:07 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
>Description:
- Fix build on -current

New file:
files/patch-src__pictureBlend.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/multimedia/oggvideotools/Makefile multimedia/oggvideotools/Makefile
--- /usr/ports/multimedia/oggvideotools/Makefile	2013-11-06 21:59:31.000000000 +0900
+++ multimedia/oggvideotools/Makefile	2013-11-25 00:00:00.000000000 +0900
@@ -12,20 +12,16 @@
 
 LICENSE=	GPLv2 # (or later)
 
-LIB_DEPENDS=	gd:${PORTSDIR}/graphics/gd \
-		ogg:${PORTSDIR}/audio/libogg \
-		theora:${PORTSDIR}/multimedia/libtheora \
-		vorbis:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS=	libgd.so:${PORTSDIR}/graphics/gd \
+		libogg.so:${PORTSDIR}/audio/libogg \
+		libtheora.so:${PORTSDIR}/multimedia/libtheora \
+		libvorbis.so:${PORTSDIR}/audio/libvorbis
 
-USE_SDL=	sdl
 USES=		cmake pkgconfig
+USE_SDL=	sdl
 USE_LDCONFIG=	yes
 
+CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		mkThumbs.1 oggCat.1 oggCut.1 oggDump.1 oggJoin.1 \
-		oggLength.1 oggSilence.1 oggSlideshow.1 oggSplit.1 \
-		oggThumb.1 oggTranscode.1
-
-NO_STAGE=	yes
 .include <bsd.port.mk>
diff -urN /usr/ports/multimedia/oggvideotools/files/patch-src__pictureBlend.cpp multimedia/oggvideotools/files/patch-src__pictureBlend.cpp
--- /usr/ports/multimedia/oggvideotools/files/patch-src__pictureBlend.cpp	1970-01-01 09:00:00.000000000 +0900
+++ multimedia/oggvideotools/files/patch-src__pictureBlend.cpp	2013-11-25 00:00:00.000000000 +0900
@@ -0,0 +1,11 @@
+--- src/pictureBlend.cpp.orig
++++ src/pictureBlend.cpp
+@@ -9,6 +9,8 @@
+ // Copyright: See COPYING file that comes with this distribution
+ //
+ //
++#include <string>
++
+ #include "pictureBlend.h"
+ #include "exception.h"
+ 
diff -urN /usr/ports/multimedia/oggvideotools/pkg-plist multimedia/oggvideotools/pkg-plist
--- /usr/ports/multimedia/oggvideotools/pkg-plist	2013-11-06 21:59:31.000000000 +0900
+++ multimedia/oggvideotools/pkg-plist	2013-11-25 00:00:00.000000000 +0900
@@ -78,5 +78,16 @@
 include/oggvt/vorbisStreamParameter.h
 include/oggvt/wishList.h
 lib/liboggvideotools.so
+man/man1/mkThumbs.1.gz
+man/man1/oggCat.1.gz
+man/man1/oggCut.1.gz
+man/man1/oggDump.1.gz
+man/man1/oggJoin.1.gz
+man/man1/oggLength.1.gz
+man/man1/oggSilence.1.gz
+man/man1/oggSlideshow.1.gz
+man/man1/oggSplit.1.gz
+man/man1/oggThumb.1.gz
+man/man1/oggTranscode.1.gz
 sbin/mkThumbs
 @dirrm include/oggvt
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131125025224.91f874f6e8ca7bbe2f113d43>