diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2013-03-23 22:21:58 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-03-24 10:09:19 +0100 |
commit | 6fc4efece8eda01b8789a4f871a0e5efbd9bcc7f (patch) | |
tree | 2f319de870736c8cf4cd519c4c1ebb57851d2fcd /patches | |
parent | c3b5104d59b1489792f27d4763b3ab4879928243 (diff) | |
download | ptxdist-6fc4efece8eda01b8789a4f871a0e5efbd9bcc7f.tar.gz ptxdist-6fc4efece8eda01b8789a4f871a0e5efbd9bcc7f.tar.xz |
gnuplot: bump to 4.6.2
And also fix a build error with new texinfo (makeinfo) installed on the
host by disabling building the info page which is not needed.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch | 99 | ||||
l--------- | patches/gnuplot-4.4.3/autogen.sh | 1 | ||||
-rw-r--r-- | patches/gnuplot-4.4.3/series | 5 | ||||
-rw-r--r-- | patches/gnuplot-4.6.2/0001-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch (renamed from patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch) | 8 | ||||
-rw-r--r-- | patches/gnuplot-4.6.2/0002-Don-t-build-and-install-info-pages.patch | 31 | ||||
-rw-r--r-- | patches/gnuplot-4.6.2/series | 5 |
6 files changed, 40 insertions, 109 deletions
diff --git a/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch b/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch deleted file mode 100644 index cbc130ba9..000000000 --- a/patches/gnuplot-4.4.3/0001-gnuplot-build-documentation-generator-tools-with-CC_.patch +++ /dev/null @@ -1,99 +0,0 @@ -From: Robert Schwebel <r.schwebel@pengutronix.de> -Date: Wed, 12 Oct 2011 15:29:54 +0200 -Subject: [PATCH] gnuplot: build documentation generator tools with - CC_FOR_BUILD - -When cross compiling gnuplot, it tries to build the documentation -generation tools in docs/ with the cross compiler, not with -CC_FOR_BUILD. - -Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> ---- -# 20091222 rsc: https://sourceforge.net/tracker/?func=detail&aid=2918992&group_id=2055&atid=302055 - - configure.in | 42 ++++++++++++++++++++++++++++++++++++++++++ - docs/Makefile.in | 4 ++-- - 2 files changed, 44 insertions(+), 2 deletions(-) - -diff --git a/configure.in b/configure.in -index 655217b..c6278d2 100755 ---- a/configure.in -+++ b/configure.in -@@ -10,6 +10,8 @@ AC_PREREQ(2.58) - AM_CONFIG_HEADER(config.h:config.hin) - AM_INIT_AUTOMAKE(1.7.9) - -+AM_MAINTAINER_MODE -+ - VERSION_MAJOR="`cat $srcdir/VERSION`" - PATCHLEVEL="`cat $srcdir/PATCHLEVEL`" - -@@ -26,6 +28,46 @@ AC_C_INLINE - AC_C_STRINGIZE - AC_PROG_LN_S - -+ -+if test "${build}" != "${host}" -+then -+ CC=${CC-${host_alias}-gcc} -+ CFLAGS=${CFLAGS-"-g -O2"} -+ CXX=${CXX-${host_alias}-c++} -+ CXXFLAGS=${CXXFLAGS-"-g -O2"} -+ CC_FOR_BUILD=${CC_FOR_BUILD-gcc} -+else -+ CC_FOR_BUILD="\$(CC)" -+ AC_PROG_CC -+ -+ # We must set the default linker to the linker used by gcc for the correct -+ # operation of libtool. If LD is not defined and we are using gcc, try to -+ # set the LD default to the ld used by gcc. -+ if test -z "$LD" -+ then -+ if test "$GCC" = yes -+ then -+ case $build in -+ *-*-mingw*) -+ gcc_prog_ld=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;; -+ *) -+ gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;; -+ esac -+ case $gcc_prog_ld in -+ # Accept absolute paths. -+ [[\\/]* | [A-Za-z]:[\\/]*)] -+ LD="$gcc_prog_ld" ;; -+ esac -+ fi -+ fi -+ -+ CXX=${CXX-"c++"} -+ CFLAGS=${CFLAGS-"-g -O2"} -+ CXXFLAGS=${CXXFLAGS-"-g -O2"} -+fi -+AC_SUBST(CC_FOR_BUILD) -+ -+ - dnl Various programs - dnl X/Emacs for building lisp packages and creating .texi version of docs - # If set to t, that means we are running in a shell under Emacs. -diff --git a/docs/Makefile.in b/docs/Makefile.in -index 51ebe6b..591d818 100644 ---- a/docs/Makefile.in -+++ b/docs/Makefile.in -@@ -70,7 +70,7 @@ POST_UNINSTALL = : - - INFO_DEPS = $(srcdir)/gnuplot.info - --CC = @CC@ -+CC = @CC_FOR_BUILD@ - CPP = @CPP@ - DEFS = @DEFS@ - DEFAULT_INCLUDES = -I. -I$(srcdir) -I.. -I$(top_builddir) -@@ -79,7 +79,7 @@ CFLAGS = @CFLAGS@ - GIHDIR = @GIHDIR@ - INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/term - LDFLAGS = @LDFLAGS@ --LIBS = @LIBS@ -+LIBS = - - COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) - CCLD = $(CC) diff --git a/patches/gnuplot-4.4.3/autogen.sh b/patches/gnuplot-4.4.3/autogen.sh deleted file mode 120000 index 9f8a4cb7d..000000000 --- a/patches/gnuplot-4.4.3/autogen.sh +++ /dev/null @@ -1 +0,0 @@ -../autogen.sh
\ No newline at end of file diff --git a/patches/gnuplot-4.4.3/series b/patches/gnuplot-4.4.3/series deleted file mode 100644 index 585745c96..000000000 --- a/patches/gnuplot-4.4.3/series +++ /dev/null @@ -1,5 +0,0 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 -0001-gnuplot-build-documentation-generator-tools-with-CC_.patch -0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch -# ffd95c4575ca3e3194e093f925705906 - git-ptx-patches magic diff --git a/patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch b/patches/gnuplot-4.6.2/0001-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch index 968eaf856..c3ba69151 100644 --- a/patches/gnuplot-4.4.3/0002-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch +++ b/patches/gnuplot-4.6.2/0001-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch @@ -12,14 +12,14 @@ don't also need special LDFLAGS. Omit them. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> --- - docs/Makefile.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) + docs/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Makefile.in b/docs/Makefile.in -index 591d818..0e2ef8f 100644 +index 0560553..628c006 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in -@@ -83,7 +83,7 @@ LIBS = +@@ -85,7 +85,7 @@ LIBS = @LIBS@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) CCLD = $(CC) diff --git a/patches/gnuplot-4.6.2/0002-Don-t-build-and-install-info-pages.patch b/patches/gnuplot-4.6.2/0002-Don-t-build-and-install-info-pages.patch new file mode 100644 index 000000000..3291116c5 --- /dev/null +++ b/patches/gnuplot-4.6.2/0002-Don-t-build-and-install-info-pages.patch @@ -0,0 +1,31 @@ +From: Bernhard Walle <bernhard@bwalle.de> +Date: Sat, 23 Mar 2013 18:50:38 +0100 +Subject: [PATCH] Don't build and install info pages + +With GNU texinfo 5.1 I get following error: + + ./gnuplot.texi:9205: warning: @ref should not appear in @uref + ./gnuplot.texi:17653: raising the section level of @subsubsection which is too low + +Since the texinfo file is generated by some Emacs Lisp script (and my +keyboard doesn't have enough brackets to program Lisp) and since the +texinfo file is not needed on the target, just disable its build. + +Signed-off-by: Bernhard Walle <bernhard@bwalle.de> +--- + docs/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/Makefile.in b/docs/Makefile.in +index 628c006..dc731d6 100644 +--- a/docs/Makefile.in ++++ b/docs/Makefile.in +@@ -449,7 +449,7 @@ checkdoc.o: checkdoc.c $(BUILT_SOURCES) + $(COMPILE) -DALL_TERM_DOC -c $(srcdir)/checkdoc.c + + # install section +-install: install-gih install-info install-pdf ++install: install-gih + + install-gih: gnuplot.gih + $(top_srcdir)/mkinstalldirs $(DESTDIR)$(GIHDIR) diff --git a/patches/gnuplot-4.6.2/series b/patches/gnuplot-4.6.2/series new file mode 100644 index 000000000..cd19e3866 --- /dev/null +++ b/patches/gnuplot-4.6.2/series @@ -0,0 +1,5 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-Don-t-use-LDFLAGS-when-building-the-documentation-ge.patch +0002-Don-t-build-and-install-info-pages.patch +# 1692ae53011b545d0969e00025d9b2b4 - git-ptx-patches magic |