diff options
author | anholt <anholt@FreeBSD.org> | 2003-05-12 10:13:01 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-05-12 10:13:01 +0800 |
commit | 0fadf1e2a53a8a4d379c7fbac9f4ae0fa01caf84 (patch) | |
tree | 8633554ec59ba27499163b6897538fabb3e7f0a6 /security | |
parent | 3e71b69dd9489ce40a7e6abcf2a95619a9a2d9de (diff) | |
download | freebsd-ports-gnome-0fadf1e2a53a8a4d379c7fbac9f4ae0fa01caf84.tar.gz freebsd-ports-gnome-0fadf1e2a53a8a4d379c7fbac9f4ae0fa01caf84.tar.zst freebsd-ports-gnome-0fadf1e2a53a8a4d379c7fbac9f4ae0fa01caf84.zip |
Fix building with new gcc (multi-line string literals) and make the build
actually respect CFLAGS.
Reported by: bento
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 $" + |