1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Fix build with gcc 3.3.1.

Bump PORTREVISION.
This commit is contained in:
Max Khon 2003-10-28 03:31:05 +00:00
parent f9aee6c916
commit e8365b58f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92386
2 changed files with 22 additions and 7 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= xmps
PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= multimedia gnome
MASTER_SITES= http://xmps.sourceforge.net/sources/
@ -26,12 +27,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
SDL_CONFIG="${SDL_CONFIG}" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
@ -41,4 +36,4 @@ post-configure:
@${REINPLACE_CMD} -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
${WRKSRC}/libtool
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -0,0 +1,20 @@
--- codecs/video/mpeg3/motion_comp.c.orig Tue Oct 28 08:53:27 2003
+++ codecs/video/mpeg3/motion_comp.c Tue Oct 28 08:55:16 2003
@@ -66,7 +66,7 @@
// mc function template
#define MC_FUNC(op,xy) \
-static void motion_comp_##op####xy##_16x16_c (uint8_t * dest, \
+static void motion_comp_##op##xy##_16x16_c (uint8_t * dest, \
uint8_t * ref, \
int stride, \
int height) \
@@ -92,7 +92,7 @@
dest += stride; \
} while (--height); \
} \
-static void motion_comp_##op####xy##_8x8_c (uint8_t * dest, \
+static void motion_comp_##op##xy##_8x8_c (uint8_t * dest, \
uint8_t * ref, \
int stride, \
int height) \