aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gladtex/files/patch-gladtex
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/gladtex/files/patch-gladtex')
-rw-r--r--textproc/gladtex/files/patch-gladtex15
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/gladtex/files/patch-gladtex b/textproc/gladtex/files/patch-gladtex
new file mode 100644
index 000000000000..ce4d6fdef7ec
--- /dev/null
+++ b/textproc/gladtex/files/patch-gladtex
@@ -0,0 +1,15 @@
+$FreeBSD$
+--- gladtex Tue Nov 5 18:07:14 2002
++++ gladtex.port Sat Feb 4 21:37:09 2006
+@@ -116,9 +116,9 @@
+ # remove ./
+ $dest =~ s/\.\///g;
+ # remove //
+- while($dest =~ s{//}{/}gc) {};
++ while($dest =~ s{//}{/}g) {};
+ # remove ../
+- while($dest =~ s{/([^/]*/)\.\./}{$1}gc) {};
++ while($dest =~ s{/([^/]*/)\.\./}{$1}g) {};
+ # remove trailing /
+ $dest =~ s/\/$//;
+