diff options
-rw-r--r-- | mbone/vic/Makefile | 15 | ||||
-rw-r--r-- | mbone/vic/files/patch-warns | 9 | ||||
-rw-r--r-- | multimedia/vic/Makefile | 15 | ||||
-rw-r--r-- | multimedia/vic/files/patch-warns | 9 |
4 files changed, 36 insertions, 12 deletions
diff --git a/mbone/vic/Makefile b/mbone/vic/Makefile index 92a1a48..d1ad10b 100644 --- a/mbone/vic/Makefile +++ b/mbone/vic/Makefile @@ -16,18 +16,21 @@ COMMENT= MBONE video tool BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat -LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84 \ - uclmmbase:${PORTSDIR}/devel/uclmmbase +LIB_DEPENDS= uclmmbase:${PORTSDIR}/devel/uclmmbase +USE_TK= yes +USE_TK_BUILD= yes USE_AUTOTOOLS= autoconf:213 USE_X_PREFIX= yes -CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \ - -x-includes=${PREFIX}/include \ +CONFIGURE_ARGS= -x-libraries=${X11BASE}/lib \ + -x-includes=${X11BASE}/include \ -without-ucltcl \ -with-tcl=${LOCALBASE} \ -without-ucltk \ - -with-tk=${LOCALBASE} \ - -enable-ipv6 + -with-tk=${LOCALBASE} +.ifndef (NO_INET6) +CONFIGURE_ARGS+=-enable-ipv6 +.endif MAN1= vic.1 post-patch: diff --git a/mbone/vic/files/patch-warns b/mbone/vic/files/patch-warns new file mode 100644 index 0000000..8db7f71 --- /dev/null +++ b/mbone/vic/files/patch-warns @@ -0,0 +1,9 @@ +--- codec/p64/p64.cpp Thu Sep 9 08:46:10 1999 ++++ codec/p64/p64.cpp Mon Mar 26 01:44:44 2007 +@@ -1069,5 +1069,5 @@ + * with 8 bits; otherwise, prime it with a 16. + */ +- if ((int)bp & 1) { ++ if ((intptr_t)bp & 1) { + bs_ = (u_short*)(bp + 1); + bb_ = *bp; diff --git a/multimedia/vic/Makefile b/multimedia/vic/Makefile index 92a1a48..d1ad10b 100644 --- a/multimedia/vic/Makefile +++ b/multimedia/vic/Makefile @@ -16,18 +16,21 @@ COMMENT= MBONE video tool BUILD_DEPENDS+= v4l_compat>=1.0.20060801:${PORTSDIR}/multimedia/v4l_compat -LIB_DEPENDS= tk84:${PORTSDIR}/x11-toolkits/tk84 \ - uclmmbase:${PORTSDIR}/devel/uclmmbase +LIB_DEPENDS= uclmmbase:${PORTSDIR}/devel/uclmmbase +USE_TK= yes +USE_TK_BUILD= yes USE_AUTOTOOLS= autoconf:213 USE_X_PREFIX= yes -CONFIGURE_ARGS= -x-libraries=${PREFIX}/lib \ - -x-includes=${PREFIX}/include \ +CONFIGURE_ARGS= -x-libraries=${X11BASE}/lib \ + -x-includes=${X11BASE}/include \ -without-ucltcl \ -with-tcl=${LOCALBASE} \ -without-ucltk \ - -with-tk=${LOCALBASE} \ - -enable-ipv6 + -with-tk=${LOCALBASE} +.ifndef (NO_INET6) +CONFIGURE_ARGS+=-enable-ipv6 +.endif MAN1= vic.1 post-patch: diff --git a/multimedia/vic/files/patch-warns b/multimedia/vic/files/patch-warns new file mode 100644 index 0000000..8db7f71 --- /dev/null +++ b/multimedia/vic/files/patch-warns @@ -0,0 +1,9 @@ +--- codec/p64/p64.cpp Thu Sep 9 08:46:10 1999 ++++ codec/p64/p64.cpp Mon Mar 26 01:44:44 2007 +@@ -1069,5 +1069,5 @@ + * with 8 bits; otherwise, prime it with a 16. + */ +- if ((int)bp & 1) { ++ if ((intptr_t)bp & 1) { + bs_ = (u_short*)(bp + 1); + bb_ = *bp; |