diff options
Diffstat (limited to 'astro/wmsun/files')
| -rw-r--r-- | astro/wmsun/files/patch-Makefile | 14 | ||||
| -rw-r--r-- | astro/wmsun/files/patch-wmSun.c | 6 |
2 files changed, 9 insertions, 11 deletions
diff --git a/astro/wmsun/files/patch-Makefile b/astro/wmsun/files/patch-Makefile index 3814e6d078a8..20562229be26 100644 --- a/astro/wmsun/files/patch-Makefile +++ b/astro/wmsun/files/patch-Makefile @@ -1,19 +1,17 @@ --- Makefile.orig Wed Jan 6 11:28:39 1999 +++ Makefile Thu Aug 3 21:28:34 2000 -@@ -22,14 +22,14 @@ - +@@ -18,12 +18,12 @@ + OBJS = wmSun.o SunRise.o ../wmgeneral/wmgeneral.o .c.o: - $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) + $(CC) $(CFLAGS) -D$(OPSYS) -c $< -o $@ $(INCDIR) - all: wmSun.o wmSun - wmSun.o: wmSun_master.xpm wmSun_mask.xbm - wmSun: $(OBJS) -- $(CC) $(COPTS) $(SYSTEM) -lm -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS) -+ $(CC) $(CFLAGS) $(SYSTEM) -lm -o wmSun $(OBJS) $(LIBDIR) $(LIBS) + wmSun: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) $(SYSTEM) -o wmSun $(OBJS) $(LIBDIR) $(LIBS) clean: - for i in $(OBJS) ; do \ + for i in $(OBJS) ; do rm -f $$i; done diff --git a/astro/wmsun/files/patch-wmSun.c b/astro/wmsun/files/patch-wmSun.c index a87af2c10a3d..15ca2738a13c 100644 --- a/astro/wmsun/files/patch-wmSun.c +++ b/astro/wmsun/files/patch-wmSun.c @@ -3,10 +3,10 @@ $FreeBSD$ --- wmSun.c.orig Thu Aug 15 18:04:04 2002 +++ wmSun.c Thu Aug 15 18:06:24 2002 -@@ -129,7 +129,8 @@ - int Year, Month, DayOfWeek, OldLocalDayOfMonth; - int LocalDayOfMonth, DayOfMonth; +@@ -76,7 +76,8 @@ + int LocalDayOfMonth, DayOfMonth; int Hours, Mins, Secs, OldSecs, digit, xoff, xsize; + int OldMins; - long CurrentLocalTime, CurrentGMTTime, date; + time_t CurrentLocalTime, CurrentGMTTime; + long date; |
