diff options
author | mezz <mezz@FreeBSD.org> | 2006-06-13 00:53:21 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2006-06-13 00:53:21 +0800 |
commit | e0c1fae8168f285f96e84da497023ea3e4294965 (patch) | |
tree | 83780b2e3ce2fec9c631f464afcb466f67dbbd9e /multimedia/mpgtx | |
parent | 891af2ca31c617582228f3207be0378235524587 (diff) | |
download | freebsd-ports-gnome-e0c1fae8168f285f96e84da497023ea3e4294965.tar.gz freebsd-ports-gnome-e0c1fae8168f285f96e84da497023ea3e4294965.tar.zst freebsd-ports-gnome-e0c1fae8168f285f96e84da497023ea3e4294965.zip |
Fix the largefile support when copy bigger than 4gb, bump the PORTREVISION.
PR: ports/98037
Submitted by: Michael Hohmuth <hohmuth@sax.de>
Diffstat (limited to 'multimedia/mpgtx')
-rw-r--r-- | multimedia/mpgtx/Makefile | 5 | ||||
-rw-r--r-- | multimedia/mpgtx/files/patch-common.hh | 11 |
2 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/mpgtx/Makefile b/multimedia/mpgtx/Makefile index a4d2ee7d2c76..6c68e00133ba 100644 --- a/multimedia/mpgtx/Makefile +++ b/multimedia/mpgtx/Makefile @@ -1,4 +1,3 @@ -# ex:ts=8 # New ports collection makefile for: mpgtx # Date created: May 15, 2001 # Whom: ijliao @@ -8,7 +7,7 @@ PORTNAME= mpgtx PORTVERSION= 1.3.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -31,7 +30,7 @@ MLINKS= mpgtx.1 mpgcat.1 \ pre-patch: @${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS\+=|g ; \ - s|\$$cflags \$$optimization_cflags|${CFLAGS}|g ; \ + s|="\$$cflags \$$optimization_cflags|+="${CFLAGS}|g ; \ s|g++|${CXX}|g; s|-pedantic||' ${WRKSRC}/configure do-install: diff --git a/multimedia/mpgtx/files/patch-common.hh b/multimedia/mpgtx/files/patch-common.hh new file mode 100644 index 000000000000..21f1cff66dfb --- /dev/null +++ b/multimedia/mpgtx/files/patch-common.hh @@ -0,0 +1,11 @@ +--- common.hh.orig Mon Jun 12 11:46:27 2006 ++++ common.hh Mon Jun 12 11:47:03 2006 +@@ -208,7 +208,7 @@ + //@{ + + #ifdef _LARGEFILE_SOURCE +-#ifdef _MACOSX ++#if defined (_MACOSX) || defined (__FreeBSD__) + #define _OFF_d "%qd" + #define _OFF_x "%qx" + #else |