Bug 53418 - port-upgrade: multimedia/linux-divx4plugin (fix broken header files)
Summary: port-upgrade: multimedia/linux-divx4plugin (fix broken header files)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-17 20:50 UTC by hendrik
Modified: 2003-06-19 09:57 UTC (History)
1 user (show)

See Also:


Attachments
linux-divx4linux-5.0.20030428.patch (1.62 KB, patch)
2003-06-17 20:50 UTC, hendrik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!