SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,12 @@
Index: gcc/common.opt
--- gcc/common.opt.orig
+++ gcc/common.opt
@@ -1779,7 +1779,7 @@ Common Report Var(flag_ivopts) Init(1) Optimization
Optimize induction variables on trees.
fjump-tables
-Common Var(flag_jump_tables) Init(1) Optimization
+Common Var(flag_jump_tables) Init(0) Optimization
Use jump tables for sufficiently large switch statements.
fkeep-inline-functions

View file

@ -0,0 +1,11 @@
Index: libcc1/connection.cc
--- libcc1/connection.cc.orig
+++ libcc1/connection.cc
@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see
#include <string>
#include <unistd.h>
#include <sys/types.h>
+#include <sys/select.h> /* for fd_set */
#include <string.h>
#include <errno.h>
#include "marshall.hh"

View file

@ -0,0 +1,16 @@
clang on powerpc64 defines vec_step already which collides with the
symbol in gcc, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266#c23
renaming suggested at https://gcc.gnu.org/legacy-ml/gcc/2019-07/msg00131.html
Index: gcc/tree-vect-loop.c
--- gcc/tree-vect-loop.c.orig
+++ gcc/tree-vect-loop.c
@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see
#include "vec-perm-indices.h"
#include "tree-eh.h"
+#define vec_step vec_step_
+
/* Loop Vectorization Pass.
This pass tries to vectorize loops.