pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/ppc-morphos-gcc-11



Module Name:    pkgsrc
Committed By:   js
Date:           Wed Mar 27 23:26:29 UTC 2024

Modified Files:
        pkgsrc/cross/ppc-morphos-gcc-11: Makefile PLIST distinfo
Added Files:
        pkgsrc/cross/ppc-morphos-gcc-11/patches: patch-gcc_doc_extend.texi
            patch-gcc_plugin.c patch-libiberty_simple-object-mach-o.c
Removed Files:
        pkgsrc/cross/ppc-morphos-gcc-11/patches: patch-gcc_c_c-typeck.c

Log Message:
Update cross/ppc-morphos-gcc-11 to 11.3.0


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/cross/ppc-morphos-gcc-11/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/cross/ppc-morphos-gcc-11/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/cross/ppc-morphos-gcc-11/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_c_c-typeck.c
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_doc_extend.texi \
    pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_plugin.c \
    pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-libiberty_simple-object-mach-o.c

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

Modified files:

Index: pkgsrc/cross/ppc-morphos-gcc-11/Makefile
diff -u pkgsrc/cross/ppc-morphos-gcc-11/Makefile:1.5 pkgsrc/cross/ppc-morphos-gcc-11/Makefile:1.6
--- pkgsrc/cross/ppc-morphos-gcc-11/Makefile:1.5        Wed Aug 30 21:46:33 2023
+++ pkgsrc/cross/ppc-morphos-gcc-11/Makefile    Wed Mar 27 23:26:29 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2023/08/30 21:46:33 js Exp $
+# $NetBSD: Makefile,v 1.6 2024/03/27 23:26:29 js Exp $
 
-DISTNAME=      sdk-source-20220309
-PKGNAME=       ppc-morphos-gcc-11-11.2.0
-PKGREVISION=   2
+DISTNAME=      sdk-source-20230510
+PKGNAME=       ppc-morphos-gcc-11-11.3.0
 CATEGORIES=    cross
 MASTER_SITES=  https://morphos-team.net/files/src/sdk/
 EXTRACT_SUFX=  .tar.xz
@@ -19,6 +18,7 @@ WRKSRC=                       ${WRKDIR}/sdk-source/gcc11/gcc
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            xzcat gtar patch autoconf gsed gmake perl makeinfo
+TOOL_DEPENDS+=         patch-[0-9]*:../../devel/patch
 
 OBJDIR=                        ../build
 CONFIGURE_DIRS=                ${OBJDIR}
@@ -35,6 +35,7 @@ CONFIGURE_ARGS+=      --program-suffix=-11
 CONFIGURE_ARGS+=       --enable-threads=morphos
 CONFIGURE_ARGS+=       --disable-bootstrap
 CONFIGURE_ARGS+=       --enable-version-specific-runtime-libs
+CONFIGURE_ARGS+=       --disable-nls
 # Used by a sub-configure, therefore needs to be passed via MAKE_ENV.
 MAKE_ENV+=             gcc_cv_have_tls=no
 
@@ -49,14 +50,15 @@ post-extract:
                ${XZCAT} gcc-${PKGVERSION_NOREV}.tar.xz | ${GTAR} xf -
 
 pre-patch:
-       ${RUN} cd ${WRKSRC} && ${PATCH} -p1 <../gcc-11-morphos.diff
-       ${RUN} cd ${WRKSRC} && ${PATCH} -p0 <../fpic.diff
-       ${RUN} cd ${WRKSRC} && ${PATCH} -p1 <../fix-genericize_if_stmt-ice.diff
-       ${RUN} cd ${WRKSRC} && ${PATCH} -p1 <../morphos-std-filesystem-path.diff
-       ${RUN} cd ${WRKSRC} && ${PATCH} -p1 <../fix-fenv-for-crossbuild.diff
+       ${RUN} cd ${WRKSRC} && ${PREFIX}/bin/gpatch -p1 <../gcc-11-morphos.diff
+       ${RUN} cd ${WRKSRC} && ${PREFIX}/bin/gpatch -p0 <../fpic.diff
+       ${RUN} cd ${WRKSRC} && ${PREFIX}/bin/gpatch -p1 <../fix-genericize_if_stmt-ice.diff
+       ${RUN} cd ${WRKSRC} && ${PREFIX}/bin/gpatch -p1 <../morphos-std-filesystem-path.diff
+       ${RUN} cd ${WRKSRC} && ${PREFIX}/bin/gpatch -p1 <../fix-fenv-for-crossbuild.diff
        # The diff for libstdc++-v3/configure is strangely large for the
-       # minimal changes that are there to the .ac file. Better to throw it
-       # away and regenerate it (regenerated in post-patch).
+       # minimal changes that are there to the .ac file *and* is broken (it
+       # contains misordered hunks). Better to throw it away and regenerate it
+       # (regenerated in post-patch).
        ${RUN} rm ${WRKSRC}/libstdc++-v3/configure
 
 post-patch:

Index: pkgsrc/cross/ppc-morphos-gcc-11/PLIST
diff -u pkgsrc/cross/ppc-morphos-gcc-11/PLIST:1.1 pkgsrc/cross/ppc-morphos-gcc-11/PLIST:1.2
--- pkgsrc/cross/ppc-morphos-gcc-11/PLIST:1.1   Mon Oct 17 13:25:31 2022
+++ pkgsrc/cross/ppc-morphos-gcc-11/PLIST       Wed Mar 27 23:26:29 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/10/17 13:25:31 js Exp $
+@comment $NetBSD: PLIST,v 1.2 2024/03/27 23:26:29 js Exp $
 gg/bin/ppc-morphos-c++-11
 gg/bin/ppc-morphos-cpp-11
 gg/bin/ppc-morphos-g++-11
@@ -1472,44 +1472,4 @@ gg/share/info/gcc.info
 gg/share/info/gccinstall.info
 gg/share/info/gccint.info
 gg/share/info/libquadmath.info
-gg/share/locale/be/LC_MESSAGES/cpplib.mo
-gg/share/locale/be/LC_MESSAGES/gcc.mo
-gg/share/locale/ca/LC_MESSAGES/cpplib.mo
-gg/share/locale/da/LC_MESSAGES/cpplib.mo
-gg/share/locale/da/LC_MESSAGES/gcc.mo
-gg/share/locale/de/LC_MESSAGES/cpplib.mo
-gg/share/locale/de/LC_MESSAGES/gcc.mo
-gg/share/locale/el/LC_MESSAGES/cpplib.mo
-gg/share/locale/el/LC_MESSAGES/gcc.mo
-gg/share/locale/eo/LC_MESSAGES/cpplib.mo
-gg/share/locale/es/LC_MESSAGES/cpplib.mo
-gg/share/locale/es/LC_MESSAGES/gcc.mo
-gg/share/locale/fi/LC_MESSAGES/cpplib.mo
-gg/share/locale/fi/LC_MESSAGES/gcc.mo
-gg/share/locale/fr/LC_MESSAGES/cpplib.mo
-gg/share/locale/fr/LC_MESSAGES/gcc.mo
-gg/share/locale/hr/LC_MESSAGES/gcc.mo
-gg/share/locale/id/LC_MESSAGES/cpplib.mo
-gg/share/locale/id/LC_MESSAGES/gcc.mo
-gg/share/locale/ja/LC_MESSAGES/cpplib.mo
-gg/share/locale/ja/LC_MESSAGES/gcc.mo
-gg/share/locale/nl/LC_MESSAGES/cpplib.mo
-gg/share/locale/nl/LC_MESSAGES/gcc.mo
-gg/share/locale/pt_BR/LC_MESSAGES/cpplib.mo
-gg/share/locale/ru/LC_MESSAGES/cpplib.mo
-gg/share/locale/ru/LC_MESSAGES/gcc.mo
-gg/share/locale/sr/LC_MESSAGES/cpplib.mo
-gg/share/locale/sr/LC_MESSAGES/gcc.mo
-gg/share/locale/sv/LC_MESSAGES/cpplib.mo
-gg/share/locale/sv/LC_MESSAGES/gcc.mo
-gg/share/locale/tr/LC_MESSAGES/cpplib.mo
-gg/share/locale/tr/LC_MESSAGES/gcc.mo
-gg/share/locale/uk/LC_MESSAGES/cpplib.mo
-gg/share/locale/uk/LC_MESSAGES/gcc.mo
-gg/share/locale/vi/LC_MESSAGES/cpplib.mo
-gg/share/locale/vi/LC_MESSAGES/gcc.mo
-gg/share/locale/zh_CN/LC_MESSAGES/cpplib.mo
-gg/share/locale/zh_CN/LC_MESSAGES/gcc.mo
-gg/share/locale/zh_TW/LC_MESSAGES/cpplib.mo
-gg/share/locale/zh_TW/LC_MESSAGES/gcc.mo
 @pkgdir gg/include

Index: pkgsrc/cross/ppc-morphos-gcc-11/distinfo
diff -u pkgsrc/cross/ppc-morphos-gcc-11/distinfo:1.3 pkgsrc/cross/ppc-morphos-gcc-11/distinfo:1.4
--- pkgsrc/cross/ppc-morphos-gcc-11/distinfo:1.3        Tue Oct 18 19:47:30 2022
+++ pkgsrc/cross/ppc-morphos-gcc-11/distinfo    Wed Mar 27 23:26:29 2024
@@ -1,13 +1,15 @@
-$NetBSD: distinfo,v 1.3 2022/10/18 19:47:30 js Exp $
+$NetBSD: distinfo,v 1.4 2024/03/27 23:26:29 js Exp $
 
-BLAKE2s (sdk-source-20220309.tar.xz) = 7c55130c19db6253bc32882f5fa37fc8b2ac57a821e22e89d0cb2fd03a961a4b
-SHA512 (sdk-source-20220309.tar.xz) = 4f476eae9d70fbe6c184dbf6aa2613873830a1fe02fc2bf60f5becea5209429600d14f09ac3442ba3f6cfcd1de348383edb947692232161f5a46af3dd3173084
-Size (sdk-source-20220309.tar.xz) = 553259612 bytes
+BLAKE2s (sdk-source-20230510.tar.xz) = 777febe845ddbf50cbaec55c2d198085996a5064bc3c4128f44dfe79355d765e
+SHA512 (sdk-source-20230510.tar.xz) = badf3e678d514713ece14779dcce5fe78f3a849c73718e05b3317c1c766fb9879368c8fd58f9441c905023a660e893cf0eec405d2c133e4c6d11fe39acc50418
+Size (sdk-source-20230510.tar.xz) = 588551012 bytes
 SHA1 (patch-config_override.m4) = 1ee0186b006a987dc57151a9d112654eabd24db9
-SHA1 (patch-gcc_c_c-typeck.c) = c2eb246b7cc7e03a535a71d642e7552f4d8d290f
 SHA1 (patch-gcc_config_host-darwin.c) = 62d75a4ce61a0ae42a756c9fd1476a329bb44600
 SHA1 (patch-gcc_config_rs6000_morphos.h) = c788e480f3f510b61292f5b1ec5b84646b33ab93
+SHA1 (patch-gcc_doc_extend.texi) = 34b21725886883ad3ad974dbc80d877425fa1220
+SHA1 (patch-gcc_plugin.c) = a690fc8cf595c6746832673ba77c472bdfc717bd
 SHA1 (patch-libcc1_configure.ac) = ca40be7af4a4ffc3a4fba1a0dbda76fcde1fa2d9
+SHA1 (patch-libiberty_simple-object-mach-o.c) = 04b20b3a90b49aa51587dfe592448b4bd0324ae7
 SHA1 (patch-libstdc++-v3_configure.ac) = d436423f31b5b9b977bfa27078d160ced4f3ed94
 SHA1 (patch-libstdc++-v3_crossconfig.m4) = 0d0d20f9a1444bd77520decd275ac22d2a6e4890
 SHA1 (patch-libstdc++-v3_libsupc++_unwind-cxx.h) = 0234e780171554bf60858b884ab1181cad36f8b2

Added files:

Index: pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_doc_extend.texi
diff -u /dev/null pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_doc_extend.texi:1.1
--- /dev/null   Wed Mar 27 23:26:29 2024
+++ pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_doc_extend.texi   Wed Mar 27 23:26:29 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-gcc_doc_extend.texi,v 1.1 2024/03/27 23:26:29 js Exp $
+
+--- gcc/doc/extend.texi.orig   2024-03-27 23:14:48.307871116 +0000
++++ gcc/doc/extend.texi
+@@ -2487,7 +2487,7 @@ The following attributes are supported o
+ @table @code
+ @c Keep this table alphabetized by attribute name.  Treat _ as space.
+ 
+-@itemx access (@var{access-mode}, @var{ref-index})
++@item access (@var{access-mode}, @var{ref-index})
+ @itemx access (@var{access-mode}, @var{ref-index}, @var{size-index})
+ 
+ The @code{access} attribute enables the detection of invalid or unsafe
Index: pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_plugin.c
diff -u /dev/null pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_plugin.c:1.1
--- /dev/null   Wed Mar 27 23:26:29 2024
+++ pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-gcc_plugin.c  Wed Mar 27 23:26:29 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-gcc_plugin.c,v 1.1 2024/03/27 23:26:29 js Exp $
+
+--- gcc/plugin.c.orig  2024-03-27 23:11:57.373343495 +0000
++++ gcc/plugin.c
+@@ -42,6 +42,8 @@ along with GCC; see the file COPYING3.
+ #define NOMINMAX
+ #endif
+ #include <windows.h>
++#else
++#include <dlfcn.h>
+ #endif
+ 
+ #define GCC_PLUGIN_STRINGIFY0(X) #X
Index: pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-libiberty_simple-object-mach-o.c
diff -u /dev/null pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-libiberty_simple-object-mach-o.c:1.1
--- /dev/null   Wed Mar 27 23:26:29 2024
+++ pkgsrc/cross/ppc-morphos-gcc-11/patches/patch-libiberty_simple-object-mach-o.c      Wed Mar 27 23:26:29 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-libiberty_simple-object-mach-o.c,v 1.1 2024/03/27 23:26:29 js Exp $
+
+--- libiberty/simple-object-mach-o.c.orig      2024-03-27 16:20:30.299783020 +0000
++++ libiberty/simple-object-mach-o.c
+@@ -1228,7 +1228,7 @@ simple_object_mach_o_write_segment (simp
+       /* Swap the indices, if required.  */
+ 
+       for (i = 0; i < (nsects_in * 4); ++i)
+-      set_32 (&index[i], index[i]);
++      set_32 ((unsigned char *)&index[i], index[i]);
+ 
+       sechdr_offset += sechdrsize;
+ 



Home | Main Index | Thread Index | Old Index