pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/cross/or1k-none-elf-gcc
Module Name: pkgsrc
Committed By: cheusov
Date: Sat Jun 8 14:41:45 UTC 2024
Modified Files:
pkgsrc/cross/or1k-none-elf-gcc: distinfo
Added Files:
pkgsrc/cross/or1k-none-elf-gcc/patches: patch-gcc_plugin.c
Log Message:
Fix build failure on Linux
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/cross/or1k-none-elf-gcc/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/cross/or1k-none-elf-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/or1k-none-elf-gcc/distinfo
diff -u pkgsrc/cross/or1k-none-elf-gcc/distinfo:1.5 pkgsrc/cross/or1k-none-elf-gcc/distinfo:1.6
--- pkgsrc/cross/or1k-none-elf-gcc/distinfo:1.5 Fri Apr 15 17:16:08 2022
+++ pkgsrc/cross/or1k-none-elf-gcc/distinfo Sat Jun 8 14:41:45 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2022/04/15 17:16:08 tnn Exp $
+$NetBSD: distinfo,v 1.6 2024/06/08 14:41:45 cheusov Exp $
BLAKE2s (gcc-9.1.0.tar.xz) = 6a9cace7fb6446d96c7ec983ddf178493425f71c37db2a98f3f55bbccf726569
SHA512 (gcc-9.1.0.tar.xz) = b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28
@@ -7,6 +7,7 @@ BLAKE2s (newlib-3.1.0.tar.gz) = 293c92c6
SHA512 (newlib-3.1.0.tar.gz) = efc4c3ab7153387780d141386bca5d3e20c9d25ae3e6b87cf94c8df9d301ce5926dacdff9bd33aeb9781559d933c3d0ae77f4e5b46120d90792f75dbfde702c7
Size (newlib-3.1.0.tar.gz) = 17958952 bytes
SHA1 (patch-gcc_config_host-darwin.c) = 92dc785153a4ad0caeb00333a3c1a287dc4ef96b
+SHA1 (patch-gcc_plugin.c) = cd5b6a1255104760cf7c8e7092943c250b30e35c
SHA1 (patch-gcc_system.h) = d8686e881cd30a385840295761d222f752a37bf3
SHA1 (patch-libcc1_configure) = 8329d9b52badb38ffac3c25d07ed34f71c707cf2
SHA1 (patch-libcc1_connection.cc) = 6f90edc27d813738e5455bb6e9c7b3d6eeda9a15
Added files:
Index: pkgsrc/cross/or1k-none-elf-gcc/patches/patch-gcc_plugin.c
diff -u /dev/null pkgsrc/cross/or1k-none-elf-gcc/patches/patch-gcc_plugin.c:1.1
--- /dev/null Sat Jun 8 14:41:45 2024
+++ pkgsrc/cross/or1k-none-elf-gcc/patches/patch-gcc_plugin.c Sat Jun 8 14:41:45 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-gcc_plugin.c,v 1.1 2024/06/08 14:41:45 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