Commit graph

34 commits

Author SHA1 Message Date
jperkin
8dbdee55e3 libmp4v2: Fix build on SunOS. 2018-10-23 10:45:01 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
jperkin
20c11a0547 libmp4v2: Use C++03, fix a couple of SunOS issues. 2018-02-05 18:37:21 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +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
maya
28d8f7af4c Don't override user-provided GCC_REQD. 2017-04-26 14:04:08 +00:00
wiz
c052769d8b Simon Burge reports this needs gcc-5.x. Add GCC_REQD. 2017-04-21 14:48:41 +00:00
wiz
5a829d2c92 Remove mpeg4ip, unused in pkgsrc, newer version in multimedia/libmp4v2. 2017-04-17 08:48:00 +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
agc
95c9a6891d Add SHA512 digests for distfiles for multimedia category
Problems found locating distfiles:
        Package adobe-flash-plugin11: missing distfile flash-plugin-11.2.202.540-release.i386.rpm
        Package gmplayer: missing distfile mplayer/AlienMind-1.2.tar.bz2
        Package gmplayer: missing distfile mplayer/BlueHeart-1.5.tar.bz2
        Package gmplayer: missing distfile mplayer/CornerMP-aqua-1.4.tar.bz2
        Package gmplayer: missing distfile mplayer/MPlayer-1.1.1.tar.xz
        Package gmplayer: missing distfile mplayer/WMP6-2.2.tar.bz2
        Package gmplayer: missing distfile mplayer/gnome-1.1.tar.bz2
        Package gmplayer: missing distfile mplayer/hwswskin-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/neutron-1.6.tar.bz2
        Package gmplayer: missing distfile mplayer/plastic-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/slim-1.3.tar.bz2
        Package gmplayer: missing distfile mplayer/xine-lcd-1.2.tar.bz2
        Package handbrake: missing distfile handbrake/HandBrake-0.9.3.tar.gz
        Package handbrake: missing distfile handbrake/bzip2-1.0.5.tar.gz
        Package handbrake: missing distfile handbrake/faad2-2.6.1.tar.gz
        Package handbrake: missing distfile handbrake/lame-3.98.tar.gz
        Package handbrake: missing distfile handbrake/libdvdread-0.9.7.tar.gz
        Package handbrake: missing distfile handbrake/libmp4v2-r45.tar.gz
        Package handbrake: missing distfile handbrake/libquicktime-0.9.10.tar.gz
        Package handbrake: missing distfile handbrake/libtheora-1.0.tar.gz
        Package handbrake: missing distfile handbrake/mpeg2dec-0.5.1.tar.gz
        Package handbrake: missing distfile handbrake/x264-r1028-83baa7f.tar.gz
        Package handbrake: missing distfile handbrake/zlib-1.2.3.tar.gz
        Package libdvdcss: missing distfile libdvdcss-1.3.99.tar.bz2
        Package mplayer-share: missing distfile mplayer/MPlayer-1.1.1.tar.xz
        Package mpv: missing distfile mpv-0.12.0.tar.gz
        Package realplayer-codecs: missing distfile rp8codecs-20040626.tar.bz2
        Package realplayer-codecs: missing distfile rp8codecs-alpha-20050115.tar.bz2
        Package win32-codecs: missing distfile rp9codecs-win32-20050115.tar.bz2
        Package xanim: missing distfile xa2.0_cvid_netbsd386.o.gz
        Package xanim: missing distfile xa2.0_iv32_netbsd386.o.gz
        Package xanim: missing distfile xa1.0_cyuv_netbsd68k.o.gz
        Package xanim: missing distfile xa2.0_cvid_linuxELF.o.gz
        Package xanim: missing distfile xa2.0_iv32_linuxELF.o.gz
        Package xanim: missing distfile xa1.0_cyuv_sparcAOUT.o.gz
        Package xanim: missing distfile xa2.0_cvid_sparcELF.o.gz
        Package xanim: missing distfile xa2.0_iv32_sparcELF.o.gz
        Package xanim: missing distfile xa1.0_cyuv_linuxPPC.o.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:54:22 +00:00
wiz
16e764055a dd conflict with mp4v2. 2012-12-03 22:26:17 +00:00
asau
a19397ba81 Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 09:20:57 +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
8cd565331d PR/46089: David Shao: f{g,s}etpos portability fixes. 2012-02-24 18:37:30 +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
wiz
afe04b932a Revert unintended commits. 2012-02-22 15:39:43 +00:00
wiz
10b42eef42 Mention putty-devel successor. 2012-02-22 15:31:34 +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
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
ba70e7ff1a Avoid finding nasm. 2008-12-04 15:07:03 +00:00
drochner
738b7fb099 set OVERRIDE_DIRDEPTH because there are config.{guess,sub} files
deep within the hierarchy (not used by the build),
from Rumko per mail to pkgsrc-users
2007-11-27 21:24:32 +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
heinz
ed24cd8faf The package supports installation to DESTDIR. 2007-07-01 15:47:54 +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
wiz
b5fc0d8cd6 Proxy-commit for drochner@:
The bootstrap script checks too much and isn't useful -- just don't use it.
2007-02-16 00:56:40 +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