aboutsummaryrefslogtreecommitdiff
path: root/misc/wmstock/files
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-01 02:56:37 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-01 02:56:37 +0000
commitc38aaa7db0c660d54a66ee5b56c4c5d4a42355a4 (patch)
treecf341f5688d777834a791b9280b5e1d5e5de78c5 /misc/wmstock/files
parent041a60736f9ce63aa3a9eebf0a60c35a76392005 (diff)
downloadports-c38aaa7db0c660d54a66ee5b56c4c5d4a42355a4.tar.gz
ports-c38aaa7db0c660d54a66ee5b56c4c5d4a42355a4.zip
Notes
Diffstat (limited to 'misc/wmstock/files')
-rw-r--r--misc/wmstock/files/patch-aa34
-rw-r--r--misc/wmstock/files/patch-ab41
2 files changed, 75 insertions, 0 deletions
diff --git a/misc/wmstock/files/patch-aa b/misc/wmstock/files/patch-aa
new file mode 100644
index 000000000000..faf869cc57c2
--- /dev/null
+++ b/misc/wmstock/files/patch-aa
@@ -0,0 +1,34 @@
+--- testqt.pl.orig Sun Aug 1 19:46:56 1999
++++ testqt.pl Sun Aug 1 19:48:47 1999
+@@ -1,11 +1,11 @@
+ #!/usr/bin/perl
+
+- $wget_loc = `which wget`;
++ $wget_loc = `which fetch`;
+ chop $wget_loc;
+
+ if (!$wget_loc)
+ {
+- die "testqt.pl:: Could not find wget. If it is not in your path please add it to your path. If it is not installed please install it.\n";
++ die "testqt.pl:: Could not find fetch. If it is not in your path please add it to your path. If it is not installed please install it.\n";
+ }
+
+ $home = (getpwuid($<))[7];
+@@ -78,7 +78,7 @@
+ #
+
+ $tempfile = "stock.tmp.$$";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$tempfile \"$URL\"";
++ $wget_args = " -p -o $home/.wmstock/$tempfile \"$URL\"";
+ $command = $wget_loc.$wget_args;
+ system "$wget_loc$wget_args";
+ sleep(3);
+@@ -115,7 +115,7 @@
+ $version = $_[0];
+ $vtempfile = ".newest";
+ $vers_url="http://www.mattfischer.com/wmstock/src/$vtempfile";
+- $wget_args = " --cache=off --tries 0 -q -O $home/.wmstock/$vtempfile \"$vers_url\"";
++ $wget_args = " -p -o $home/.wmstock/$vtempfile \"$vers_url\"";
+ $command = $wget_loc.$wget_args;
+
+ print "Please wait while I check for a new version.\n";
diff --git a/misc/wmstock/files/patch-ab b/misc/wmstock/files/patch-ab
new file mode 100644
index 000000000000..b4707ad937f5
--- /dev/null
+++ b/misc/wmstock/files/patch-ab
@@ -0,0 +1,41 @@
+--- Makefile.orig Wed Jul 7 12:22:08 1999
++++ Makefile Sun Aug 1 19:45:11 1999
+@@ -2,13 +2,13 @@
+ # <mfischer@umr.edu>
+ # based on wmWeather - see ../Credits for more information
+
+-CC = gcc
+-CFLAGS = -O2 -g -Wall
++CC ?= gcc
++CFLAGS += -g -Wall
+ DEBUG = -DMLF_DEBUG
+ GCOV = -fprofile-arcs -ftest-coverage
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++INCDIR = -I${PREFIX}/include/X11 -I${PREFIX}/include
++DESTDIR= ${PREFIX}
++LIBDIR = -L${PREFIX}/lib
+ # for linux
+ LIBS = -lXpm -lX11 -lXext
+ # for Solaris
+@@ -22,10 +22,6 @@
+ .c.o:
+ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
+
+-# $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+-# no longer need the -D<uname>...
+-
+-
+ all: wmstock.o wmstock
+
+ wmstock.o: wmstock_master.xpm wmstock_mask.xbm
+@@ -43,8 +39,3 @@
+ rm -f $$i; \
+ done
+ rm -f wmstock
+-
+-install:: wmstock
+- install -c -s -m 0755 wmstock $(DESTDIR)/bin
+- install -c -m 0755 testqt.pl $(DESTDIR)/bin
+- install -c -m 0644 wmstock.1x $(DESTDIR)/man/man1