FreeBSD Bugzilla – Attachment 182107 Details for
Bug 218893
emulators/dynamips-community update and tap interface fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
port patch
GNS3-dynamips-v0.2.16.patch (text/plain), 3.65 KB, created by
Olivier Cochard
on 2017-04-26 16:30:33 UTC
(
hide
)
Description:
port patch
Filename:
MIME Type:
Creator:
Olivier Cochard
Created:
2017-04-26 16:30:33 UTC
Size:
3.65 KB
patch
obsolete
>Index: emulators/dynamips-community/Makefile >=================================================================== >--- emulators/dynamips-community/Makefile (revision 439460) >+++ emulators/dynamips-community/Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= dynamips >-PORTVERSION= 0.2.15 >+PORTVERSION= 0.2.16 > DISTVERSIONPREFIX= v > CATEGORIES= emulators > PKGNAMESUFFIX= -community >@@ -12,8 +12,7 @@ > > LICENSE= GPLv2 > >-LIB_DEPENDS= libelf.so:devel/libelf \ >- libuuid.so:misc/e2fsprogs-libuuid >+LIB_DEPENDS= libelf.so:devel/libelf > > CFLAGS+= -I${PREFIX}/include/libelf > >@@ -55,7 +54,7 @@ > ${INSTALL_MAN} ${WRKSRC}/man/hypervisor_mode.7 ${STAGEDIR}${MANPREFIX}/man/man7 > > @${MKDIR} ${STAGEDIR}${DOCSDIR} >-.for file in README README.hypervisor RELEASE-NOTES ChangeLog MAINTAINERS >+.for file in README.md README.hypervisor RELEASE-NOTES ChangeLog MAINTAINERS > ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} > .endfor > >Index: emulators/dynamips-community/distinfo >=================================================================== >--- emulators/dynamips-community/distinfo (revision 439460) >+++ emulators/dynamips-community/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (GNS3-dynamips-v0.2.15_GH0.tar.gz) = 4f77a88470069dccab391ce786b633061511593efbd0a9b895e5711325eceb36 >-SIZE (GNS3-dynamips-v0.2.15_GH0.tar.gz) = 839493 >+TIMESTAMP = 1493198102 >+SHA256 (GNS3-dynamips-v0.2.16_GH0.tar.gz) = 0fcf18d701898a77cb589bd9bad16dde436ac1ccb87516fefe07d09de1a196c0 >+SIZE (GNS3-dynamips-v0.2.16_GH0.tar.gz) = 832173 >Index: emulators/dynamips-community/files/patch-CMakeLists.txt >=================================================================== >--- emulators/dynamips-community/files/patch-CMakeLists.txt (nonexistent) >+++ emulators/dynamips-community/files/patch-CMakeLists.txt (working copy) >@@ -0,0 +1,11 @@ >+--- CMakeLists.txt.orig 2016-03-16 09:05:47 UTC >++++ CMakeLists.txt >+@@ -32,7 +32,7 @@ include ( utils ) >+ include ( dependencies ) >+ include ( configure ) >+ >+-if(APPLE) >++if( APPLE OR (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") ) >+ include_directories(include /usr/local/include/) >+ include_directories(include /opt/local/include/) >+ endif() > >Property changes on: emulators/dynamips-community/files/patch-CMakeLists.txt >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: emulators/dynamips-community/files/patch-common_net__io.c >=================================================================== >--- emulators/dynamips-community/files/patch-common_net__io.c (nonexistent) >+++ emulators/dynamips-community/files/patch-common_net__io.c (working copy) >@@ -0,0 +1,15 @@ >+--- common/net_io.c.orig 2016-03-16 09:05:47 UTC >++++ common/net_io.c >+@@ -609,9 +609,11 @@ static int netio_tap_open(char *tap_devn >+ return(fd); >+ #else >+ int i,fd = -1; >++ char tap_fullname[NETIO_DEV_MAXLEN]; >+ >+ if (*tap_devname) { >+- fd = open(tap_devname,O_RDWR); >++ snprintf(tap_fullname,NETIO_DEV_MAXLEN,"/dev/%s",tap_devname); >++ fd = open(tap_fullname,O_RDWR); >+ } else { >+ for(i=0;i<16;i++) { >+ snprintf(tap_devname,NETIO_DEV_MAXLEN,"/dev/tap%d",i); > >Property changes on: emulators/dynamips-community/files/patch-common_net__io.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 218893
: 182107