Correct the video.h header so c++ in c++11 mode doesnt break.

Submitted by:	zeising
This commit is contained in:
Koop Mast 2012-09-08 11:02:19 +00:00
parent a780f017e3
commit b42c6221fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303892
2 changed files with 15 additions and 1 deletions

View file

@ -10,7 +10,7 @@ PORTNAME= gstreamer
PORTVERSION?= ${BASE_PORTVERSION}
# When chasing a shared library for a plug-in bump the PORTREVISION in the
# plug-in port instead, like ${category}/gstreamer-plugin-${PLUGIN}.
PORTREVISION?= 1
PORTREVISION?= 2
PORTEPOCH= 3
CATEGORIES?= multimedia audio
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-plugins-base/:base \

View file

@ -0,0 +1,14 @@
--- gst-libs/gst/video/video.h.orig 2012-09-08 10:03:46.000000000 +0200
+++ gst-libs/gst/video/video.h 2012-09-08 10:07:58.000000000 +0200
@@ -342,9 +342,9 @@
*/
#define GST_VIDEO_CAPS_RGB8_PALETTED \
"video/x-raw-rgb, bpp = (int)8, depth = (int)8, " \
- "width = "GST_VIDEO_SIZE_RANGE" , " \
+ "width = " GST_VIDEO_SIZE_RANGE " , " \
"height = " GST_VIDEO_SIZE_RANGE ", " \
- "framerate = "GST_VIDEO_FPS_RANGE
+ "framerate = " GST_VIDEO_FPS_RANGE
/**
* GST_VIDEO_CAPS_YUV: