forked from pool/gnuplot
.
OBS-URL: https://build.opensuse.org/package/show/Publishing/gnuplot?expand=0&rev=38
This commit is contained in:
parent
6dfd43c847
commit
0b10da6744
24
gnuplot-4.6.0-backtick.diff
Normal file
24
gnuplot-4.6.0-backtick.diff
Normal file
@ -0,0 +1,24 @@
|
||||
--- lisp/gnuplot.el
|
||||
+++ lisp/gnuplot.el 2012-07-02 14:46:33.000000000 +0000
|
||||
@@ -342,16 +342,16 @@
|
||||
(if (fboundp 'defface)
|
||||
nil
|
||||
(defmacro defface (var values doc &rest args)
|
||||
- (` (progn
|
||||
- (defvar (, var) (quote (, var)))
|
||||
+ `(progn
|
||||
+ (defvar ,var (quote ,var))
|
||||
;; To make colors for your faces you need to set your .Xdefaults
|
||||
;; or set them up ahead of time in your .emacs file.
|
||||
- (make-face (, var))
|
||||
- ))))
|
||||
+ (make-face ,var)
|
||||
+ )))
|
||||
(if (fboundp 'defcustom)
|
||||
nil
|
||||
(defmacro defcustom (var value doc &rest args)
|
||||
- (` (defvar (, var) (, value) (, doc)))))))
|
||||
+ `(defvar ,var ,value ,doc)))))
|
||||
|
||||
;; (eval-and-compile
|
||||
;; (condition-case ()
|
@ -1,6 +1,6 @@
|
||||
--- configure.in
|
||||
+++ configure.in 2011-08-17 20:44:53.000000000 +0000
|
||||
@@ -329,7 +329,7 @@ if test "$with_linux_vga" = yes; then
|
||||
@@ -328,7 +328,7 @@ if test "$with_linux_vga" = yes; then
|
||||
[AC_DEFINE(LINUXVGA,1,
|
||||
[ Define if this is a Linux system with SuperVGA library. ])
|
||||
LINUXSUID='chown root $(bindir)/gnuplot; chmod u+s $(bindir)/gnuplot'
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 3 07:27:41 UTC 2012 - werner@suse.de
|
||||
|
||||
- Convert gnuplot.el to new backtick lisp scheme for emacs 24.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 30 15:33:29 UTC 2012 - jengelh@inai.de
|
||||
|
||||
|
@ -71,6 +71,7 @@ Patch2: gnuplot-4.6.0-fonts.diff
|
||||
Patch4: gnuplot-4.6.0-demo.diff
|
||||
Patch6: gnuplot-4.6.0-fix-format-errors.diff
|
||||
Patch7: gnuplot-automake.diff
|
||||
Patch8: gnuplot-4.6.0-backtick.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||
%if "%_exec_prefix" == "/usr/X11R6"
|
||||
@ -124,8 +125,9 @@ test $? -eq 0 || exit 1
|
||||
%patch2 -p 0 -b .font
|
||||
%patch4 -p 0 -b .demo
|
||||
%patch6 -p 0 -b .formaterrors
|
||||
%patch7 -p 1 -b .auto
|
||||
%patch8 -p 0 -b .btick
|
||||
%patch0 -p 0 -b .0
|
||||
%patch -P 7 -p1
|
||||
|
||||
%build
|
||||
SECSVGA="-DSVGA_IS_SECURE=1"
|
||||
|
Loading…
Reference in New Issue
Block a user