diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-05-12 02:13:01 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-05-12 02:13:01 +0000 |
commit | 253f3b43236e0063044c43949c92d9721666d5f8 (patch) | |
tree | cef138b4e3290663874aef89a3349ae5cc2257f8 /security | |
parent | ea3fd88d443d4cb940064b0b510c183a86516a03 (diff) | |
download | ports-253f3b43236e0063044c43949c92d9721666d5f8.tar.gz ports-253f3b43236e0063044c43949c92d9721666d5f8.zip |
Fix building with new gcc (multi-line string literals) and make the build
actually respect CFLAGS.
Reported by: bento
Notes
Notes:
svn path=/head/; revision=80724
Diffstat (limited to 'security')
-rw-r--r-- | security/ddos_scan/files/patch-Makefile | 11 | ||||
-rw-r--r-- | security/ddos_scan/files/patch-dds.c | 22 |
2 files changed, 32 insertions, 1 deletions
diff --git a/security/ddos_scan/files/patch-Makefile b/security/ddos_scan/files/patch-Makefile index 6a00e8fb52d7..ce513749e862 100644 --- a/security/ddos_scan/files/patch-Makefile +++ b/security/ddos_scan/files/patch-Makefile @@ -1,5 +1,5 @@ --- Makefile.orig Mon Jan 10 13:14:31 2000 -+++ Makefile Sun Feb 13 17:53:23 2000 ++++ Makefile Sun May 11 18:46:35 2003 @@ -1,10 +1,10 @@ # Makefile for ddos_scan (dds). # $Revision: 1.1 $ @@ -13,3 +13,12 @@ default: @clear +@@ -14,7 +14,7 @@ + @echo "to suit your operating system, then use 'make dds'" + + dds: dds.o +- $(CC) -o dds dds.c $(LIBS) ++ $(CC) -o dds dds.o $(LIBS) + + # This assumes the source is in a directory named "ddos_scan". + tar: ddos_scan.tar diff --git a/security/ddos_scan/files/patch-dds.c b/security/ddos_scan/files/patch-dds.c new file mode 100644 index 000000000000..867ec8295594 --- /dev/null +++ b/security/ddos_scan/files/patch-dds.c @@ -0,0 +1,22 @@ +--- dds.c.orig Sun May 11 18:44:07 2003 ++++ dds.c Sun May 11 18:48:34 2003 +@@ -12,8 +12,7 @@ + * David Brumley <dbrumley@rtfm.stanford.edu> + */ + +-#if YOU_HAVE_NOT_READ_THIS_YET +- ++/* + This software should only be used in compliance with all applicable laws and + the policies and preferences of the owners of any networks, systems, or hosts + scanned with the software +@@ -30,8 +29,7 @@ + DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, TORT (INCLUDING NEGLIGENCE) OR STRICT LIABILITY, ARISING + OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +- +-#endif ++*/ + + #define VERSION "$Revision: 1.6 $" + |