summaryrefslogtreecommitdiff
path: root/misc/alevt/files
diff options
context:
space:
mode:
Diffstat (limited to 'misc/alevt/files')
-rw-r--r--misc/alevt/files/patch-aa66
-rw-r--r--misc/alevt/files/patch-ab19
2 files changed, 16 insertions, 69 deletions
diff --git a/misc/alevt/files/patch-aa b/misc/alevt/files/patch-aa
index f76ba390a4df..4bc0be55e357 100644
--- a/misc/alevt/files/patch-aa
+++ b/misc/alevt/files/patch-aa
@@ -1,51 +1,17 @@
-*** Makefile.orig Fri Oct 8 22:49:26 1999
---- Makefile Tue Oct 12 10:54:23 1999
-*************** VER=1.5.0
-*** 2,8 ****
- OPT=-O2 -s
- DEFS=-DWITH_PNG
-
-! CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -W
-
- EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
- OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
---- 2,8 ----
- OPT=-O2 -s
- DEFS=-DWITH_PNG
-
-! CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -I/usr/local/include -W
-
- EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
- OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
-*************** TOBJS=alevt-date.o vbi.o fdset.o misc.o
-*** 10,16 ****
- COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS)
-
- ifneq ($(findstring WITH_PNG,$(DEFS)),)
-! EXPLIBS=-lpng -lz -lm
- endif
-
- all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
---- 10,16 ----
- COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS)
-
- ifneq ($(findstring WITH_PNG,$(DEFS)),)
-! EXPLIBS=-L/usr/local/lib -lpng -lz -lm
- endif
-
- all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
+*** Makefile.orig Thu Nov 4 20:10:08 1999
+--- Makefile Fri Nov 5 12:12:46 1999
*************** rpm-install: all
*** 65,77 ****
# anything below this line is just for me!
install: all
-! cp alevt /usr/local/bin
-! cp alevt-date /usr/local/bin
-! cp alevt-cap /usr/local/bin
-! cp alevt.1x /usr/local/man/man1
-! cp alevt-date.1 /usr/local/man/man1
-! cp alevt-cap.1 /usr/local/man/man1
-! cp contrib/mini-alevt.xpm /usr/include/X11/pixmaps
+! install -m 0755 alevt /usr/local/bin
+! install -m 0755 alevt-date /usr/local/bin
+! install -m 0755 alevt-cap /usr/local/bin
+! install -m 0644 alevt.1x /usr/local/man/man1
+! install -m 0644 alevt-date.1 /usr/local/man/man1
+! install -m 0644 alevt-cap.1 /usr/local/man/man1
+! install -m 0644 contrib/mini-alevt.xpm /usr/include/X11/pixmaps
sync
depend:
@@ -53,13 +19,13 @@
# anything below this line is just for me!
install: all
-! cp alevt $(X11BASE)/bin
-! cp alevt-date $(X11BASE)/bin
-! cp alevt-cap $(X11BASE)/bin
-! cp alevt.1x $(X11BASE)/man/man1
-! cp alevt-date.1 $(X11BASE)/man/man1
-! cp alevt-cap.1 $(X11BASE)/man/man1
-! cp contrib/mini-alevt.xpm $(X11BASE)/include/X11/pixmaps
+! install -m 0755 alevt $(X11BASE)/bin
+! install -m 0755 alevt-date $(X11BASE)/bin
+! install -m 0755 alevt-cap $(X11BASE)/bin
+! install -m 0644 alevt.1x $(X11BASE)/man/man1
+! install -m 0644 alevt-date.1 $(X11BASE)/man/man1
+! install -m 0644 alevt-cap.1 $(X11BASE)/man/man1
+! install -m 0644 contrib/mini-alevt.xpm $(X11BASE)/include/X11/pixmaps
sync
depend:
diff --git a/misc/alevt/files/patch-ab b/misc/alevt/files/patch-ab
deleted file mode 100644
index afcd06bafe68..000000000000
--- a/misc/alevt/files/patch-ab
+++ /dev/null
@@ -1,19 +0,0 @@
-*** exp-txt.c.orig Tue Oct 12 10:28:27 1999
---- exp-txt.c Tue Oct 12 10:31:59 1999
-*************** txt_option(struct export *e, int opt, ch
-*** 87,92 ****
---- 87,100 ----
- return 0;
- }
-
-+ /* stpcpy is only defined on Linux systems */
-+ /* create a local function for BSD Unix systems */
-+ char *stpcpy(char *dst, char *src)
-+ {
-+ while (*dst++ = *src++)
-+ ;
-+ return dst-1;
-+ }
-
- static void
- put_attr(struct export *e, struct fmt_char *new)