makemaker-defaults.mk: fallback COMPONENT_PROJECT_URL to dist
[oi-userland.git] / components / image / gnuplot / patches / 02-fix-pixmap.patch
blobac39001a4b519a3dcdb6d78159936653dcc009f4
1 Running the pixmap.dem can lead to file not found errors if not called from within the demo folder.
2 This patch makes it use absolute paths in order to avoid such problems.
3 This is only suited for OpenIndiana.
4 --- gnuplot-5.4.1/demo/pixmap.dem.orig 2020-10-13 23:14:48.000000000 +0000
5 +++ gnuplot-5.4.1/demo/pixmap.dem 2021-05-14 20:00:37.439164468 +0000
6 @@ -2,9 +2,9 @@
7 # Demonstrate use of 'set pixmap' to provide a slide background,
8 # a project logo, and a plot element
10 -set pixmap 1 'gradient.png' at screen 0,0 size screen 1,1 behind
11 -set pixmap 2 'icon64x64.png' at screen 0.02, 0.02 width screen 0.05 back
12 -set pixmap 3 'aries.png' at polar 29., 1.11, 0.0 center width char 2.5
13 +set pixmap 1 '/usr/demo/gnuplot/gradient.png' at screen 0,0 size screen 1,1 behind
14 +set pixmap 2 '/usr/demo/gnuplot/icon64x64.png' at screen 0.02, 0.02 width screen 0.05 back
15 +set pixmap 3 '/usr/demo/gnuplot/aries.png' at polar 29., 1.11, 0.0 center width char 2.5
17 set lmargin 20