Bug 53418

Summary: port-upgrade: multimedia/linux-divx4plugin (fix broken header files)
Product: Ports & Packages Reporter: hendrik <hendrik>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: lioux
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
linux-divx4linux-5.0.20030428.patch none

Description hendrik 2003-06-17 20:50:13 UTC
This is an update of linux-divx4 to the latest version which allows
correct usage of the header files.

Fix: Upgrade the port (the definitions in decore.h and encore.h have been removed)
or add two patches to disable the broken cpp blocks to the current port.

	
How-To-Repeat: 
Try to use decore.h or encore.h, i.e. using the latest transcode from cvs
including DivX 5 support:

configure:19047: cc -c -I/compat/linux/usr/include/divx -O -pipe -mcpu=pentiumpro -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c >&5
In file included from configure:19159:
/compat/linux/usr/include/divx/decore.h:31:1: warning: "BIG_ENDIAN" redefined
In file included from /usr/include/sys/types.h:48,
                 from configure:19127: 
/usr/include/machine/endian.h:65:1: warning: this is the location of the previous definition

decore.h contains at line 30:

#if ( (! defined (WIN32)) && (! defined (LINUX)) )
#define BIG_ENDIAN
#endif

This definition is obviously broken since there are non big-endian machines
out there not running Windows or Linux :)
Comment 1 Hendrik Scholz 2003-06-17 22:28:14 UTC
I forgot to add 'portab.h' to the pkg-plist.

Sorry, Hendrik

-- 
Hendrik Scholz - <hscholz@raisdorf.net> - http://raisdorf.net/

Forcast for tonight: Dark.
Comment 2 Daichi GOTO freebsd_committer freebsd_triage 2003-06-19 09:57:01 UTC
State Changed
From-To: open->closed

Committed. Thanks!