diff options
Diffstat (limited to 'community/nx-libs/fix-const-char.patch')
-rw-r--r-- | community/nx-libs/fix-const-char.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/community/nx-libs/fix-const-char.patch b/community/nx-libs/fix-const-char.patch deleted file mode 100644 index 404612cd63..0000000000 --- a/community/nx-libs/fix-const-char.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/nx-X11/lib/font/fontfile/encparse.c -+++ b/nx-X11/lib/font/fontfile/encparse.c -@@ -785,13 +785,13 @@ - return 0; - } - --char* -+const char* - FontEncDirectory() - { -- static char* dir = NULL; -+ static const char* dir = NULL; - - if(dir == NULL) { -- char *c = getenv("FONT_ENCODINGS_DIRECTORY"); -+ const char *c = getenv("FONT_ENCODINGS_DIRECTORY"); - if(c) { - dir = malloc(strlen(c) + 1); - if(!dir) -@@ -899,7 +899,7 @@ - { - FontEncPtr encoding; - char dir[MAXFONTFILENAMELEN], dirname[MAXFONTFILENAMELEN]; -- char *d; -+ const char *d; - - if(fontFileName) { - parseFontFileName(fontFileName, dirname, dir); |