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:
parent
f9aee6c916
commit
e8365b58f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92386
@ -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>
|
||||
|
20
multimedia/xmps/files/patch-codecs-video-mpeg3-motion_comp.c
Normal file
20
multimedia/xmps/files/patch-codecs-video-mpeg3-motion_comp.c
Normal 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) \
|
Loading…
x
Reference in New Issue
Block a user