diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2002-09-06 09:08:45 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2002-09-06 09:08:45 +0000 |
commit | e57416980dd33cc61e896af14a0737c12411ae60 (patch) | |
tree | 0d7c65fc76d12cef462bafe0307cb4c91efaa71b /misc/bogosort | |
parent | 13ef6e152cf2908fe466f3e00524e525ba659998 (diff) | |
download | ports-e57416980dd33cc61e896af14a0737c12411ae60.tar.gz ports-e57416980dd33cc61e896af14a0737c12411ae60.zip |
Notes
Diffstat (limited to 'misc/bogosort')
-rw-r--r-- | misc/bogosort/Makefile | 2 | ||||
-rw-r--r-- | misc/bogosort/distinfo | 2 | ||||
-rw-r--r-- | misc/bogosort/files/patch-aa | 18 | ||||
-rw-r--r-- | misc/bogosort/files/patch-bogosort.c | 17 |
4 files changed, 19 insertions, 20 deletions
diff --git a/misc/bogosort/Makefile b/misc/bogosort/Makefile index bc29c535e2ac..3ee6f2eb7fe8 100644 --- a/misc/bogosort/Makefile +++ b/misc/bogosort/Makefile @@ -6,7 +6,7 @@ # PORTNAME= bogosort -PORTVERSION= 0.3.3 +PORTVERSION= 0.4.0 CATEGORIES= misc MASTER_SITES= http://www.lysator.liu.se/~qha/bogosort/ \ ftp://l82.ryd.student.liu.se/pub/unix/bogosort/ diff --git a/misc/bogosort/distinfo b/misc/bogosort/distinfo index 10523e854673..0b0a860b366d 100644 --- a/misc/bogosort/distinfo +++ b/misc/bogosort/distinfo @@ -1 +1 @@ -MD5 (bogosort/0.3.3/bogosort.tar.gz) = 16b37e26af2cc20efdf387dc30679715 +MD5 (bogosort/0.4.0/bogosort.tar.gz) = f8c15c10c7179e1c980bc440e7575717 diff --git a/misc/bogosort/files/patch-aa b/misc/bogosort/files/patch-aa deleted file mode 100644 index 24c651115455..000000000000 --- a/misc/bogosort/files/patch-aa +++ /dev/null @@ -1,18 +0,0 @@ ---- error.c.orig Mon Nov 27 05:38:26 2000 -+++ error.c Fri Aug 23 16:56:57 2002 -@@ -112,6 +112,7 @@ - private_strerror (errnum) - int errnum; - { -+#ifndef __FreeBSD__ - /* - * qha: modified to get round - * error.c:113: conflicting types for `sys_errlist' -@@ -124,6 +125,7 @@ - #error "I don't know what style sys_errlist you have" - #endif - extern int sys_nerr; -+#endif - - if (errnum > 0 && errnum <= sys_nerr) - return _(sys_errlist[errnum]); diff --git a/misc/bogosort/files/patch-bogosort.c b/misc/bogosort/files/patch-bogosort.c new file mode 100644 index 000000000000..c200151429fc --- /dev/null +++ b/misc/bogosort/files/patch-bogosort.c @@ -0,0 +1,17 @@ +--- bogosort.c 6 Sep 2002 08:46:36 -0000 1.1.1.3 ++++ bogosort.c 6 Sep 2002 08:50:10 -0000 1.3 +@@ -77,10 +77,11 @@ + + /* The name the program was run with */ + /* stripped of any leading path. */ +- program_name = strrchr(argv[0], '/') + 1; ++ program_name = strrchr(argv[0], '/'); + if (program_name == NULL) +- program_name = argv[0]; +- ++ program_name = argv[0]; ++ else ++ program_name++; + + nextarg = decode_switches(argc, argv); + |