FreeBSD Bugzilla – Attachment 202937 Details for
Bug 235526
astro/wmsun: change mastersite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
wmsun-1.05.patch
wmsun-1.05.patch (text/plain), 5.47 KB, created by
Kai Knoblich
on 2019-03-17 16:37:54 UTC
(
hide
)
Description:
wmsun-1.05.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2019-03-17 16:37:54 UTC
Size:
5.47 KB
patch
obsolete
>Index: astro/wmsun/Makefile >=================================================================== >--- astro/wmsun/Makefile (Revision 496071) >+++ astro/wmsun/Makefile (Arbeitskopie) >@@ -2,25 +2,30 @@ > # $FreeBSD$ > > PORTNAME= wmsun >-PORTVERSION= 1.12 >+PORTVERSION= 1.05 >+PORTEPOCH= 1 > CATEGORIES= astro windowmaker >-MASTER_SITES= http://linux-bsd-unix.strefa.pl/ >-DISTNAME= wmSun-${PORTVERSION} >+MASTER_SITES= https://www.dockapps.net/download/ > > MAINTAINER= mbeis@xs4all.nl > COMMENT= Dockapp that displays the rise and set times of the Sun > >-WRKSRC_SUBDIR= wmSun >+LICENSE= GPLv2+ >+LICENSE_FILE= ${WRKSRC}/COPYING > >+LIB_DEPENDS= libdockapp.so:x11-wm/libdockapp >+ > USE_XORG= xext xpm x11 >+ > MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ > INCDIR="-I${LOCALBASE}/include" LIBDIR="-L${LOCALBASE}/lib" > MAKE_JOBS_UNSAFE= yes > >-PLIST_FILES= bin/wmSun man/man1/wmSun.1.gz >+PLIST_FILES= bin/wmsun man/man1/wmsun.1.gz >+WRKSRC= ${WRKDIR}/dockapps-a1e67bd > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/wmSun ${STAGEDIR}${PREFIX}/bin >- ${INSTALL_MAN} ${WRKSRC}/wmSun.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 >+ ${INSTALL_PROGRAM} ${WRKSRC}/wmsun ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_MAN} ${WRKSRC}/wmsun.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 > > .include <bsd.port.mk> >Index: astro/wmsun/distinfo >=================================================================== >--- astro/wmsun/distinfo (Revision 496071) >+++ astro/wmsun/distinfo (Arbeitskopie) >@@ -1,2 +1,3 @@ >-SHA256 (wmSun-1.12.tar.gz) = d05fb019dd835fc33b2c7c3fb7cf1b6a8cd7fe59b62c8d3fa00ddd0f776da15d >-SIZE (wmSun-1.12.tar.gz) = 147170 >+TIMESTAMP = 1549747586 >+SHA256 (wmsun-1.05.tar.gz) = 29c7d2da4c0731a20955af9ba01bde3901dc269bfa1020ff707927c62d5b83a0 >+SIZE (wmsun-1.05.tar.gz) = 20640 >Index: astro/wmsun/files/patch-Makefile >=================================================================== >--- astro/wmsun/files/patch-Makefile (Revision 496071) >+++ astro/wmsun/files/patch-Makefile (Arbeitskopie) >@@ -1,17 +1,19 @@ >---- Makefile.orig 2015-04-01 21:05:45 UTC >+--- Makefile.orig 2015-08-28 11:57:39 UTC > +++ Makefile >-@@ -18,12 +18,12 @@ LIBS = -lXpm -lX11 -lXext -lm >- OBJS = wmSun.o SunRise.o ../wmgeneral/wmgeneral.o >+@@ -19,14 +19,14 @@ LIBS = -lXpm -lX11 -lXext -lm -ldockapp >+ OBJS = wmsun.o SunRise.o > > .c.o: >-- $(CC) $(COPTS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) >-+ $(CC) $(CFLAGS) -D$(OPSYS) -c $< -o $@ $(INCDIR) >+- $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $*.o >++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ $(INCDIR) > >- all: wmSun.o wmSun >+ all: wmsun.o wmsun > >- wmSun: $(OBJS) >-- $(CC) $(COPTS) $(SYSTEM) -o wmSun $^ $(INCDIR) $(LIBDIR) $(LIBS) >-+ $(CC) $(CFLAGS) $(SYSTEM) -o wmSun $(OBJS) $(LIBDIR) $(LIBS) >+ wmsun.o: wmSun_master.xpm wmSun_mask.xbm > >+ wmsun: $(OBJS) >+- $(CC) $(LDFLAGS) -o wmsun $^ $(LIBS) >++ $(CC) $(LDFLAGS) -o wmsun $(OBJS) $(LIBDIR) $(LIBS) >+ > clean: >- for i in $(OBJS) ; do rm -f $$i; done >+ for i in $(OBJS) ; do \ >Index: astro/wmsun/files/patch-wmSun.c >=================================================================== >--- astro/wmsun/files/patch-wmSun.c (Revision 496071) >+++ astro/wmsun/files/patch-wmSun.c (nicht existent) >@@ -1,12 +0,0 @@ >---- wmSun.c.orig 2015-04-01 21:07:58 UTC >-+++ wmSun.c >-@@ -76,7 +76,8 @@ int main(int argc, char *argv[]) { >- int LocalDayOfMonth, DayOfMonth; >- int Hours, Mins, Secs, OldSecs, digit, xoff, xsize; >- int OldMins; >-- long CurrentLocalTime, CurrentGMTTime, date; >-+ time_t CurrentLocalTime, CurrentGMTTime; >-+ long date; >- double UT, val, RA, DEC, LTRise, LTSet, LocalHour, hour24(); >- int D, H, M, S, sgn, A, B, q; >- char str[10]; > >Property changes on: astro/wmsun/files/patch-wmSun.c >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: astro/wmsun/files/patch-wmsun.c >=================================================================== >--- astro/wmsun/files/patch-wmsun.c (nicht existent) >+++ astro/wmsun/files/patch-wmsun.c (Arbeitskopie) >@@ -0,0 +1,20 @@ >+--- wmsun.c.orig 2015-08-28 11:57:39 UTC >++++ wmsun.c >+@@ -43,7 +43,6 @@ >+ /* >+ * Includes >+ */ >+-#define _POSIX_C_SOURCE 1 >+ #include <X11/X.h> /* for ButtonPress, ButtonRelease, etc */ >+ #include <X11/Xlib.h> /* for XEvent, ConnectionNumber, etc */ >+ #include <math.h> /* for cos, sin */ >+@@ -106,7 +105,8 @@ int main(int argc, char *argv[]) { >+ int n; >+ int Year, Month; >+ int DayOfMonth; >+- long CurrentLocalTime, CurrentGMTTime, date; >++ time_t CurrentLocalTime, CurrentGMTTime; >++ long date; >+ double UT, val, LTRise, LTSet, LocalHour, hour24(); >+ int H, M; >+ struct timeval timeout; > >Property changes on: astro/wmsun/files/patch-wmsun.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: astro/wmsun/pkg-descr >=================================================================== >--- astro/wmsun/pkg-descr (Revision 496071) >+++ astro/wmsun/pkg-descr (Arbeitskopie) >@@ -1,3 +1,3 @@ > A dockapp that displays the rise and set time of the sun. > >-WWW: http://linux-bsd-unix.strefa.pl/ >+WWW: https://www.dockapps.net/wmsun/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mbeis
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 235526
:
201765
| 202937