Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

2
emulators/vmips/DESCR Normal file
View File

@@ -0,0 +1,2 @@
vmips is a virtual machine simulator based around a MIPS R3000 RISC CPU
core.

30
emulators/vmips/Makefile Normal file
View File

@@ -0,0 +1,30 @@
# $NetBSD: Makefile,v 1.10 2013/05/16 05:17:45 shattered Exp $
#
DISTNAME= vmips-1.4.1
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vmips/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://vmips.sourceforge.net/
COMMENT= MIPS R3000 emulator
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
INFO_FILES= yes
INSTALLATION_DIRS= bin include/vmips ${PKGMANDIR}/man1 share/vmips share/examples/vmips
INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}
EGDIR= ${PREFIX}/share/examples/vmips
CONF_FILES= ${EGDIR}/vmipsrc ${PKG_SYSCONFDIR}/vmipsrc
USE_LANGUAGES= c c++
do-test:
if ${PKG_INFO} -qe dejagnu; then \
(cd ${WRKSRC}/test_code && ${MAKE} check); \
else \
${ECHO} "dejagnu is required for the test target"; \
fi
.include "../../mk/bsd.pkg.mk"

10
emulators/vmips/PLIST Normal file
View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.3 2013/05/16 05:17:45 shattered Exp $
bin/vmips
bin/vmipstool
include/vmips/asm_regnames.h
info/vmips.info
man/man1/vmips.1
man/man1/vmipstool.1
share/examples/vmips/vmipsrc
share/vmips/ld.script
share/vmips/setup.S

8
emulators/vmips/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.5 2013/05/16 05:17:45 shattered Exp $
SHA1 (vmips-1.4.1.tar.gz) = 1a087ed01e4e76c0ee19f3bbe5a8882a5183bf7c
RMD160 (vmips-1.4.1.tar.gz) = bb4a34bfcfdbc0c8b5644498ec237bfa8956fde9
Size (vmips-1.4.1.tar.gz) = 1038289 bytes
SHA1 (patch-cpu.cc) = 723ab3f436a460b3a7cca0f7610943606a8bdc3e
SHA1 (patch-options.cc) = 65c0a46c7c1d1feddef344f95026007ccc7b0b1d
SHA1 (patch-vmipstool.cc) = fe42e124cb205764be08cff6f65d9c3300220dfc

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-cpu.cc,v 1.1 2011/11/27 19:39:09 joerg Exp $
--- cpu.cc.orig 2011-11-27 02:48:15.000000000 +0000
+++ cpu.cc
@@ -17,6 +17,7 @@ You should have received a copy of the G
with VMIPS; if not, write to the Free Software Foundation, Inc.,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#include <string.h>
#include "cpu.h"
#include "cpzero.h"
#include "debug.h"

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-options.cc,v 1.2 2012/10/14 05:44:45 shattered Exp $
--- options.cc.orig 2011-05-08 07:23:19.000000000 +0000
+++ options.cc
@@ -24,13 +24,13 @@ with VMIPS; if not, write to the Free So
#include <cassert>
#include <cctype>
#include <cerrno>
+#include <climits>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <pwd.h>
#include <string>
#include <unistd.h>
-#include <limits.h>
#include <vector>
#define OPTBUFSIZ 1024

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-vmipstool.cc,v 1.2 2012/10/14 05:44:45 shattered Exp $
--- vmipstool.cc.orig 2011-05-08 07:23:19.000000000 +0000
+++ vmipstool.cc
@@ -32,9 +32,9 @@ int getpagesize(void);
#include "options.h"
#include <cerrno>
#include <cstdarg>
-#include <cstring>
+#include <climits>
#include <cstdlib>
-#include <limits.h>
+#include <cstring>
#include <cstdio>
#include <iostream>
#include <sys/stat.h>