summaryrefslogtreecommitdiff
path: root/graphics/xfig/files/patch-src_w__dir.c
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2018-05-14 05:39:48 +0000
committerKurt Jaeger <pi@FreeBSD.org>2018-05-14 05:39:48 +0000
commit1f0be5669e2cd28973b56477da5f837d76aa864b (patch)
tree65ad08e798e10fba69d8a4fc17324d68d90f3af3 /graphics/xfig/files/patch-src_w__dir.c
parentFix desktuils/kdepim dependencies (diff)
graphics/xfig: update 3.2.5c -> 3.2.7a
PR: 228124 Submitted by: <mjl@luckie.org.nz> (maintainer) Reported by: Pierre David <pdagog@gmail.com> Relnotes: http://mcj.sourceforge.net/frm_new_features.html http://mcj.sourceforge.net/frm_bugs_fixed.html
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);