aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/piewm/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/piewm/files/patch-ad')
-rw-r--r--x11-wm/piewm/files/patch-ad44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-wm/piewm/files/patch-ad b/x11-wm/piewm/files/patch-ad
new file mode 100644
index 000000000000..54507c5267b2
--- /dev/null
+++ b/x11-wm/piewm/files/patch-ad
@@ -0,0 +1,44 @@
+--- Imakefile.orig Tue Jan 6 05:19:46 1998
++++ Imakefile Thu Dec 9 23:29:58 1999
+@@ -11,7 +11,7 @@
+ TAGS = etags
+
+ # change if you want it to look elsewhere for its files.
+- PIEWMDIR = /usr/local/lib/piewm
++ PIEWMDIR = $(LIBDIR)/piewm
+
+ #
+ # Keep uncommented to allow the xloadimage program by Jim Frost to
+@@ -19,16 +19,16 @@
+ # other image formats besides Xpm or Xbm)
+ # Chris P. Ross
+ # <cross@eng.umd.edu>
+- XLOADIM_DEF = -DXLOADIMAGE=\"/usr/local/bin/xloadimage\"
++ XLOADIM_DEF = -DXLOADIMAGE=\"$(BINDIR)/xloadimage\"
+ MATHLIB = -lm
+- LOCAL_DEFINES = -DSHAPE
++ LOCAL_DEFINES = -DBITMAPDIR=\"$(INCROOT)/X11/bitmaps\" -DSHAPE
+
+ /**/# Ultrix doesn't have a mkstemp in libc...
+ #ifdef UltrixArchitecture
+ ULTRIX_DEFINES = -DNOSTEMP
+ #endif
+
+-LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm
++LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) $(LEXLIB) -lXpm
+ LINTLIBS = $(LINTXMU) $(LINTEXTENSIONLIB) $(LINTXLIB)
+ DEFINES = ExtensionDefines $(LOCAL_DEFINES) $(SIGNAL_DEFINES) $(ULTRIX_DEFINES)
+
+@@ -53,9 +53,9 @@
+ ComplexProgramTarget(piewm)
+ NormalProgramTarget(ssetroot,ssetroot.o,,$(LOCAL_LIBRARIES),)
+
+-MakeDirectories(install,$(TWMDIR))
+-InstallNonExec(system.twmrc,$(TWMDIR))
+-# InstallNamedProg(ssetroot,xsetroot,$(BINDIR))
++MakeDirectories(install,$(PIEWMDIR))
++InstallNonExec(system.twmrc,$(PIEWMDIR))
++# InstallNamedProg(ssetroot,ssetroot,$(BINDIR))
+
+ gram.h gram.c: gram.y
+ $(YACC) $(YFLAGS) gram.y