pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/SOPE add patches to fix SOPE on sunos



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27275390ab3c
branches:  trunk
changeset: 355933:27275390ab3c
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Dec 15 23:57:16 2016 +0000

description:
add patches to fix SOPE on sunos

diffstat:

 devel/SOPE/Makefile                                                  |   4 +-
 devel/SOPE/PLIST.SunOS                                               |  13 ++++++++
 devel/SOPE/distinfo                                                  |   4 +-
 devel/SOPE/patches/patch-sope-core_NGStreams_NGActiveSocket.m        |  16 ++++++++++
 devel/SOPE/patches/patch-sope-core_NGStreams_NGDescriptorFunctions.m |  15 +++++++++
 5 files changed, 49 insertions(+), 3 deletions(-)

diffs (86 lines):

diff -r c201cbb96c39 -r 27275390ab3c devel/SOPE/Makefile
--- a/devel/SOPE/Makefile       Thu Dec 15 23:56:53 2016 +0000
+++ b/devel/SOPE/Makefile       Thu Dec 15 23:57:16 2016 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2016/12/04 05:17:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.34 2016/12/15 23:57:16 wiedi Exp $
 #
 
 DISTNAME=      SOPE-2.3.14
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel
 MASTER_SITES=  http://www.sogo.nu/files/downloads/SOGo/Sources/
 
diff -r c201cbb96c39 -r 27275390ab3c devel/SOPE/PLIST.SunOS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/SOPE/PLIST.SunOS    Thu Dec 15 23:57:16 2016 +0000
@@ -0,0 +1,13 @@
+lib/libDOM.so.4.9
+lib/libEOControl.so.4.9
+lib/libGDLAccess.so.4.9
+lib/libNGExtensions.so.4.9
+lib/libNGLdap.so.4.9
+lib/libNGMime.so.4.9
+lib/libNGObjWeb.so.4.9
+lib/libNGStreams.so.4.9
+lib/libSaxObjC.so.4.9
+lib/libWEExtensions.so.4.9
+lib/libWOExtensions.so.4.9
+lib/libXmlRpc.so.4.9
+lib/libSBJson.so.2
diff -r c201cbb96c39 -r 27275390ab3c devel/SOPE/distinfo
--- a/devel/SOPE/distinfo       Thu Dec 15 23:56:53 2016 +0000
+++ b/devel/SOPE/distinfo       Thu Dec 15 23:57:16 2016 +0000
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.15 2016/09/12 14:44:08 taca Exp $
+$NetBSD: distinfo,v 1.16 2016/12/15 23:57:16 wiedi Exp $
 
 SHA1 (SOPE-2.3.14.tar.gz) = 0a1d74df5fb7320d48aab0dfa42d532b294adf7a
 RMD160 (SOPE-2.3.14.tar.gz) = 1ea1615d03db0f1b8d835e5d4c345b98c59f0ae7
 SHA512 (SOPE-2.3.14.tar.gz) = 357a0f93bfc02252f8341f7997c4d4fadf5d7d95e636b6c59c5fc1905c48017eecba855064ee4b00e85311fa1f70248caa02445d08d403b52bab3cc4f9317ae1
 Size (SOPE-2.3.14.tar.gz) = 2279670 bytes
+SHA1 (patch-sope-core_NGStreams_NGActiveSocket.m) = c06a04b009f894eee0161eb8bd3f9c7011b6de3e
+SHA1 (patch-sope-core_NGStreams_NGDescriptorFunctions.m) = e3045db3205cd859d78c3953e0f1565626c69d04
 SHA1 (patch-sope-core_NGStreams_NGInternetSocketAddress.m) = e0262b32d6ac3766b06a797d19a976180078a780
 SHA1 (patch-sope-core_NGStreams_NGLocalSocketAddress.m) = 26288c147ef39ef3a63bc03cc83be123b364d206
 SHA1 (patch-sope-core_NGStreams_NGLocalSocketDomain.m) = 2b8d2e842e6de346bf908bf38bbf4c5de4d93e89
diff -r c201cbb96c39 -r 27275390ab3c devel/SOPE/patches/patch-sope-core_NGStreams_NGActiveSocket.m
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/SOPE/patches/patch-sope-core_NGStreams_NGActiveSocket.m     Thu Dec 15 23:57:16 2016 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-sope-core_NGStreams_NGActiveSocket.m,v 1.1 2016/12/15 23:57:16 wiedi Exp $
+
+ignore MSG_NOSIGNAL on sunos
+--- sope-core/NGStreams/NGActiveSocket.m.orig  2016-08-17 12:26:04.000000000 +0000
++++ sope-core/NGStreams/NGActiveSocket.m
+@@ -54,6 +54,10 @@
+ #  include <sys/ioctl.h>
+ #endif
+ 
++#if defined(__sun)
++#  define MSG_NOSIGNAL 0
++#endif
++
+ #if HAVE_WINDOWS_H && !defined(__CYGWIN32__)
+ #  include <windows.h>
+ #endif
diff -r c201cbb96c39 -r 27275390ab3c devel/SOPE/patches/patch-sope-core_NGStreams_NGDescriptorFunctions.m
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/SOPE/patches/patch-sope-core_NGStreams_NGDescriptorFunctions.m      Thu Dec 15 23:57:16 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-sope-core_NGStreams_NGDescriptorFunctions.m,v 1.1 2016/12/15 23:57:16 wiedi Exp $
+
+ttyname_r comes from <unistd.h> which is already included
+--- sope-core/NGStreams/NGDescriptorFunctions.m.orig   2016-08-17 12:26:04.000000000 +0000
++++ sope-core/NGStreams/NGDescriptorFunctions.m
+@@ -387,9 +387,6 @@ NSString *NGDescriptorGetTtyName(int _fd
+ #endif
+   {
+ #if HAVE_TTYNAME_R
+-#  ifndef sparc
+-   extern int ttyname_r(int, char*, size_t);
+-#  endif
+ #  ifdef _POSIX_PATH_MAX
+     char namebuffer[_POSIX_PATH_MAX + 128];
+ #  else



Home | Main Index | Thread Index | Old Index