summaryrefslogtreecommitdiff
path: root/user/cvsps/use-internal-memfrob.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/cvsps/use-internal-memfrob.patch')
-rw-r--r--user/cvsps/use-internal-memfrob.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/cvsps/use-internal-memfrob.patch b/user/cvsps/use-internal-memfrob.patch
new file mode 100644
index 000000000..6b9ea94a8
--- /dev/null
+++ b/user/cvsps/use-internal-memfrob.patch
@@ -0,0 +1,20 @@
+--- cvsps-2.1/cbtcommon/text_util.c.old 2005-05-26 03:39:40.000000000 +0000
++++ cvsps-2.1/cbtcommon/text_util.c 2020-01-29 10:43:36.720000000 +0000
+@@ -236,9 +236,6 @@
+ }
+ }
+
+-#ifdef linux
+-extern void *memfrob(void *, size_t);
+-#else
+ static void * memfrob(void * mem, size_t len)
+ {
+ size_t i;
+@@ -252,7 +249,6 @@
+
+ return mem;
+ }
+-#endif
+
+ // simple functions to obfuscate strings in a binary
+ char* frobstr( char* src )