Index: head/astro/nightfall/Makefile =================================================================== --- head/astro/nightfall/Makefile (revision 398246) +++ head/astro/nightfall/Makefile (revision 398247) @@ -1,56 +1,55 @@ # Created by: Christian Brueffer # $FreeBSD$ PORTNAME= nightfall -PORTVERSION= 1.70 -PORTREVISION= 12 +PORTVERSION= 1.86 CATEGORIES= astro MASTER_SITES= http://www.la-samhna.de/nightfall/ MAINTAINER= ports@FreeBSD.org COMMENT= Interactive binary star application USES= compiler gettext gmake pathfix perl5 pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --with-locale-prefix=${PREFIX}/share/locale OPTIONS_DEFINE= GNOME PGPLOT OPENGL OPTIONS_DEFAULT= PGPLOT OPENGL OPTIONS_SUB= yes GNOME_CONFIGURE_ON= --with-gnomedoc-prefix=${PREFIX}/share GNOME_CONFIGURE_OFF= --disable-gnome GNOME_USE= GNOME=gnomeprefix,libgnomeui GNOME_VARS= INSTALLS_OMF=yes OPENGL_CONFIGURE_ON= --with-lib-GL OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_LIB_DEPENDS= libgtkgl-2.0.so:${PORTSDIR}/x11-toolkits/gtkglarea2 OPENGL_USE= GL=glut PGPLOT_DESC= PGPLOT support PGPLOT_CONFIGURE_ON= --with-pgplot-include=${LOCALBASE}/include \ --with-pgplot-lib=${LOCALBASE}/lib PGPLOT_CONFIGURE_OFF= --with-gnuplot PGPLOT_LIB_DEPENDS= libpgplot.so:${PORTSDIR}/graphics/pgplot PGPLOT_RUN_DEPENDS_OFF= gnuplot:${PORTSDIR}/math/gnuplot PGPLOT_USES= fortran .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|-fforce-addr||' ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e 's|CFLAGS -O3|CFLAGS|g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|^Icon=gnome|Icon=${DATADIR}/pixmaps|g' \ ${WRKSRC}/nightfall.desktop post-install: ${INSTALL_DATA} ${WRKSRC}/nightfall.desktop \ ${STAGEDIR}${PREFIX}/share/applications .include Index: head/astro/nightfall/distinfo =================================================================== --- head/astro/nightfall/distinfo (revision 398246) +++ head/astro/nightfall/distinfo (revision 398247) @@ -1,2 +1,2 @@ -SHA256 (nightfall-1.70.tar.gz) = d282b3d5f90e51284cbfb1619ab54184549eb2a21422ee452d794cded58c14de -SIZE (nightfall-1.70.tar.gz) = 1457748 +SHA256 (nightfall-1.86.tar.gz) = 2394133c77d512f048198da91a9bf9378887997c4df1a7283e6b91f08dd54e80 +SIZE (nightfall-1.86.tar.gz) = 1479521 Index: head/astro/nightfall/files/patch-Light.c =================================================================== --- head/astro/nightfall/files/patch-Light.c (revision 398246) +++ head/astro/nightfall/files/patch-Light.c (revision 398247) @@ -1,13 +1,13 @@ ---- Light.c.orig Thu Oct 20 22:54:11 2005 -+++ Light.c Wed Dec 7 02:43:38 2005 -@@ -275,8 +275,10 @@ +--- Light.c.orig 2014-09-25 08:03:26 UTC ++++ Light.c +@@ -252,8 +252,10 @@ int main(int argc, char *argv[]) /* >>>>>>>>>>>>>>>> ALLOCATE MEMORY <<<<<<<<<<<<<<<<<<<<< */ +#if 0 program_invocation_name = malloc (1 + strlen(argv[0])); strcpy(program_invocation_name, argv[0]); +#endif /* should be freed by OS on program exit (?) */ Index: head/astro/nightfall/files/patch-Light.h =================================================================== --- head/astro/nightfall/files/patch-Light.h (revision 398246) +++ head/astro/nightfall/files/patch-Light.h (revision 398247) @@ -1,12 +1,12 @@ ---- Light.h.orig Thu Oct 20 22:18:52 2005 -+++ Light.h Wed Dec 7 02:47:16 2005 -@@ -805,7 +805,9 @@ +--- Light.h.orig 2014-09-25 09:25:17 UTC ++++ Light.h +@@ -935,7 +935,9 @@ void DefineAxis(double *Min, double *Max /* */ /**************************************************************************/ +#if 0 extern char * program_invocation_name; +#endif /* ----------- Error Messages ---------------------------------------- */ Index: head/astro/nightfall/files/patch-LightGLAnimate.c =================================================================== --- head/astro/nightfall/files/patch-LightGLAnimate.c (revision 398246) +++ head/astro/nightfall/files/patch-LightGLAnimate.c (revision 398247) @@ -1,10 +1,10 @@ ---- LightGLAnimate.c.orig Tue Nov 25 00:21:36 2003 -+++ LightGLAnimate.c Tue Nov 25 00:24:22 2003 +--- LightGLAnimate.c.orig 2014-05-13 08:45:46 UTC ++++ LightGLAnimate.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "Light.h" #ifdef _WITH_OPENGL Index: head/astro/nightfall/files/patch-LightGnome.c =================================================================== --- head/astro/nightfall/files/patch-LightGnome.c (revision 398246) +++ head/astro/nightfall/files/patch-LightGnome.c (revision 398247) @@ -1,14 +1,14 @@ ---- LightGnome.c.orig Thu Oct 27 21:46:52 2005 -+++ LightGnome.c Wed Dec 7 02:44:36 2005 -@@ -335,7 +335,11 @@ +--- LightGnome.c.orig 2011-11-18 12:47:36 UTC ++++ LightGnome.c +@@ -333,7 +333,11 @@ gint FileType *dataFile = FileList; char path[256]; +#if 0 argv[0] = program_invocation_name; +#else + argv[0] = g_get_prgname(); +#endif argv[1] = "-U"; argv[2] = NULL; Index: head/astro/nightfall/files/patch-distribute.c =================================================================== --- head/astro/nightfall/files/patch-distribute.c (nonexistent) +++ head/astro/nightfall/files/patch-distribute.c (revision 398247) @@ -0,0 +1,16 @@ +--- distribute.c.orig 2012-01-25 13:36:01 UTC ++++ distribute.c +@@ -36,11 +36,11 @@ static char * build_cmdline(int full) + { + int i; + char temp[512]; +- size_t size = strlen(program_invocation_name) + 1; ++ size_t size = strlen(g_get_prgname()) + 1; + size_t len; + char * cmdline = malloc(size); + +- strncpy(cmdline, program_invocation_name, size); ++ strncpy(cmdline, g_get_prgname(), size); + + if (full) + { Property changes on: head/astro/nightfall/files/patch-distribute.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