diff options
-rw-r--r-- | misc/astrolog/Makefile | 2 | ||||
-rw-r--r-- | misc/astrolog/files/patch-ac | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/misc/astrolog/Makefile b/misc/astrolog/Makefile index e0470adedd9d..f23f1839e972 100644 --- a/misc/astrolog/Makefile +++ b/misc/astrolog/Makefile @@ -10,7 +10,7 @@ PORTNAME= astrolog PORTVERSION= 5.40 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= misc MASTER_SITES= http://www.astrolog.org/ftp/ephem/:ephem \ http://www.astrolog.org/ftp/:dist diff --git a/misc/astrolog/files/patch-ac b/misc/astrolog/files/patch-ac index 8d7a05dedcfd..3b5a728a6341 100644 --- a/misc/astrolog/files/patch-ac +++ b/misc/astrolog/files/patch-ac @@ -33,8 +33,8 @@ return fFalse; } ciCore.nam = SzPersist(argv[1]); -+ if (CchSz(ciCore.nam) > 25) /* see xcharts0.c */ -+ ciCore.nam[25] = chNull; ++ if (CchSz(ciCore.nam) > 29) /* see charts1.c */ ++ ciCore.nam[29] = chNull; + for (pch = ciCore.nam; *pch; pch++) { + if (*pch == '"') /* see io.c */ + *pch = '\''; @@ -42,8 +42,8 @@ + *pch = ' '; + } ciCore.loc = SzPersist(argv[2]); -+ if (CchSz(ciCore.loc) > 25) /* see xcharts0.c */ -+ ciCore.loc[25] = chNull; ++ if (CchSz(ciCore.loc) > 29) /* see charts1.c */ ++ ciCore.loc[29] = chNull; + for (pch = ciCore.loc; *pch; pch++) { + if (*pch == '"') /* see io.c */ + *pch = '\''; |