pkgsrc-Changes archive

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

CVS commit: pkgsrc/cross/arm-none-eabi-gcc



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Sat Jun  8 17:22:29 UTC 2024

Modified Files:
        pkgsrc/cross/arm-none-eabi-gcc: distinfo
Added Files:
        pkgsrc/cross/arm-none-eabi-gcc/patches: patch-gcc_plugin.c

Log Message:
Fix build failure on Linux


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/cross/arm-none-eabi-gcc/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_plugin.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/arm-none-eabi-gcc/distinfo
diff -u pkgsrc/cross/arm-none-eabi-gcc/distinfo:1.13 pkgsrc/cross/arm-none-eabi-gcc/distinfo:1.14
--- pkgsrc/cross/arm-none-eabi-gcc/distinfo:1.13        Fri Apr 15 17:16:07 2022
+++ pkgsrc/cross/arm-none-eabi-gcc/distinfo     Sat Jun  8 17:22:28 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2022/04/15 17:16:07 tnn Exp $
+$NetBSD: distinfo,v 1.14 2024/06/08 17:22:28 cheusov Exp $
 
 BLAKE2s (gcc-8.3.0.tar.xz) = 395b2851da05d2ee21dfe3ec95e33482b63aeea7d37db423ffb7ebefd6547499
 SHA512 (gcc-8.3.0.tar.xz) = 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802
@@ -8,6 +8,7 @@ SHA512 (newlib-3.1.0.tar.gz) = efc4c3ab7
 Size (newlib-3.1.0.tar.gz) = 17958952 bytes
 SHA1 (patch-gcc_config_arm_arm.h) = 6d8cc2474cf9e902c766281315b75d6aadc42ed1
 SHA1 (patch-gcc_config_host-darwin.c) = bb6513d096bed62a3c40a6543c6c854e5c20ef9d
+SHA1 (patch-gcc_plugin.c) = cd5b6a1255104760cf7c8e7092943c250b30e35c
 SHA1 (patch-gcc_system.h) = 72a75ff773b9b5f3d2f16f4ec7d29e032aba5f53
 SHA1 (patch-libcc1_configure) = 0368733ddf79b109fcc7146b0baeb37ab31e634a
 SHA1 (patch-libcc1_connection.cc) = 2acd56a6f62b29ed3f02eecb7bf103e4564a442c

Added files:

Index: pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_plugin.c
diff -u /dev/null pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_plugin.c:1.1
--- /dev/null   Sat Jun  8 17:22:29 2024
+++ pkgsrc/cross/arm-none-eabi-gcc/patches/patch-gcc_plugin.c   Sat Jun  8 17:22:29 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-gcc_plugin.c,v 1.1 2024/06/08 17:22:29 cheusov Exp $
+
+Fix build failure on Linux
+https://pubs.opengroup.org/onlinepubs/9699919799/functions/dlopen.html
+
+--- gcc/plugin.c.orig  2024-06-07 13:22:58.717044364 +0000
++++ gcc/plugin.c
+@@ -677,6 +677,8 @@ try_init_one_plugin (struct plugin_name_
+ 
+ #else // POSIX-like with dlopen()/dlsym().
+ 
++#include <dlfcn.h>
++
+ /* We need a union to cast dlsym return value to a function pointer
+    as ISO C forbids assignment between function pointer and 'void *'.
+    Use explicit union instead of __extension__(<union_cast>) for



Home | Main Index | Thread Index | Old Index