diff options
author | mat <mat@FreeBSD.org> | 2016-06-21 00:23:28 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2016-06-21 00:23:28 +0800 |
commit | bc12b6beb26907f267f34c1f8598d120cabecbae (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /math/spar | |
parent | 5616a93eb39854a280bacec86824bbec7824d5b3 (diff) | |
download | freebsd-ports-gnome-bc12b6beb26907f267f34c1f8598d120cabecbae.tar.gz freebsd-ports-gnome-bc12b6beb26907f267f34c1f8598d120cabecbae.tar.zst freebsd-ports-gnome-bc12b6beb26907f267f34c1f8598d120cabecbae.zip |
With the power of USES=dos2unix, get rid of most patches and files
with CRLF.
While there, run make makepatch, rename patches to use the new scheme,
and various fixes.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'math/spar')
-rw-r--r-- | math/spar/Makefile | 3 | ||||
-rw-r--r-- | math/spar/files/patch-calculator_Makefile.in (renamed from math/spar/files/patch-calculator__Makefile.in) | 6 | ||||
-rw-r--r-- | math/spar/files/patch-configure | 6 | ||||
-rw-r--r-- | math/spar/files/patch-lib_randist_rand.c (renamed from math/spar/files/patch-lib__randist__rand.c) | 16 |
4 files changed, 16 insertions, 15 deletions
diff --git a/math/spar/Makefile b/math/spar/Makefile index 85fa78567cdc..80454151df0d 100644 --- a/math/spar/Makefile +++ b/math/spar/Makefile @@ -10,7 +10,8 @@ MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Modular math parser -USES= libtool ncurses readline +USES= dos2unix libtool ncurses readline +DOS2UNIX_FILES= lib/randist/rand.c GNU_CONFIGURE= yes USE_CSTD= gnu89 USE_LDCONFIG= yes diff --git a/math/spar/files/patch-calculator__Makefile.in b/math/spar/files/patch-calculator_Makefile.in index 725ba36e31f9..e4515e87a212 100644 --- a/math/spar/files/patch-calculator__Makefile.in +++ b/math/spar/files/patch-calculator_Makefile.in @@ -1,6 +1,6 @@ ---- calculator/Makefile.in.orig Sun Jul 1 02:55:42 2001 -+++ calculator/Makefile.in Sun Jul 1 02:55:56 2001 -@@ -91,7 +91,7 @@ +--- calculator/Makefile.in.orig 2001-06-26 13:32:25 UTC ++++ calculator/Makefile.in +@@ -91,7 +91,7 @@ PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ diff --git a/math/spar/files/patch-configure b/math/spar/files/patch-configure index ce43259d9db6..6e1a2e8f0c2c 100644 --- a/math/spar/files/patch-configure +++ b/math/spar/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Tue Jun 26 05:46:47 2001 -+++ configure Sun Sep 8 15:42:06 2002 -@@ -1580,7 +1563,6 @@ +--- configure.orig 2001-06-26 12:46:47 UTC ++++ configure +@@ -1580,7 +1580,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo exec 5>>./config.log diff --git a/math/spar/files/patch-lib__randist__rand.c b/math/spar/files/patch-lib_randist_rand.c index 792b9fa2ae9a..836d51c16ea0 100644 --- a/math/spar/files/patch-lib__randist__rand.c +++ b/math/spar/files/patch-lib_randist_rand.c @@ -1,10 +1,10 @@ ---- lib/randist/rand.c.orig Sun Jul 1 02:45:44 2001 -+++ lib/randist/rand.c Sun Jul 1 02:46:03 2001 +--- lib/randist/rand.c.orig 2016-06-20 13:16:43 UTC ++++ lib/randist/rand.c @@ -64,6 +64,7 @@ - * struct timeb to be defined. They can be
- * found in timeb.h.
- */
+ * struct timeb to be defined. They can be + * found in timeb.h. + */ +#include <sys/types.h> - #include <sys/timeb.h>
-
void
- sl_randomize (void)
+ #include <sys/timeb.h> +
void + sl_randomize (void) |