FreeBSD Bugzilla – Attachment 125108 Details for
Bug 168672
[PATCH] net/nam: Fix for broken Makefile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nam-1.12-4.patch
nam-1.12-4.patch (text/plain), 1.57 KB, created by
Masaki TAGAWA
on 2012-06-04 15:50:09 UTC
(
hide
)
Description:
nam-1.12-4.patch
Filename:
MIME Type:
Creator:
Masaki TAGAWA
Created:
2012-06-04 15:50:09 UTC
Size:
1.57 KB
patch
obsolete
>diff -ruN /usr/ports/net/nam.org/Makefile /usr/ports/net/nam/Makefile >--- /usr/ports/net/nam.org/Makefile 2012-05-14 05:16:32.000000000 +0900 >+++ /usr/ports/net/nam/Makefile 2012-06-04 23:06:42.000000000 +0900 >@@ -7,7 +7,7 @@ > > PORTNAME= nam > PORTVERSION= 1.12 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= net > MASTER_SITES= http://www.isi.edu/nsnam/dist/ > DISTNAME= nam-src-${PORTVERSION} >@@ -18,15 +18,13 @@ > BUILD_DEPENDS= ${LOCALBASE}/lib/libtclcl.a:${PORTSDIR}/devel/tclcl > LIB_DEPENDS= otcl.1:${PORTSDIR}/lang/otcl > >-BROKEN= does not configure >- > WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > > USE_XORG= xmu > GNU_CONFIGURE= yes >-CXXFLAGS+= -I${LOCALBASE}/include/tclcl >-CONFIGURE_ARGS= --with-tcl-ver=8.4 --with-tk-ver=8.4 >-MAKE_ARGS= CCOPT="${CXXFLAGS}" >+CONFIGURE_ARGS= --with-tcl-ver=${TCL_VER} --with-tk-ver=${TK_VER} --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include >+USE_GMAKE= yes >+USE_TK= 85+ > ALL_TARGET= ${PORTNAME} > > MAN1= nam.1 >diff -ruN /usr/ports/net/nam.org/files/patch-random.cc /usr/ports/net/nam/files/patch-random.cc >--- /usr/ports/net/nam.org/files/patch-random.cc 1970-01-01 09:00:00.000000000 +0900 >+++ /usr/ports/net/nam/files/patch-random.cc 2012-06-04 23:06:42.000000000 +0900 >@@ -0,0 +1,14 @@ >+--- random.cc.org 2006-09-27 04:28:19.000000000 +0900 >++++ random.cc 2012-06-04 19:23:10.000000000 +0900 >+@@ -50,8 +50,11 @@ >+ RANDOM_RETURN_TYPE >+ random() GCC_THROW >+ { >++ return (long)Random::uniform(); >++ /* >+ printf("random() called in nam.\nRandom is not portable, please use Random::uniform() instead.\n"); >+ abort(); >++ */ >+ } >+ >+ #endif /* !WIN32 */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168672
: 125108