diff options
author | 2003-12-15 04:33:46 +0000 | |
---|---|---|
committer | 2003-12-15 04:33:46 +0000 | |
commit | e4efcedda5ac654da1e6d441a764c05b3dc277f4 (patch) | |
tree | 65449a579a6d37253052089780c0e4776a44b688 /media-gfx/radiance/files | |
parent | Install the correct version of /etc/pam.d/system-auth, and do not install (diff) | |
download | gentoo-2-e4efcedda5ac654da1e6d441a764c05b3dc277f4.tar.gz gentoo-2-e4efcedda5ac654da1e6d441a764c05b3dc277f4.tar.bz2 gentoo-2-e4efcedda5ac654da1e6d441a764c05b3dc277f4.zip |
Added X USE flag and dev-lang/tk as a dependency. Added patch to enable radiance to build without X.
Diffstat (limited to 'media-gfx/radiance/files')
-rw-r--r-- | media-gfx/radiance/files/radiance-3.5-noX11.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/media-gfx/radiance/files/radiance-3.5-noX11.patch b/media-gfx/radiance/files/radiance-3.5-noX11.patch new file mode 100644 index 000000000000..5ed888d55e57 --- /dev/null +++ b/media-gfx/radiance/files/radiance-3.5-noX11.patch @@ -0,0 +1,62 @@ +diff -ur ray.orig/src/px/Rmakefile ray/src/px/Rmakefile +--- ray.orig/src/px/Rmakefile 2003-12-15 16:52:34.000000000 +1300 ++++ ray/src/px/Rmakefile 2003-12-15 16:56:41.000000000 +1300 +@@ -20,7 +20,7 @@ + + PROGS = pfilt ttyimage oki20c oki20 psign ra_tiff normtiff \ + pvalue pcompos protate ra_pr ra_pr24 ra_avs ra_hexbit \ +-ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm ximage xshowtrace \ ++ra_t8 ra_bn ra_t16 pcomb pinterp pflip ra_ppm \ + ra_rgbe ra_pict ra_ps pextrem ra_gif ra_xyze macbethcal pcond pcwarp + + all: $(PROGS) $(SPECIAL) +diff -ur ray.orig/src/rt/Rmakefile ray/src/rt/Rmakefile +--- ray.orig/src/rt/Rmakefile 2003-12-15 16:52:34.000000000 +1300 ++++ ray/src/rt/Rmakefile 2003-12-15 16:53:39.000000000 +1300 +@@ -34,11 +34,11 @@ + # + # Device drivers for rview (see also devtable.c): + # +-DOBJS = devtable.o devcomm.o editline.o x11.o x11twind.o \ ++DOBJS = devtable.o devcomm.o editline.o \ + colortab.o +-DSRC = devtable.c devcomm.c editline.c x11.c x11twind.c \ ++DSRC = devtable.c devcomm.c editline.c \ + colortab.c +-DLIBS = -lX11 ++DLIBS = + + # + # Standard object files: +diff -ur ray.orig/src/rt/devtable.c ray/src/rt/devtable.c +--- ray.orig/src/rt/devtable.c 2003-12-15 16:52:34.000000000 +1300 ++++ ray/src/rt/devtable.c 2003-12-15 16:55:23.000000000 +1300 +@@ -11,13 +11,11 @@ + + #include "driver.h" + +-char dev_default[] = "x11"; +- +-extern struct driver *x11_init(); ++char dev_default[] = "sun"; + + struct device devtable[] = { /* supported devices */ + {"slave", "Slave driver", slave_init}, +- {"x11", "X11 color or greyscale display", x11_init}, +- {"x11d", "X11 display using stdin/stdout", x11_init}, ++ {"x11", "X11 color or greyscale display", comm_init}, ++ {"x11d", "X11 display using stdin/stdout", comm_init}, + {0} /* terminator */ + }; +diff -ur ray.orig/src/util/Rmakefile ray/src/util/Rmakefile +--- ray.orig/src/util/Rmakefile 2003-12-15 16:52:35.000000000 +1300 ++++ ray/src/util/Rmakefile 2003-12-15 16:57:16.000000000 +1300 +@@ -18,7 +18,7 @@ + LIBDIR = /usr/local/lib/ray + + PROGS = findglare glarendx rpiece rad ranimate ranimove vwright getinfo \ +- vwrays xglaresrc ++ vwrays + + all: $(PROGS) + |