- Fixed 64bit problem with x11 display (#167508)
This commit is contained in:
parent
3dc2180194
commit
5498773fc6
12
gnuplot-4.0.0-x11segv.patch
Normal file
12
gnuplot-4.0.0-x11segv.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -uNr gnuplot-4.0.0.orig/src/gplt_x11.c gnuplot-4.0.0/src/gplt_x11.c
|
||||||
|
--- gnuplot-4.0.0.orig/src/gplt_x11.c 2004-04-13 19:23:53.000000000 +0200
|
||||||
|
+++ gnuplot-4.0.0/src/gplt_x11.c 2005-10-15 19:23:38.000000000 +0200
|
||||||
|
@@ -1104,7 +1104,7 @@
|
||||||
|
read_input()
|
||||||
|
{
|
||||||
|
static int rdbuf_size = 10 * Nbuf;
|
||||||
|
- static char rdbuf[10 * Nbuf - 1];
|
||||||
|
+ static char rdbuf[10 * Nbuf];
|
||||||
|
static int total_chars;
|
||||||
|
static int rdbuf_offset;
|
||||||
|
static int buf_offset;
|
@ -1,11 +1,12 @@
|
|||||||
Summary: A program for plotting mathematical expressions and data.
|
Summary: A program for plotting mathematical expressions and data.
|
||||||
Name: gnuplot
|
Name: gnuplot
|
||||||
Version: 4.0.0
|
Version: 4.0.0
|
||||||
Release: 8
|
Release: 9
|
||||||
License: Redistributable, with restrictions
|
License: Redistributable, with restrictions
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source2: gnuplot-init.el
|
Source2: gnuplot-init.el
|
||||||
|
Patch0: gnuplot-4.0.0-x11segv.patch
|
||||||
BuildPrereq: libpng-devel, tetex-latex, zlib-devel, xorg-x11-devel, emacs
|
BuildPrereq: libpng-devel, tetex-latex, zlib-devel, xorg-x11-devel, emacs
|
||||||
BuildRequires: texinfo, readline-devel
|
BuildRequires: texinfo, readline-devel
|
||||||
Requires: libpng
|
Requires: libpng
|
||||||
@ -32,6 +33,7 @@ nicely interacts and integrates into emacs.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p 1 -b .x11segv
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-readline=gnu --with-png --without-linux-vga \
|
%configure --with-readline=gnu --with-png --without-linux-vga \
|
||||||
@ -89,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 21 2005 Phil Knirsch <pknirsch@redhat.com> 4.0.0-9
|
||||||
|
- Fixed 64bit problem with x11 display (#167508)
|
||||||
|
|
||||||
* Fri Sep 02 2005 Phil Knirsch <pknirsch@redhat.com> 4.0.0-8
|
* Fri Sep 02 2005 Phil Knirsch <pknirsch@redhat.com> 4.0.0-8
|
||||||
- Fixed missing Requires: emacs for the gnuplot-emacs package
|
- Fixed missing Requires: emacs for the gnuplot-emacs package
|
||||||
- Added a gnuplot-init.el file for startup (#151122)
|
- Added a gnuplot-init.el file for startup (#151122)
|
||||||
|
Loading…
Reference in New Issue
Block a user