summaryrefslogtreecommitdiff
path: root/devel/florist-gpl/files/patch-c-posix.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-02-28 22:16:01 +0100
committerRene Ladan <rene@FreeBSD.org>2022-02-28 22:34:25 +0100
commit8e2a89b541867f9b43bfefc59a9af5245cdb4c2c (patch)
tree6683a6255be5b39bf367ccb345a5f20f52cdd32c /devel/florist-gpl/files/patch-c-posix.c
parentwww/element-web: Update to 1.10.5 (diff)
cleanup: Remove ports depending on expired lang/gcc6-aux
Keep ports-mgmt/synth and dependencies (including lang/gcc6-aux itself) for now as synth is the only Ada port still maintained and might be somewhat high-profile. Removed ports: archivers/zip-ada cad/ghdl databases/adabase databases/apq databases/apq-mysql databases/apq-odbc databases/apq-pgsql devel/ada-util devel/adabooch devel/adaid devel/ahven devel/alog devel/aunit devel/florist-gpl devel/gprbuild devel/libspark2012 devel/matreshka devel/pcsc-ada devel/pragmarcs devel/sdl_gnat dns/ironsides graphics/generic_image_decoder lang/adacontrol lang/asis lang/gnat_util lang/lua-ada math/plplot-ada misc/excel-writer net/adasockets net/anet security/libadacrypt textproc/adabrowse textproc/templates_parser textproc/words textproc/xmlada x11-toolkits/gtkada x11-toolkits/gtkada3
Diffstat (limited to '')
-rw-r--r--devel/florist-gpl/files/patch-c-posix.c57
1 files changed, 0 insertions, 57 deletions
diff --git a/devel/florist-gpl/files/patch-c-posix.c b/devel/florist-gpl/files/patch-c-posix.c
deleted file mode 100644
index 83c02a26e6eb..000000000000
--- a/devel/florist-gpl/files/patch-c-posix.c
+++ /dev/null
@@ -1,57 +0,0 @@
---- c-posix.c.orig 2015-04-30 10:20:43 UTC
-+++ c-posix.c
-@@ -721,6 +721,25 @@ typedef struct siginfo {
-
- /* sigevent must precede aiocb
- */
-+#if defined(__DragonFly__)
-+/*
-+ * union _sigev_info {
-+ * int sigev_signo;
-+ * int sigev_notify_kqueue;
-+ * void *sigev_notify_attributes;
-+ * };
-+ * sizeof(union _sigev_info) = sizeof(int)
-+ * Use "int" rather than fooling with union
-+ * For simplicity, The Ada part is only going to list sigev_signo
-+ * as the other two elements of the union are unused.
-+ */
-+ GT1(sigevent, 1)
-+ GT2(sigev_notify, int)
-+ GT2(sigev_signo, int)
-+ GT2(sigev_value, union sigval)
-+ GT2(sigev_notify_function, void (*)(union sigval))
-+ GT3
-+#else /* __DragonFly__ */
- #ifdef HAVE_struct_sigevent
- GT1(sigevent, 1)
- #else
-@@ -743,6 +762,7 @@ struct sigevent {
- GT2(sigev_notify_attributes,pthread_attr_t *)
- #endif
- GT3
-+#endif /* __DragonFly__ */
-
- #ifdef HAVE_struct_aiocb
- GT1(aiocb, 1)
-@@ -5166,9 +5186,9 @@ void create_c() {
- */
-
- #if defined(__APPLE__)
--# define BADSIG 0
-+# define FLOR_BADSIG 0
- #else
--# define BADSIG (-1)
-+# define FLOR_BADSIG (-1)
- #endif
- {sigset_t set;
- int sig;
-@@ -5179,7 +5199,7 @@ void create_c() {
- for (sig = 0; sig < 1024; sig++) {
- result = sigismember (&set, sig);
- if (result == 1) last_good = sig;
-- else if ((result == BADSIG) && (first_bad = -1)) first_bad = sig;
-+ else if ((result == FLOR_BADSIG) && (first_bad = -1)) first_bad = sig;
- }
- if (last_good == 1023)
- printf("c-posix: WARNING: signal range estimate probably too small\n");