summaryrefslogtreecommitdiff
path: root/graphics/xfig/files/patch-src_w__dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig/files/patch-src_w__dir.c')
-rw-r--r--graphics/xfig/files/patch-src_w__dir.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/xfig/files/patch-src_w__dir.c b/graphics/xfig/files/patch-src_w__dir.c
new file mode 100644
index 000000000000..487a26ba1644
--- /dev/null
+++ b/graphics/xfig/files/patch-src_w__dir.c
@@ -0,0 +1,11 @@
+--- src/w_dir.c.orig 2017-10-08 18:52:17 UTC
++++ src/w_dir.c
+@@ -174,7 +174,7 @@ ShowHidden(Widget w, XtPointer client_data, XtPointer
+
+ /* if the export dir diverged from the file dir, leave it there */
+ void
+-update_file_export_dir(const char *restrict dir)
++update_file_export_dir(const char *dir)
+ {
+ if (!strcmp(cur_file_dir, cur_export_dir))
+ strcpy(cur_export_dir, dir);