summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2009-03-11 19:24:41 +0000
committerhasso <hasso>2009-03-11 19:24:41 +0000
commit2eb80017fa950a337dbd74c57ac6d9396151af39 (patch)
tree2fba01da310771eb67c318f6d3fbcdee0a482cc5
parent0a28ebebc83e61e22f062e48d36b57b14cd9980e (diff)
downloadpkgsrc-2eb80017fa950a337dbd74c57ac6d9396151af39.tar.gz
Make it build on DragonFly.
-rw-r--r--chat/konversation/distinfo3
-rw-r--r--chat/konversation/patches/patch-ab12
-rw-r--r--editors/mg/distinfo3
-rw-r--r--editors/mg/patches/patch-ah27
4 files changed, 43 insertions, 2 deletions
diff --git a/chat/konversation/distinfo b/chat/konversation/distinfo
index 0155a4db88f..514d614681d 100644
--- a/chat/konversation/distinfo
+++ b/chat/konversation/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2008/10/12 04:14:58 tonnerre Exp $
+$NetBSD: distinfo,v 1.10 2009/03/11 19:27:00 hasso Exp $
SHA1 (konversation-1.1.tar.bz2) = 9b2984a0535c9c148f62c9e4d651366e6e875bd9
RMD160 (konversation-1.1.tar.bz2) = ce79f6ec97cc8d7b048b15898d02eb87b4ea02ce
Size (konversation-1.1.tar.bz2) = 5468714 bytes
SHA1 (patch-aa) = c65f7cac42af69a5a9f227c91befbe13f7d978a1
+SHA1 (patch-ab) = e31cc83d957babb6f002aa19efdc4ab314c5c970
diff --git a/chat/konversation/patches/patch-ab b/chat/konversation/patches/patch-ab
new file mode 100644
index 00000000000..831dea3adaf
--- /dev/null
+++ b/chat/konversation/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.5 2009/03/11 19:27:00 hasso Exp $
+
+--- konversation/src/dcccommon.cpp.orig 2009-03-11 19:22:06 +0200
++++ konversation/src/dcccommon.cpp 2009-03-11 19:22:36 +0200
+@@ -15,6 +15,7 @@
+ #include "server.h"
+
+ #include <arpa/inet.h>
++#include <netinet/in.h>
+
+ #include <qhostaddress.h>
+
diff --git a/editors/mg/distinfo b/editors/mg/distinfo
index 64c617ca254..6e9ec838c22 100644
--- a/editors/mg/distinfo
+++ b/editors/mg/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2009/02/13 11:42:01 abs Exp $
+$NetBSD: distinfo,v 1.3 2009/03/11 19:24:41 hasso Exp $
SHA1 (mg-20090107.tar.gz) = 3191c6dea4996347b6d40b34fa4c88a57e5ef42e
RMD160 (mg-20090107.tar.gz) = d35cc894d2be7bfafb1943fefb5529c2dcbc2002
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = a5d9864a49c83c4851266b24bea62534859acccc
SHA1 (patch-ad) = f71bed38dc38ca107dd8aade779a75b5597aab0d
SHA1 (patch-af) = e305ea6c7189b51467c5f46fec42d88c0f54c107
SHA1 (patch-ag) = 5d973ea998cca712e39a8b207820aea7e2739316
+SHA1 (patch-ah) = 579d1438d959597899ef82ab4bfed662792fa64d
diff --git a/editors/mg/patches/patch-ah b/editors/mg/patches/patch-ah
new file mode 100644
index 00000000000..5291a646769
--- /dev/null
+++ b/editors/mg/patches/patch-ah
@@ -0,0 +1,27 @@
+$NetBSD: patch-ah,v 1.1 2009/03/11 19:24:41 hasso Exp $
+
+--- fileio.c.orig 2009-03-11 19:57:37 +0200
++++ fileio.c 2009-03-11 19:58:36 +0200
+@@ -15,6 +15,10 @@
+ #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
+ #endif
+
++#ifndef NAME_MAX
++#define NAME_MAX MAXNAMLEN
++#endif
++
+ #include <sys/time.h>
+ #include <sys/resource.h>
+ #include <sys/wait.h>
+@@ -545,11 +549,7 @@ make_file_list(char *buf)
+ * SV files are fairly short. For BSD, something more general would
+ * be required.
+ */
+-#ifdef __CYGWIN__ /* Cygwin uses NAME_MAX for dirents */
+ if (preflen > NFILEN - NAME_MAX)
+-#else
+- if (preflen > NFILEN - MAXNAMLEN)
+-#endif
+ return (NULL);
+
+ /* loop over the specified directory, making up the list of files */