diff options
Diffstat (limited to 'textproc/libxslt/files')
-rw-r--r-- | textproc/libxslt/files/patch-aa | 19 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-libexslt_date.c | 11 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-libxslt::extra.c | 19 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-python::Makefile.in | 14 |
4 files changed, 14 insertions, 49 deletions
diff --git a/textproc/libxslt/files/patch-aa b/textproc/libxslt/files/patch-aa index 5ee76fe5178e..3abe36878a76 100644 --- a/textproc/libxslt/files/patch-aa +++ b/textproc/libxslt/files/patch-aa @@ -1,17 +1,12 @@ ---- Makefile.in.orig Tue Mar 30 12:22:50 2004 -+++ Makefile.in Tue Mar 30 12:24:16 2004 -@@ -230,11 +230,10 @@ +--- Makefile.in.orig 2012-10-22 16:13:46.000000000 +0000 ++++ Makefile.in 2012-10-22 16:14:29.000000000 +0000 +@@ -327,8 +327,7 @@ libexslt \ xsltproc \ doc \ -- @PYTHON_SUBDIR@ \ +- $(PYTHON_SUBDIR) \ - tests -+ @PYTHON_SUBDIR@ ++ $(PYTHON_SUBDIR) --DIST_SUBDIRS = libxslt libexslt xsltproc python doc tests --confexecdir = $(libdir) -+DIST_SUBDIRS = libxslt libexslt xsltproc python doc -+confexecdir = $(sysconfdir) - confexec_DATA = xsltConf.sh - bin_SCRIPTS = xslt-config - EXTRA_DIST = xsltConf.sh.in xslt-config.in libxslt.spec libxslt.spec.in \ + DIST_SUBDIRS = libxslt libexslt xsltproc python doc tests + confexecdir = $(libdir) diff --git a/textproc/libxslt/files/patch-libexslt_date.c b/textproc/libxslt/files/patch-libexslt_date.c deleted file mode 100644 index 6012e7eaf958..000000000000 --- a/textproc/libxslt/files/patch-libexslt_date.c +++ /dev/null @@ -1,11 +0,0 @@ ---- libexslt/date.c.orig 2007-09-07 10:59:04.000000000 -0500 -+++ libexslt/date.c 2007-09-07 10:59:21.000000000 -0500 -@@ -28,7 +28,7 @@ - #include "config.h" - #endif - --#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */ -+#if defined(HAVE_LOCALTIME_R) && defined(__GLIBC__) /* _POSIX_SOURCE required by gnu libc */ - #ifndef _AIX51 /* but on AIX we're not using gnu libc */ - #define _POSIX_SOURCE - #endif diff --git a/textproc/libxslt/files/patch-libxslt::extra.c b/textproc/libxslt/files/patch-libxslt::extra.c deleted file mode 100644 index b4039d8b49e8..000000000000 --- a/textproc/libxslt/files/patch-libxslt::extra.c +++ /dev/null @@ -1,19 +0,0 @@ - -$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-python::Makefile.in b/textproc/libxslt/files/patch-python::Makefile.in index f30b906feb64..dbd7d8e76bcd 100644 --- a/textproc/libxslt/files/patch-python::Makefile.in +++ b/textproc/libxslt/files/patch-python::Makefile.in @@ -1,17 +1,17 @@ ---- python/Makefile.in.orig 2008-05-23 23:03:51.000000000 -0500 -+++ python/Makefile.in 2008-05-23 23:09:55.000000000 -0500 -@@ -258,7 +258,7 @@ - -I$(top_srcdir) \ +--- python/Makefile.in.orig 2012-10-22 16:16:50.000000000 +0000 ++++ python/Makefile.in 2012-10-22 16:17:40.000000000 +0000 +@@ -344,7 +344,7 @@ -I../libexslt + AM_CFLAGS = $(LIBXML_CFLAGS) -DOCS_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION) +DOCS_DIR = $(datadir)/doc/py-libxslt # libxsltclass.txt is generated DOCS = TODO EXTRA_DIST = \ -@@ -273,8 +273,8 @@ +@@ -359,8 +359,8 @@ - libxsltmod_la_LDFLAGS = -module -avoid-version + libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version @WITH_PYTHON_TRUE@mylibs = \ -@WITH_PYTHON_TRUE@ $(top_builddir)/libxslt/libxslt.la \ -@WITH_PYTHON_TRUE@ $(top_builddir)/libexslt/libexslt.la @@ -19,4 +19,4 @@ +@WITH_PYTHON_TRUE@ -lexslt @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxsltmod.la - @WITH_PYTHON_TRUE@libxsltmod_la_SOURCES = libxslt.c types.c libxslt-py.c + @WITH_PYTHON_TRUE@libxsltmod_la_SOURCES = libxslt.c types.c |