pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/imap-uw



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sun Jan 30 04:00:42 UTC 2022

Modified Files:
        pkgsrc/mail/imap-uw: distinfo
        pkgsrc/mail/imap-uw/patches: patch-ab patch-ag patch-bi
Removed Files:
        pkgsrc/mail/imap-uw/patches: patch-bj

Log Message:
imap-uw: fix non-BSD build breakages from previous change set

Redo some of the patches from the previous change set (PR pkg/56645) so
that they reflect the upstream project's method for including its
version of portable_utime(), rather than what was done previously,
which broke non-BSD builds, e.g., on Solaris derivates:

ld: fatal: symbol 'portable_utime' is multiply-defined:
        (file .libs/osdep.o type=FUNC; file .libs/utime.o type=FUNC);
ld: fatal: file processing errors. No output written to .libs/libc-client.so.5.0.0

Compile tested on NetBSD 9.2_STABLE, NetBSD 9.99.93, OmniOS r151038,
and Fedora Linux 34.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/mail/imap-uw/distinfo
cvs rdiff -u -r1.26 -r1.27 pkgsrc/mail/imap-uw/patches/patch-ab
cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/imap-uw/patches/patch-ag
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/imap-uw/patches/patch-bi
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/imap-uw/patches/patch-bj

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

Modified files:

Index: pkgsrc/mail/imap-uw/distinfo
diff -u pkgsrc/mail/imap-uw/distinfo:1.51 pkgsrc/mail/imap-uw/distinfo:1.52
--- pkgsrc/mail/imap-uw/distinfo:1.51   Mon Jan 24 21:05:57 2022
+++ pkgsrc/mail/imap-uw/distinfo        Sun Jan 30 04:00:42 2022
@@ -1,15 +1,15 @@
-$NetBSD: distinfo,v 1.51 2022/01/24 21:05:57 buhrow Exp $
+$NetBSD: distinfo,v 1.52 2022/01/30 04:00:42 gutteridge Exp $
 
 BLAKE2s (imap-2007f.tar.Z) = 6e67d03b84ec0fed4db99c81aea92160304c1f0c7c9ece7d5e9c4375f1490621
 SHA512 (imap-2007f.tar.Z) = 2c728deaf66d23158c61ae55ff94f05d2a1cf0168002760321ca30c6ee1c58c0a4c7bc14ece0097ea662df6c7c49be3b91c8e5e943724c9e2736800fa9298dae
 Size (imap-2007f.tar.Z) = 2793529 bytes
 SHA1 (patch-aa) = ac880c250dfee3d0d316063ace5b92cd2f190510
-SHA1 (patch-ab) = d42bb314b2bdf4058d6f44e2740f1876d69aa6cb
+SHA1 (patch-ab) = c7985a2db4d4b5c8d2644492b2e48f8ebe2d64b1
 SHA1 (patch-ac) = eab1435fdf7ab59ea8afbde949a92dd756e6aea3
 SHA1 (patch-ad) = d817dca51413bb8d228c2fabadffa3b924dff11d
 SHA1 (patch-ae) = 85e0917ce1934f6789bbce45ad5321e28cf294d9
 SHA1 (patch-af) = f3a7d2dad7b95940bdb7ee812ee19622cc594c75
-SHA1 (patch-ag) = 4152c1c618bf78f63668070e26e8feb0f7df91ed
+SHA1 (patch-ag) = 9c580a6a89f89f798a42e5ee45de87fe8159700a
 SHA1 (patch-ah) = ca68ec33fbf8ac4138669588b32098eb4f156f75
 SHA1 (patch-ai) = 312d2bd29be2f8fc03c24a635afcb0ca4ae33832
 SHA1 (patch-aj) = 961d90bf0eab651678f5bf04f19742cc4c0ecde3
@@ -35,8 +35,7 @@ SHA1 (patch-be) = 73afbc9f3c65d3adce37a3
 SHA1 (patch-bf) = 63c582e88bd6286295d5d9639bafec355278d537
 SHA1 (patch-bg) = c95483ed73d7c6015df99967c0509cf0ea67d28f
 SHA1 (patch-bh) = c43dc5df9fb61ea44b5195fc15c697e5f540dfae
-SHA1 (patch-bi) = 19867a536878049b31d677f06124c8ca0efde801
-SHA1 (patch-bj) = 09dfd05373d05a339dbaf725f8607522853aa848
+SHA1 (patch-bi) = 5a33faed66a06edc7f68a6007a531cf8cca7591d
 SHA1 (patch-src_c-client_mail.c) = fca90d3a5a8770b8728bdef6aec2623d16c12b6d
 SHA1 (patch-src_c-client_misc.c) = d22ca95fb333b5234c66440faf5d6e30a148bad1
 SHA1 (patch-src_c-client_misc.h) = 5cf51d186b04ebb45c79b8042bbdcb01716dd2ce

Index: pkgsrc/mail/imap-uw/patches/patch-ab
diff -u pkgsrc/mail/imap-uw/patches/patch-ab:1.26 pkgsrc/mail/imap-uw/patches/patch-ab:1.27
--- pkgsrc/mail/imap-uw/patches/patch-ab:1.26   Mon Jan 24 22:21:58 2022
+++ pkgsrc/mail/imap-uw/patches/patch-ab        Sun Jan 30 04:00:42 2022
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.26 2022/01/24 22:21:58 buhrow Exp $
+$NetBSD: patch-ab,v 1.27 2022/01/30 04:00:42 gutteridge Exp $
 
---- src/osdep/unix/Makefile.orig       2011-07-22 17:20:10.000000000 -0700
-+++ src/osdep/unix/Makefile    2022-01-15 07:49:18.399845264 -0800
+--- src/osdep/unix/Makefile.orig       2008-06-04 19:18:34.000000000 +0100
++++ src/osdep/unix/Makefile    2010-01-25 22:56:57.000000000 +0000
 @@ -48,7 +48,7 @@
  # Try to have some consistency in GCC builds.  We want optimization, but we
  # also want to be able to debug.
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.26 2022/01/24 22:2
  GCC4CFLAGS= $(GCCCFLAGS) -Wno-pointer-sign
  
  
-@@ -149,11 +149,11 @@
+@@ -149,7 +149,7 @@
  
  # Normally no need to change any of these
  
@@ -20,12 +20,7 @@ $NetBSD: patch-ab,v 1.26 2022/01/24 22:2
  BINARIES=osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o \
   dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
   rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
-- unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o
-+ unix.o utime.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o
- CFLAGS=-g
- 
- CAT=cat
-@@ -537,7 +537,7 @@
+@@ -529,7 +529,7 @@
        $(BUILD) `$(CAT) SPECIALS` OS=bsi \
         CRXTYPE=nfs \
         SPOOLDIR=/var \
@@ -34,7 +29,7 @@ $NetBSD: patch-ab,v 1.26 2022/01/24 22:2
         RSHPATH=/usr/bin/rsh \
         BASECFLAGS="$(GCCCFLAGS)" \
         BASELDFLAGS="-lcrypt"
-@@ -726,7 +726,7 @@
+@@ -718,7 +718,7 @@
         RSHPATH=/usr/bin/rsh \
         BASECFLAGS="-g -O -w" \
         BASELDFLAGS="-lsocket -lnsl -lgen" \
@@ -43,7 +38,7 @@ $NetBSD: patch-ab,v 1.26 2022/01/24 22:2
  
  
  # Note: It is a long and disgusting story about why cc is set to ucbcc.  You
-@@ -863,7 +863,7 @@
+@@ -855,7 +855,7 @@
        @$(SH) ARCHIVE
  
  .c.o:
@@ -52,7 +47,7 @@ $NetBSD: patch-ab,v 1.26 2022/01/24 22:2
  
  
  # Cleanup
-@@ -923,7 +923,7 @@
+@@ -915,7 +915,7 @@
        @echo pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
        @echo is not installed on your system.  Either install OpenSSL first
        @echo or build with command: make `$(CAT) OSTYPE` SSLTYPE=none
@@ -61,7 +56,7 @@ $NetBSD: patch-ab,v 1.26 2022/01/24 22:2
  
  osdep.c: osdepbas.c osdepckp.c osdeplog.c osdepssl.c
        $(CAT) osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
-@@ -976,7 +976,7 @@
+@@ -968,7 +968,7 @@
         -DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \
         -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
        echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS

Index: pkgsrc/mail/imap-uw/patches/patch-ag
diff -u pkgsrc/mail/imap-uw/patches/patch-ag:1.5 pkgsrc/mail/imap-uw/patches/patch-ag:1.6
--- pkgsrc/mail/imap-uw/patches/patch-ag:1.5    Fri Aug  3 17:03:30 2007
+++ pkgsrc/mail/imap-uw/patches/patch-ag        Sun Jan 30 04:00:42 2022
@@ -1,6 +1,8 @@
-$NetBSD: patch-ag,v 1.5 2007/08/03 17:03:30 obache Exp $
+$NetBSD: patch-ag,v 1.6 2022/01/30 04:00:42 gutteridge Exp $
 
---- src/osdep/unix/os_bsi.c.orig       2006-12-08 01:12:39.000000000 +0000
+Enable use of portable_utime() on BSDs.
+
+--- src/osdep/unix/os_bsi.c.orig       2011-07-23 00:20:11.000000000 +0000
 +++ src/osdep/unix/os_bsi.c
 @@ -38,7 +38,6 @@
  #include <netdb.h>
@@ -10,3 +12,8 @@ $NetBSD: patch-ag,v 1.5 2007/08/03 17:03
  #include <pwd.h>
  #include "misc.h"
  
+@@ -52,3 +51,4 @@ extern int errno;            /* just in case */
+ #include "tcp_unix.c"
+ #include "gr_waitp.c"
+ #include "tz_bsd.c"
++#include "utime.c"

Index: pkgsrc/mail/imap-uw/patches/patch-bi
diff -u pkgsrc/mail/imap-uw/patches/patch-bi:1.1 pkgsrc/mail/imap-uw/patches/patch-bi:1.2
--- pkgsrc/mail/imap-uw/patches/patch-bi:1.1    Mon Jan 24 22:25:06 2022
+++ pkgsrc/mail/imap-uw/patches/patch-bi        Sun Jan 30 04:00:42 2022
@@ -1,11 +1,21 @@
-$NetBSD: patch-bi,v 1.1 2022/01/24 22:25:06 buhrow Exp $
+$NetBSD: patch-bi,v 1.2 2022/01/30 04:00:42 gutteridge Exp $
 
---- src/osdep/unix/os_bsi.h.orig       2011-07-22 17:20:11.000000000 -0700
-+++ src/osdep/unix/os_bsi.h    2022-01-15 07:49:59.934504576 -0800
-@@ -41,3 +41,6 @@
+Enable use of portable_utime() on BSDs.
+
+--- src/osdep/unix/os_bsi.h.orig       2011-07-23 00:20:11.000000000 +0000
++++ src/osdep/unix/os_bsi.h
+@@ -34,6 +34,7 @@
+ #include <fcntl.h>
+ #include <syslog.h>
+ #include <sys/file.h>
++#include <utime.h>
+ 
+ 
+ #include "env_unix.h"
+@@ -41,3 +42,6 @@
  #include "ftl.h"
  #include "nl.h"
  #include "tcp.h"
 +
-+#undef utime
 +#define utime portable_utime
++int portable_utime (char *file,time_t timep[2]);



Home | Main Index | Thread Index | Old Index