Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 08:13:18 -0400 (EDT)
From:      Thomas Abthorpe <tabthorpe@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        nobutaka@FreeBSD.org
Subject:   ports/128336: [PATCH] multimedia/libxine: Fix a compilation failure when using C++
Message-ID:  <200810241213.m9OCDIrI099215@rex.goodking.ca>
Resent-Message-ID: <200810241220.m9OCK1bd062883@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128336
>Category:       ports
>Synopsis:       [PATCH] multimedia/libxine: Fix a compilation failure when using C++
>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:   Fri Oct 24 12:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 7.0-RELEASE-p5 i386
>Organization:
FreeBSD.GoodKing.Ca
>Environment:
System: FreeBSD rex.goodking.ca 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct  1 10:10:12 UTC
>Description:
- Fixes compilation of dependant ports
- Bump PORTREVISION
- Patch found at http://hg.debian.org/hg/xine-lib/xine-lib?cmd=changeset;node=c35bdd51ce1c;style=gitweb
- Thanks to makc@ and miwi@ for diagnosing

Added file(s):
- files/patch-src__xine-engine__buffer.h

Port maintainer (nobutaka@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- libxine-1.1.15_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/Makefile /home/tabthorpe/ports/multimedia/libxine/Makefile
--- /usr/ports/multimedia/libxine/Makefile	2008-10-19 10:05:44.000000000 -0400
+++ /home/tabthorpe/ports/multimedia/libxine/Makefile	2008-10-24 08:04:28.000000000 -0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	xine
 PORTVERSION=	1.1.15
+PORTREVISION=	1
 CATEGORIES=	multimedia ipv6
 MASTER_SITES=	SF
 PKGNAMEPREFIX=	lib
diff -ruN --exclude=CVS /usr/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h /home/tabthorpe/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h
--- /usr/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h	1969-12-31 19:00:00.000000000 -0500
+++ /home/tabthorpe/ports/multimedia/libxine/files/patch-src__xine-engine__buffer.h	2008-10-24 08:04:28.000000000 -0400
@@ -0,0 +1,11 @@
+--- src/xine-engine/buffer.h.orig	2008-07-16 17:01:56.000000000 -0400
++++ src/xine-engine/buffer.h	2008-10-23 14:25:45.000000000 -0400
+@@ -676,7 +676,7 @@
+ /* convert xine_waveformatex struct from little endian */
+ void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED;
+ 
+-static inline _x_is_fourcc(void *ptr, void *tag) {
++static inline int _x_is_fourcc(void *ptr, void *tag) {
+   return memcmp(ptr, tag, 4) == 0;
+ }
+ 
--- libxine-1.1.15_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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