pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/macports-legacy-support



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Tue Apr 23 21:33:38 UTC 2024

Modified Files:
        pkgsrc/devel/macports-legacy-support: Makefile distinfo
Added Files:
        pkgsrc/devel/macports-legacy-support/patches: patch-Makefile
Removed Files:
        pkgsrc/devel/macports-legacy-support/patches: patch-include_dirent.h
            patch-src_fdopendir.c patch-test_do__test__faccessat__setuid
            patch-test_test__faccessat.c

Log Message:
macports-legacy-support: update to 1.2.3. Changes:

1.2.3:
- Add stpncpy() support, along with associated tests
- Allow reexport on newer systems
- test_dirfuncs_compat: fix warning

1.2.2:
- dirfuncs_compat: Add comment regarding retention
- sysconf(_SC_PHYS_PAGES): Always use wrapper on i386
- sys/socket.h: Fix CMSG_DATA definition in <10.6
- Add test for os/lock.h
- Add more library symbols for Rust support

1.2.1:
- Added compatibility entry points. No change to existing code.

1.2.0:
- fdopendir: fixes/improvements
- Build fixes for dirent.h, on 10.9 and 10.4


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/macports-legacy-support/Makefile \
    pkgsrc/devel/macports-legacy-support/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/macports-legacy-support/patches/patch-Makefile
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/devel/macports-legacy-support/patches/patch-include_dirent.h \
    pkgsrc/devel/macports-legacy-support/patches/patch-src_fdopendir.c \
    pkgsrc/devel/macports-legacy-support/patches/patch-test_do__test__faccessat__setuid \
    pkgsrc/devel/macports-legacy-support/patches/patch-test_test__faccessat.c

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

Modified files:

Index: pkgsrc/devel/macports-legacy-support/Makefile
diff -u pkgsrc/devel/macports-legacy-support/Makefile:1.1 pkgsrc/devel/macports-legacy-support/Makefile:1.2
--- pkgsrc/devel/macports-legacy-support/Makefile:1.1   Wed Nov 15 15:23:13 2023
+++ pkgsrc/devel/macports-legacy-support/Makefile       Tue Apr 23 21:33:37 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2023/11/15 15:23:13 nia Exp $
+# $NetBSD: Makefile,v 1.2 2024/04/23 21:33:37 schmonz Exp $
 
-DISTNAME=      macports-legacy-support-1.1.1
+DISTNAME=      macports-legacy-support-1.2.3
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=macports/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/devel/macports-legacy-support/distinfo
diff -u pkgsrc/devel/macports-legacy-support/distinfo:1.1 pkgsrc/devel/macports-legacy-support/distinfo:1.2
--- pkgsrc/devel/macports-legacy-support/distinfo:1.1   Wed Nov 15 15:23:13 2023
+++ pkgsrc/devel/macports-legacy-support/distinfo       Tue Apr 23 21:33:37 2024
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.1 2023/11/15 15:23:13 nia Exp $
+$NetBSD: distinfo,v 1.2 2024/04/23 21:33:37 schmonz Exp $
 
-BLAKE2s (macports-legacy-support-1.1.1.tar.gz) = c5bee6e20f1ad45d17cc9c3b0649d5918cd40c4a41444b4f0c7c6c5800320e3c
-SHA512 (macports-legacy-support-1.1.1.tar.gz) = 5bb7108ed23a17ab13e5774211cffdc79ad8c050ce6501d7f5c61e7131f053ebfdb4389e63c68d4fc7da9b08692d6564177747685cb6694f471b1dc026f446a2
-Size (macports-legacy-support-1.1.1.tar.gz) = 72248 bytes
-SHA1 (patch-include_dirent.h) = 965b0d3e44d401b906badf26979411524bf23372
-SHA1 (patch-src_fdopendir.c) = 5cbfa0a7a5b98646c5f57e5965ecd67de904c123
-SHA1 (patch-test_do__test__faccessat__setuid) = b59e8a3c2b25604b187d50d489fe27600a893cc9
-SHA1 (patch-test_test__faccessat.c) = efd8945a452ac34fd3e2bcc434f93abfcafeba27
+BLAKE2s (macports-legacy-support-1.2.3.tar.gz) = 5ffbcc22e4fd3c060da89cf9abffca7756bfd729d765f76a8347007f10365860
+SHA512 (macports-legacy-support-1.2.3.tar.gz) = 83af34a71660410238b18a30dc831f3e6e0fbaa19308b74ed26ac946807791dee9145bb68f77e4d550660d6eba60525d10449b2443979f208817e2d1b9763bf4
+Size (macports-legacy-support-1.2.3.tar.gz) = 75978 bytes
+SHA1 (patch-Makefile) = 802c1989d6ea0bca7416d1dcfd4f5c140778b42c

Added files:

Index: pkgsrc/devel/macports-legacy-support/patches/patch-Makefile
diff -u /dev/null pkgsrc/devel/macports-legacy-support/patches/patch-Makefile:1.1
--- /dev/null   Tue Apr 23 21:33:38 2024
+++ pkgsrc/devel/macports-legacy-support/patches/patch-Makefile Tue Apr 23 21:33:37 2024
@@ -0,0 +1,39 @@
+$NetBSD: patch-Makefile,v 1.1 2024/04/23 21:33:37 schmonz Exp $
+
+Tiger lipo(1) doesn't have -archs.
+
+--- Makefile.orig      2024-04-21 18:16:19.000000000 +0000
++++ Makefile
+@@ -117,12 +117,13 @@ define splitandfilterandmergemultiarch
+       grep='$(6)' && \
+       platform='$(7)' && \
+       force_arch='$(8)' && \
++      sed='$(9)' && \
+       objectlist="$${output}".* && \
+       archlist='' && \
+       fatness='' && \
+       for object in $${objectlist}; do \
+               if [ -z "$${force_arch}" ]; then \
+-                      archlist_new="$$($${lipo} -archs "$${object}")"; \
++                      archlist_new="$$($${lipo} -info "$${object}" | $${sed} -e 's|^Architectures.*are: ||' -e 's|^Non-fat.*architecture: ||')"; \
+               else \
+                       archlist_new="$${force_arch}"; \
+               fi && \
+@@ -222,7 +223,7 @@ $(MULTIDLIBOBJS): %$(DLIBOBJEXT): %.c $(
+       $(CC) -c -I$(SRCINCDIR) $(CFLAGS) $(DLIBCFLAGS) -D__DARWIN_UNIX03=1 -D__DARWIN_ONLY_UNIX_CONFORMANCE=1 -D__DARWIN_64_BIT_INO_T=1 -D__DARWIN_ONLY_64_BIT_INO_T=0 $< -o $@.inode64
+       $(CC) -c -I$(SRCINCDIR) $(CFLAGS) $(DLIBCFLAGS) -D__DARWIN_UNIX03=1 -D__DARWIN_ONLY_UNIX_CONFORMANCE=0 -D__DARWIN_64_BIT_INO_T=1 -D__DARWIN_ONLY_64_BIT_INO_T=0 $< -o $@.inode64unix2003
+       # ... and split them up, because ld can only generate single-architecture files ...
+-      $(call splitandfilterandmergemultiarch,$@,$(LIPO),$(RM),$(CP),$(LD),$(GREP),$(PLATFORM),$(FORCE_ARCH))
++      $(call splitandfilterandmergemultiarch,$@,$(LIPO),$(RM),$(CP),$(LD),$(GREP),$(PLATFORM),$(FORCE_ARCH),$(SED))
+ 
+ $(MULTISLIBOBJS): %$(SLIBOBJEXT): %.c $(ALLHEADERS)
+       # Generate possibly multi-architecture object files ...
+@@ -231,7 +232,7 @@ $(MULTISLIBOBJS): %$(SLIBOBJEXT): %.c $(
+       $(CC) -c -I$(SRCINCDIR) $(CFLAGS) $(SLIBCFLAGS) -D__DARWIN_UNIX03=1 -D__DARWIN_ONLY_UNIX_CONFORMANCE=1 -D__DARWIN_64_BIT_INO_T=1 -D__DARWIN_ONLY_64_BIT_INO_T=0 $< -o $@.inode64
+       $(CC) -c -I$(SRCINCDIR) $(CFLAGS) $(SLIBCFLAGS) -D__DARWIN_UNIX03=1 -D__DARWIN_ONLY_UNIX_CONFORMANCE=0 -D__DARWIN_64_BIT_INO_T=1 -D__DARWIN_ONLY_64_BIT_INO_T=0 $< -o $@.inode64unix2003
+       # ... and split them up, because ld can only generate single-architecture files ...
+-      $(call splitandfilterandmergemultiarch,$@,$(LIPO),$(RM),$(CP),$(LD),$(GREP),$(PLATFORM),$(FORCE_ARCH))
++      $(call splitandfilterandmergemultiarch,$@,$(LIPO),$(RM),$(CP),$(LD),$(GREP),$(PLATFORM),$(FORCE_ARCH),$(SED))
+ 
+ # Generously marking all header files as potential dependencies
+ $(DLIBOBJS): %$(DLIBOBJEXT): %.c $(ALLHEADERS)



Home | Main Index | Thread Index | Old Index