Package sources for project devel:languages:perl are received through scmsync. This is not supported by the OBS frontend

File racket-fortify.patch of Package racket

---
 src/rktio/rktio_fs.c |    4 +++-
 src/start/ustart.c   |    5 +++--
 2 files changed, 6 insertions(+), 3 deletions(-)

Index: src/rktio/rktio_fs.c
===================================================================
--- src/rktio/rktio_fs.c.orig
+++ src/rktio/rktio_fs.c
@@ -1,6 +1,7 @@
 #include "rktio.h"
 #include "rktio_private.h"
 #include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/stat.h>
@@ -1130,7 +1131,8 @@ char *rktio_readlink(rktio_t *rktio, con
     return NULL;
   }
 #else
-  int len, buf_len = 256;
+  ssize_t len;
+  size_t buf_len = PATH_MAX;
   char *buffer = malloc(buf_len);
 
   while (1) {
Index: src/start/ustart.c
===================================================================
--- src/start/ustart.c.orig
+++ src/start/ustart.c
@@ -10,6 +10,7 @@
 #include <string.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 
 #if defined(__GNUC__)
@@ -280,7 +281,7 @@ int main(int argc, char **argv)
 
   /* resolve soft links */
   while (1) {
-    int len;
+    ssize_t len;
     char *buf;
     buf = (char *)malloc(bufsize + 1);
     len = readlink(me, buf, bufsize);
openSUSE Build Service is sponsored by