diff options
author | Alexander Tsamutali <astsmtl@yandex.ru> | 2012-01-04 16:46:25 +0000 |
---|---|---|
committer | Alexander Tsamutali <astsmtl@yandex.ru> | 2012-01-04 16:46:25 +0000 |
commit | 3b4451ade5c4c7d931ab35de9155dddaaf19f8a1 (patch) | |
tree | e9b954b4053453329090fcf35208240244b80754 /pkgs/games/tremulous/parse.patch | |
parent | 3ca658287487cf6747236835de0c7a816e187270 (diff) | |
download | nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.tar nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.tar.gz nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.tar.bz2 nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.tar.lz nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.tar.xz nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.tar.zst nixpkgs-3b4451ade5c4c7d931ab35de9155dddaaf19f8a1.zip |
games/tremulous: Removed rust.
svn path=/nixpkgs/trunk/; revision=31282
Diffstat (limited to 'pkgs/games/tremulous/parse.patch')
-rw-r--r-- | pkgs/games/tremulous/parse.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/games/tremulous/parse.patch b/pkgs/games/tremulous/parse.patch new file mode 100644 index 00000000000..12a73138c09 --- /dev/null +++ b/pkgs/games/tremulous/parse.patch @@ -0,0 +1,21 @@ +diff -ruN Release_1.011-old/src/qcommon/parse.c Release_1.011/src/qcommon/parse.c +--- Release_1.011-old/src/qcommon/parse.c 2011-12-02 19:11:49.307368651 -0500 ++++ Release_1.011/src/qcommon/parse.c 2011-12-02 19:13:27.556836387 -0500 +@@ -981,7 +981,7 @@ + { + if (*string == '\"') + { +- strcpy(string, string+1); ++ memmove(string, string+1, strlen(string)); + } + if (string[strlen(string)-1] == '\"') + { +@@ -1784,7 +1784,7 @@ + if ((*ptr == '\\' || *ptr == '/') && + (*(ptr+1) == '\\' || *(ptr+1) == '/')) + { +- strcpy(ptr, ptr+1); ++ memmove(ptr, ptr+1, strlen(ptr)); + } + else + { |