summaryrefslogtreecommitdiff
path: root/x11/wmweather/patches
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-05-12 05:57:52 +0000
committerrh <rh@pkgsrc.org>2000-05-12 05:57:52 +0000
commit00972ec0c39319135ceaf737b580d80190b2d9d5 (patch)
treed8f22cb033ea1d98b9329cc5be5ba72b9e145e0e /x11/wmweather/patches
parentb82557a60de007a6816539375fd4e512df75e620 (diff)
downloadpkgsrc-00972ec0c39319135ceaf737b580d80190b2d9d5.tar.gz
Initial import of wmWeather-1.31, a WindowMaker DockApp showing local
weather conditions.
Diffstat (limited to 'x11/wmweather/patches')
-rw-r--r--x11/wmweather/patches/patch-aa46
-rw-r--r--x11/wmweather/patches/patch-ab13
2 files changed, 59 insertions, 0 deletions
diff --git a/x11/wmweather/patches/patch-aa b/x11/wmweather/patches/patch-aa
new file mode 100644
index 00000000000..27e949b0c74
--- /dev/null
+++ b/x11/wmweather/patches/patch-aa
@@ -0,0 +1,46 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/12 05:57:52 rh Exp $
+
+--- Makefile.orig Wed Mar 17 01:59:39 1999
++++ Makefile Tue May 2 13:20:57 2000
+@@ -1,8 +1,6 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall
+-INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
+-DESTDIR= /usr/X11R6
+-LIBDIR = -L/usr/X11R6/lib
++INCDIR = -I${PREFIX}/include
++DESTDIR= ${PREFIX}
++LIBDIR = -L${PREFIX}/lib -Wl,-R${PREFIX}/lib
+ # for linux
+ LIBS = -lXpm -lX11 -lXext
+ # for Solaris
+@@ -10,16 +8,14 @@
+ OBJS = wmWeather.o \
+ xutils.o
+
+-
+ .c.o:
+- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+-
++ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
+
+ all: wmWeather.o wmWeather
+
+ wmWeather.o: wmWeather_master.xpm wmWeather_mask.xbm
+ wmWeather: $(OBJS)
+- $(CC) $(CFLAGS) $(SYSTEM) -o wmWeather $^ $(INCDIR) $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) $(SYSTEM) -o wmWeather ${OBJS} $(LIBDIR) $(LIBS)
+
+ clean:
+ for i in $(OBJS) ; do \
+@@ -28,7 +24,7 @@
+ rm -f wmWeather
+
+ install:: wmWeather
+- install -c -s -m 0755 wmWeather $(DESTDIR)/bin
+- install -c -m 0755 GrabWeather $(DESTDIR)/bin
+- install -c -m 0644 wmWeather.1 $(DESTDIR)/man/man1
++ ${BSD_INSTALL_PROGRAM} wmWeather $(DESTDIR)/bin
++ ${BSD_INSTALL_SCRIPT} GrabWeather $(DESTDIR)/bin
++ ${BSD_INSTALL_MAN} wmWeather.1 $(DESTDIR)/man/man1
+
diff --git a/x11/wmweather/patches/patch-ab b/x11/wmweather/patches/patch-ab
new file mode 100644
index 00000000000..7f8f112906e
--- /dev/null
+++ b/x11/wmweather/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/05/12 05:57:52 rh Exp $
+
+--- GrabWeather.orig Fri Apr 16 23:41:53 1999
++++ GrabWeather Tue May 2 13:50:28 2000
+@@ -49,7 +49,7 @@
+ # for some people? Dont know why... (Perhaps they have a ~/.wgetrc file
+ # that overrides command line options?).
+ #
+- $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmWeatherReports/$StationID.TXT $URL";
++ $GrabCmd = "/usr/bin/ftp -o $home/.wmWeatherReports/$StationID.TXT $URL";
+ system "$GrabCmd";
+
+