summaryrefslogtreecommitdiff
path: root/emulators/hercules
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-09 10:46:43 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-09 10:46:43 +0000
commita808036d40be598c470bbe2ef71d1abd1734361b (patch)
treef16453a2871aeb129cbb01ddd8fd80948cf8b479 /emulators/hercules
parent7d79959d29ee8bd4203990a948775a0d743447be (diff)
downloadpkgsrc-a808036d40be598c470bbe2ef71d1abd1734361b.tar.gz
Add DragonFly support.
Diffstat (limited to 'emulators/hercules')
-rw-r--r--emulators/hercules/distinfo6
-rw-r--r--emulators/hercules/patches/patch-aa21
-rw-r--r--emulators/hercules/patches/patch-ad12
3 files changed, 22 insertions, 17 deletions
diff --git a/emulators/hercules/distinfo b/emulators/hercules/distinfo
index a67bced3d72..43037b15058 100644
--- a/emulators/hercules/distinfo
+++ b/emulators/hercules/distinfo
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.8 2005/02/23 18:49:19 agc Exp $
+$NetBSD: distinfo,v 1.9 2005/12/09 10:46:43 joerg Exp $
SHA1 (hercules-2.11.tar.gz) = ec84388e29cfd070055afa5fc11a33c896f2333a
RMD160 (hercules-2.11.tar.gz) = 113647be0bd80ecc52331319902a1140a81b56aa
Size (hercules-2.11.tar.gz) = 616554 bytes
-SHA1 (patch-aa) = b2b9b1685730ab0ffb74c9d4a6dd027b925d0080
+SHA1 (patch-aa) = 8e9aa1bf76fabf80af76dec0686892d20f2becba
SHA1 (patch-ab) = ea2802d8752411e964ba150d3a54f64a40fc2e70
SHA1 (patch-ac) = 454ac972ad54f19f139033abe8ccabdbb0c3f88b
-SHA1 (patch-ad) = dab44fa2ee216a8250c40675211126f61039abf3
+SHA1 (patch-ad) = 51fa93cb9fbc8382de1da52748dffa4ec2bcbf9c
SHA1 (patch-ae) = 14aafa5462a858e44c00ea6d43efd0f1cfef190e
SHA1 (patch-af) = 759ad1ee2737ed8021b5a5fd956851677e99879a
SHA1 (patch-ag) = 6dcec345641bdde0c617da10f57b6f2dd6b702ac
diff --git a/emulators/hercules/patches/patch-aa b/emulators/hercules/patches/patch-aa
index 511ab3cce26..affb00a9ebc 100644
--- a/emulators/hercules/patches/patch-aa
+++ b/emulators/hercules/patches/patch-aa
@@ -1,17 +1,23 @@
-$NetBSD: patch-aa,v 1.6 2004/05/29 23:32:19 kristerw Exp $
+$NetBSD: patch-aa,v 1.7 2005/12/09 10:46:43 joerg Exp $
-Set up compilation flags for NetBSD
-
---- makefile.orig Sat Feb 10 22:21:58 2001
-+++ makefile Tue May 8 18:57:45 2001
-@@ -9,5 +9,5 @@
+--- makefile.orig 2001-02-11 03:21:58.000000000 +0000
++++ makefile
+@@ -8,11 +8,11 @@ VERSION = 2.11
+ # besides /usr/bin. The $PREFIX (which defaults to nothing) can be
# overridden in the make command line, as in "PREFIX=/foo make install"
# (the directory is only used when installing).
-DESTDIR = $(PREFIX)/usr/bin
+DESTDIR = $(PREFIX)/bin
# Standard flags for all architectures
-@@ -22,24 +22,26 @@
+ CFLAGS = -Wall -fomit-frame-pointer -DVERSION=$(VERSION) -DNO_BYTESWAP_H
+-LFLAGS = -lpthread
++LFLAGS = ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+ # Add default flags for Pentium compilations
+ ifndef HOST_ARCH
+@@ -21,26 +21,28 @@ endif
+
# Handle host architecture if specified
ifeq ($(HOST_ARCH),i386)
-CFLAGS += -O3 -malign-double -DNO_ASM_BYTESWAP
@@ -50,3 +56,4 @@ Set up compilation flags for NetBSD
+LFLAGS += -L${PREFIX}/lib
# Reverse the comments below to disable Compressed CKD Dasd support
+ #CFLAGS += -DNO_CCKD
diff --git a/emulators/hercules/patches/patch-ad b/emulators/hercules/patches/patch-ad
index f2ecc9ddd9b..114010fb88f 100644
--- a/emulators/hercules/patches/patch-ad
+++ b/emulators/hercules/patches/patch-ad
@@ -1,14 +1,12 @@
-$NetBSD: patch-ad,v 1.1.1.1 2001/02/19 12:35:21 agc Exp $
+$NetBSD: patch-ad,v 1.2 2005/12/09 10:46:43 joerg Exp $
-Linux tape handling.
-
---- hercifc.c 2001/02/19 12:08:31 1.1
-+++ hercifc.c 2001/02/19 12:08:42
-@@ -64,7 +64,11 @@
+--- hercifc.c.orig 2001-01-28 18:05:40.000000000 +0000
++++ hercifc.c
+@@ -64,7 +64,11 @@ struct sockaddr_in *sin;
sin = (struct sockaddr_in*)
(oper == SIOCSIFADDR ? &ifreq.ifr_addr
:oper == SIOCSIFDSTADDR ? &ifreq.ifr_dstaddr
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+ :oper == SIOCSIFNETMASK ? &ifreq.ifr_broadaddr
+#else
:oper == SIOCSIFNETMASK ? &ifreq.ifr_netmask