pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/scim-prime prevent to use non portable sig_t



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a13c57fbd15
branches:  trunk
changeset: 616243:8a13c57fbd15
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Mar 20 06:54:41 2013 +0000

description:
prevent to use non portable sig_t

diffstat:

 inputmethod/scim-prime/distinfo                                |   3 +-
 inputmethod/scim-prime/patches/patch-src_prime__connection.cpp |  24 ++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 0dddd43f7b8e -r 8a13c57fbd15 inputmethod/scim-prime/distinfo
--- a/inputmethod/scim-prime/distinfo   Wed Mar 20 06:08:44 2013 +0000
+++ b/inputmethod/scim-prime/distinfo   Wed Mar 20 06:54:41 2013 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/11/24 12:04:46 obache Exp $
+$NetBSD: distinfo,v 1.2 2013/03/20 06:54:41 obache Exp $
 
 SHA1 (scim-prime-1.0.1.tar.gz) = d4f9cef3a2bc665a515152429a5a30de338bb73d
 RMD160 (scim-prime-1.0.1.tar.gz) = 1510d16b30e4ee46198506928b4e69fba7fa07a0
 Size (scim-prime-1.0.1.tar.gz) = 556999 bytes
+SHA1 (patch-src_prime__connection.cpp) = b1fe74fb3acbe5d90cb189c4f81d9ed8de8244b8
diff -r 0dddd43f7b8e -r 8a13c57fbd15 inputmethod/scim-prime/patches/patch-src_prime__connection.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/scim-prime/patches/patch-src_prime__connection.cpp    Wed Mar 20 06:54:41 2013 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_prime__connection.cpp,v 1.1 2013/03/20 06:54:42 obache Exp $
+
+* prevent to use non portable sig_t
+
+--- src/prime_connection.cpp.orig      2008-01-23 06:13:00.000000000 +0000
++++ src/prime_connection.cpp
+@@ -223,7 +223,7 @@ PrimeConnection::close_connection (void)
+         size_t len, remaining;
+         len = remaining = strlen (command);
+ 
+-        sig_t prev_handler = signal (SIGPIPE, handle_sigpipe);
++        void (*prev_handler)(int) = signal (SIGPIPE, handle_sigpipe);
+ 
+ #if 0
+         bool rv;
+@@ -531,7 +531,7 @@ PrimeConnection::send_command (const cha
+     str += "\n";
+ 
+ 
+-    sig_t prev_handler = signal (SIGPIPE, handle_sigpipe);
++    void (*prev_handler)(int) = signal (SIGPIPE, handle_sigpipe);
+ 
+     //
+     // write the command



Home | Main Index | Thread Index | Old Index