Commit graph

17 commits

Author SHA1 Message Date
jperkin
20c11a0547 libmp4v2: Use C++03, fix a couple of SunOS issues. 2018-02-05 18:37:21 +00:00
he
49a2a64cb5 Newer gcc doesn't like non-defined but declared inlines.
Just skip -Werror to avoid the problem for the internal faad library.
Bump PKGREVISION.
2017-12-30 11:12:01 +00:00
markd
17334c525c libmp4v2: gcc7 build fix 2017-12-19 10:08:14 +00:00
joerg
8c75745708 Fix format strings. Fix missing prototypes. Fix missing return values.
Bump revision.
2017-09-25 22:30:06 +00:00
jperkin
85b05dd3f4 Some -fpermissive fixes. 2017-05-16 09:25:10 +00:00
maya
fa0a8259fc libmp4v2: fix build more properly.
if 0 likely out of bounds write, we only have one scratch channel,
don't write to a second if asked to do stereo (thanks, GCC 4.5.3!)

convert lowercase min, max to uppercase - libstdc++6 doesn't approve
of it. mostly using sed, because there's too many occurences.

if we're not returning anything, use a void return type.

fix likely issue with signed char - 0251 may be truncated, but the
equivalent \xa9 won't be.

don't store a return value if we're not going to check it.

correct misleading indentation.

Remove -fpermissive too, as it caused jperkin issues. I could build
without removing -Werror, but I'll keep it since it's full of warnings.

XXX do we want a security advisory for this, if it can be triggered?
2017-05-06 18:12:00 +00:00
maya
6463e5c509 libmp4v2: No longer require a new GCC version
Use -Wno-return-type to silence compiler errors on clang 4.0.

patch function prototype to fix error in prototype with GCC 4.5.3:
error: prototype for 'Void CMotionVector::setToZero(<type error>)'

Successfully tested clang 4.0, GCC 5.4, GCC 4.5.3.
2017-04-26 14:38:30 +00:00
wiz
38788d719e Install more tools, headers and libraries, as well as the mpeg4ip-config
script.

Fix a fpos_t cast on NetBSD in the installed header file.

Bump PKGREVISION.
2017-04-17 08:40:56 +00:00
wiz
fe02fc3578 Fix mandoc lint warnings in MP4(3) man page.
Improve COMMENT while here.
Bump PKGREVISION.
2012-03-12 15:14:51 +00:00
christos
707615c61c PR/46089: David Shao: Don't use f{g,s}etpos because there is no portable
way of extracting the offset from them, which is all that is needed in
this case. Just use fseeko/ftello.
2012-02-24 18:36:48 +00:00
hans
88eaa8164a SunOS doesn't have u_int8_t etc., so define them in the header where
they are used. Fixes build of several packages using libmp4v2.
2012-01-11 15:43:44 +00:00
markd
c7c86ada76 leave it to <string.h> to declare strcasestr() correctly 2011-01-29 21:00:45 +00:00
dillo
bda29e210e Add define of new type to mpeg4ip.h replacement.
Bump revision, since depending packages failed to compile.
2007-11-19 09:48:43 +00:00
drochner
66bbe4ea4c update to 1.6.1; this is the last release because the author changed
jobs; the release contains final fixes and cleanup
(The original distfile is corrupt, and the author appearently not able
to fix it, so we fetch a repackaged version from FreeBSD.)
2007-11-14 18:44:45 +00:00
drochner
c0aa5a845a include <stdint.h> explicitely to get uint16_t (on NetBSD/sys/types.h
defines these, but on Linux it does not)
should fix build problem reported by Lieven De Keyzer in pkgsrc-users
2007-02-23 13:55:17 +00:00
joerg
813f126907 Don't bail out if SDL is not installed. 2007-02-15 22:52:15 +00:00
drochner
70986b479c split out the libmp4v2 part from mpeg4ip -- all users in the pkgsrc
tree just need that library, the player in mpeg4ip just causes an unwanted
dependency on SDL and complications due to plugin building
2007-02-09 19:57:48 +00:00