Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 21:50:55 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145387: [patch] Fix initial compile with multimedia/vlc after r205471
Message-ID:  <201004042150.o34Lot6o062567@www.freebsd.org>
Resent-Message-ID: <201004042200.o34M0Gdx013999@freefall.freebsd.org>

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

>Number:         145387
>Category:       ports
>Synopsis:       [patch] Fix initial compile with multimedia/vlc after r205471
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 04 22:00:16 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r205872M: Sat Apr  3 18:14:55 PDT 2010     root@bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA  amd64
>Description:
vlc is broken as of r205471 because it was using the LARGEFILE64 macro. The attached patch fixes the compile piece, but it fails to link because devel/qt-moc is broken as of the lib bump as well.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- vlc-config.in.in~	2010-04-04 13:45:57.000000000 -0700
+++ vlc-config.in.in	2010-04-04 13:46:11.000000000 -0700
@@ -87,7 +87,7 @@
 #
 #  On Linux and Solaris, activate 64-bit off_t (by default under BSD)
 #
-cppflags="${cppflags} -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE"
+cppflags="${cppflags} -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE"
 
 #
 #  Various additional defines


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



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