pkgsrc-Changes archive

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

CVS commit: pkgsrc/inputmethod/unicon-im



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jan  4 10:47:27 UTC 2026

Modified Files:
        pkgsrc/inputmethod/unicon-im: Makefile distinfo
Added Files:
        pkgsrc/inputmethod/unicon-im/patches: patch-configure

Log Message:
unicon-im: fix build on NetBSD-current


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/inputmethod/unicon-im/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/inputmethod/unicon-im/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/inputmethod/unicon-im/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/inputmethod/unicon-im/Makefile
diff -u pkgsrc/inputmethod/unicon-im/Makefile:1.20 pkgsrc/inputmethod/unicon-im/Makefile:1.21
--- pkgsrc/inputmethod/unicon-im/Makefile:1.20  Sat Oct  6 14:25:21 2012
+++ pkgsrc/inputmethod/unicon-im/Makefile       Sun Jan  4 10:47:27 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2012/10/06 14:25:21 asau Exp $
+# $NetBSD: Makefile,v 1.21 2026/01/04 10:47:27 wiz Exp $
 
 DISTNAME=      unicon-1.2
 PKGNAME=       unicon-im-1.2
@@ -20,6 +20,7 @@ GNU_CONFIGURE=        YES
 .include "../../mk/bsd.prefs.mk"
 
 CFLAGS+=       -D_POSIX_THREAD_SYSCALL_SOFT=0
+CFLAGS+=       -Wno-incompatible-pointer-types
 
 INSTALL_MAKE_FLAGS=    prefix=${DESTDIR}${PREFIX}
 

Index: pkgsrc/inputmethod/unicon-im/distinfo
diff -u pkgsrc/inputmethod/unicon-im/distinfo:1.12 pkgsrc/inputmethod/unicon-im/distinfo:1.13
--- pkgsrc/inputmethod/unicon-im/distinfo:1.12  Tue Oct 26 10:49:47 2021
+++ pkgsrc/inputmethod/unicon-im/distinfo       Sun Jan  4 10:47:27 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:49:47 nia Exp $
+$NetBSD: distinfo,v 1.13 2026/01/04 10:47:27 wiz Exp $
 
 BLAKE2s (unicon-1.2.tar.gz) = 2b80cf76d15fc038250ef623a537807a0e035fe95782a13c957eb3a8402f3762
 SHA512 (unicon-1.2.tar.gz) = fa2e25f451b9eac27702fca0a9066532ffbfe118ec95bb3d6035a4279543882aaa23870d3392d2bf3731d9b3b98cfb8955857f7e46bb90693dc21b3dc5a33ee1
@@ -17,5 +17,6 @@ SHA1 (patch-aj) = 13592873c58a68837fd9a6
 SHA1 (patch-ak) = e73ed21080cf92db41038acec7ea3f574b3bad59
 SHA1 (patch-al) = af704d8e0b5712f0bc1286f7c1dfbf2f761e735b
 SHA1 (patch-am) = 36bed0bf2167a3ab5919d02d191e405e68687108
+SHA1 (patch-configure) = ab71c13b31a678b3cc3502a78f14200df0a8f0b3
 SHA1 (patch-server_TLS__ImmOp.cpp) = 89992124de68fd00ba5a7f4c73c9638a23a559d0
 SHA1 (patch-server_TLS__MemFile.cpp) = f5231f5af38e9d833035bc6dccf7758beb02764c

Added files:

Index: pkgsrc/inputmethod/unicon-im/patches/patch-configure
diff -u /dev/null pkgsrc/inputmethod/unicon-im/patches/patch-configure:1.1
--- /dev/null   Sun Jan  4 10:47:27 2026
+++ pkgsrc/inputmethod/unicon-im/patches/patch-configure        Sun Jan  4 10:47:27 2026
@@ -0,0 +1,24 @@
+$NetBSD: patch-configure,v 1.1 2026/01/04 10:47:27 wiz Exp $
+
+Add missing return value.
+
+--- configure.orig     2026-01-04 10:45:37.325772203 +0000
++++ configure
+@@ -686,7 +686,7 @@ cat > conftest.$ac_ext << EOF
+ #line 687 "configure"
+ #include "confdefs.h"
+ 
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+   ac_cv_prog_cc_works=yes
+@@ -1356,7 +1356,7 @@ else
+ #line 1357 "configure"
+ #include "confdefs.h"
+ 
+-main()
++int main()
+ {
+   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
+   exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);



Home | Main Index | Thread Index | Old Index