aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxslt/files
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-08-27 10:33:03 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-08-27 10:33:03 +0000
commited4f116ca0c98f938cf7fdf18c033416d32620b5 (patch)
tree1ed8b5ee8e42e02f2c1aebc9b219fa0ea747ea32 /textproc/libxslt/files
parent0c93669feb9c14e9084b6d03d38df977f7aa7bd4 (diff)
downloadports-ed4f116ca0c98f938cf7fdf18c033416d32620b5.tar.gz
ports-ed4f116ca0c98f938cf7fdf18c033416d32620b5.zip
Notes
Diffstat (limited to 'textproc/libxslt/files')
-rw-r--r--textproc/libxslt/files/patch-libxslt::extra.c19
-rw-r--r--textproc/libxslt/files/patch-ltmain.sh18
2 files changed, 37 insertions, 0 deletions
diff --git a/textproc/libxslt/files/patch-libxslt::extra.c b/textproc/libxslt/files/patch-libxslt::extra.c
new file mode 100644
index 000000000000..b4039d8b49e8
--- /dev/null
+++ b/textproc/libxslt/files/patch-libxslt::extra.c
@@ -0,0 +1,19 @@
+
+$FreeBSD$
+
+--- libxslt/extra.c.orig Wed Aug 15 05:55:12 2001
++++ libxslt/extra.c Mon Aug 27 13:24:28 2001
+@@ -235,7 +235,12 @@
+ * Calling localtime() has the side-effect of setting timezone.
+ * After we know the timezone, we can adjust for it
+ */
+- lmt = gmt - timezone;
++ /*
++ * May be on some stupid Linux localtime() have such side-effect,
++ * but FreeBSD DOESN'T HAVE such side-ffect, so we should use
++ * local_tm.
++ */
++ lmt = gmt - local_tm->tm_gmtoff;
+
+ /*
+ * FIXME: it's been too long since I did manual memory management.
diff --git a/textproc/libxslt/files/patch-ltmain.sh b/textproc/libxslt/files/patch-ltmain.sh
new file mode 100644
index 000000000000..0beb3d875b6a
--- /dev/null
+++ b/textproc/libxslt/files/patch-ltmain.sh
@@ -0,0 +1,18 @@
+
+$FreeBSD$
+
+--- ltmain.sh 2001/08/27 10:25:11 1.1
++++ ltmain.sh 2001/08/27 10:25:28
+@@ -4175,10 +4175,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"