diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-02-28 07:24:07 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-01 19:35:39 +0700 |
commit | c4c5f91d9076c85e537753c4580407cb89024504 (patch) | |
tree | 972fbb36581df5d72b29f2d416b7494f2fd7dea2 /network/guacamole-server/patch | |
parent | e122832496c483bc3aa1e7185faf65c80d604f8b (diff) |
network/guacamole-server: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/guacamole-server/patch')
-rw-r--r-- | network/guacamole-server/patch/typescript.patch | 11 | ||||
-rw-r--r-- | network/guacamole-server/patch/uuid.patch | 73 |
2 files changed, 0 insertions, 84 deletions
diff --git a/network/guacamole-server/patch/typescript.patch b/network/guacamole-server/patch/typescript.patch deleted file mode 100644 index 02785b4ce884b..0000000000000 --- a/network/guacamole-server/patch/typescript.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- guacamole-server-0.9.14/src/terminal/terminal/typescript.h 2018-01-01 13:23:37.000000000 -0800 -+++ guacamole-server-0.9.14-new/src/terminal/terminal/typescript.h 2018-01-26 17:11:22.180187667 -0800 -@@ -97,7 +97,7 @@ - * The full path to the file which will contain the timing information for - * this typescript. - */ -- char timing_filename[GUAC_TERMINAL_TYPESCRIPT_MAX_NAME_LENGTH]; -+ char timing_filename[GUAC_TERMINAL_TYPESCRIPT_MAX_NAME_LENGTH + sizeof(GUAC_TERMINAL_TYPESCRIPT_TIMING_SUFFIX) + 1]; - - /** - * The file descriptor of the file into which raw terminal output should be diff --git a/network/guacamole-server/patch/uuid.patch b/network/guacamole-server/patch/uuid.patch deleted file mode 100644 index 9107ab2e920d2..0000000000000 --- a/network/guacamole-server/patch/uuid.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- guacamole-server-0.9.8/configure.ac 2015-09-04 17:36:05.000000000 -0700 -+++ guacamole-server-0.9.8.new/configure.ac 2015-11-27 16:36:00.229847035 -0800 -@@ -68,19 +68,25 @@ - - # OSSP UUID - AC_CHECK_LIB([ossp-uuid], [uuid_make], [UUID_LIBS=-lossp-uuid], -- AC_CHECK_LIB([uuid], [uuid_make], [UUID_LIBS=-luuid], -+ AC_CHECK_LIB([uuid], [uuid_generate], [UUID_LIBS=-luuid], - AC_MSG_ERROR("The OSSP UUID library is required"))) - - # Check for and validate OSSP uuid.h header --AC_CHECK_HEADERS([ossp/uuid.h]) --AC_CHECK_DECL([uuid_make],, -- AC_MSG_ERROR("No OSSP uuid.h found in include path"), -+AC_CHECK_HEADERS([ossp/uuid.h], [uuid/uuid.h]) -+AC_CHECK_DECL([uuid_make],, , - [#ifdef HAVE_OSSP_UUID_H - #include <ossp/uuid.h> - #else - #include <uuid.h> - #endif - ]) -+AC_CHECK_DECL([uuid_generate],, , -+ [#ifdef HAVE_OSSP_UUID_H -+ #include <ossp/uuid.h> -+ #else -+ #include <uuid/uuid.h> -+ #endif -+ ]) - - # cunit - AC_CHECK_LIB([cunit], [CU_run_test], [CUNIT_LIBS=-lcunit]) ---- incubator-guacamole-server-0.9.10-incubating/src/libguac/id.c 2016-12-18 10:44:24.000000000 -0800 -+++ incubator-guacamole-server-0.9.10-incubating.new/src/libguac/id.c 2017-01-20 14:48:45.273476934 -0800 -@@ -25,7 +25,7 @@ - #ifdef HAVE_OSSP_UUID_H - #include <ossp/uuid.h> - #else --#include <uuid.h> -+#include <uuid/uuid.h> - #endif - - #include <stdlib.h> -@@ -34,6 +34,7 @@ - - char* buffer; - char* identifier; -+#ifdef HAVE_OSSP_UUID_H - size_t identifier_length; - - uuid_t* uuid; -@@ -75,6 +76,21 @@ - } - - uuid_destroy(uuid); -+#else -+ uuid_t uuid; -+#define UUID_LEN_STR 36 -+ -+ buffer = malloc (UUID_LEN_STR + 2); -+ if (buffer == NULL) { -+ guac_error = GUAC_STATUS_NO_MEMORY; -+ guac_error_message = "Could not allocate memory for connection ID"; -+ return NULL; -+ } -+ identifier = buffer + 1; -+ -+ uuid_generate (uuid); -+ uuid_unparse (uuid, identifier); -+#endif - - buffer[0] = prefix; - buffer[UUID_LEN_STR + 1] = '\0'; |