summaryrefslogtreecommitdiff
path: root/java/jlint/files
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2003-03-03 21:36:44 +0000
committerErnst de Haan <znerd@FreeBSD.org>2003-03-03 21:36:44 +0000
commita127113f1b163f4adc6fd80eb09db1aa85ea8442 (patch)
tree4129dffa446def3801041e5bd160df51f10f9ab2 /java/jlint/files
parentMake portlint happy too. (diff)
Fixes:
- unbreak with new gcc on -current ('using namespace std') - CFLAGS/env police - condense port's Makefile - install additional shell script - install documentation (honour NOPORTDOCS) PR: 48464 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Tested on: -STABLE, -CURRENT
Notes
Notes: svn path=/head/; revision=76819
Diffstat (limited to 'java/jlint/files')
-rw-r--r--java/jlint/files/patch-Makefile22
-rw-r--r--java/jlint/files/patch-field_desc.hh13
2 files changed, 35 insertions, 0 deletions
diff --git a/java/jlint/files/patch-Makefile b/java/jlint/files/patch-Makefile
new file mode 100644
index 000000000000..9cae9f698201
--- /dev/null
+++ b/java/jlint/files/patch-Makefile
@@ -0,0 +1,22 @@
+--- Makefile.orig Wed Feb 19 17:20:06 2003
++++ Makefile Wed Feb 19 17:21:13 2003
+@@ -3,8 +3,8 @@
+ # Makefile for Unix and GNU/Linux with gcc/g++ compiler
+ # Edit here:
+
+-CC=gcc
+-CPP=g++
++CC?=gcc
++CPP=$(CXX)
+
+ # Hints:
+ # if you use egcs-2.90.* version of GCC please add option -fno-exceptions
+@@ -18,7 +18,7 @@
+
+ # Optimized version
+
+-CFLAGS = -c -Wall -O2 -g -DSLIST
++CFLAGS += -c
+ # add -DHASH_TABLE for extra speed (may sometimes produce inconsistent results)
+
+ # Optimized version with switched off asserts
diff --git a/java/jlint/files/patch-field_desc.hh b/java/jlint/files/patch-field_desc.hh
new file mode 100644
index 000000000000..0781d51567c5
--- /dev/null
+++ b/java/jlint/files/patch-field_desc.hh
@@ -0,0 +1,13 @@
+--- field_desc.hh.orig Wed Feb 19 17:20:15 2003
++++ field_desc.hh Wed Feb 19 17:22:10 2003
+@@ -1,10 +1,7 @@
+ #ifndef FIELD_DESC_HH
+ #define FIELD_DESC_HH
+
+-#ifdef VISUAL_CPP
+ using namespace std;
+-#pragma warning (disable : 4786)
+-#endif
+
+ #include "component_desc.hh"
+ #include "utf_string.hh"