1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

The -fno-strict-prototype and -fpermissive flags are no longer

supported by gcc.

Submitted by:	Jos Backus <jos@catnook.com>
This commit is contained in:
Akinori MUSHA 2002-09-18 20:54:56 +00:00
parent 2db52cf753
commit af778ceaff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66639
4 changed files with 0 additions and 44 deletions

View File

@ -1,11 +0,0 @@
--- ext/fox/extconf.rb.orig Fri Mar 22 08:00:40 2002
+++ ext/fox/extconf.rb Fri Mar 22 12:13:55 2002
@@ -129,7 +129,7 @@
find_library("GL", "glXCreateContext", "/usr/X11R6/lib")
find_library("GLU", "gluNewQuadric", "/usr/X11R6/lib")
$libs = append_library($libs, "FOX")
- $CFLAGS = $CFLAGS + "-O0 -Iinclude"
+ $CFLAGS = $CFLAGS + "-O0 -Iinclude -fno-strict-prototype -fpermissive"
if is_scintilla_build?
File.move('scintilla_wrap.cpp.bak', 'scintilla_wrap.cpp') if FileTest.exists?('scintilla_wrap.cpp.bak')
$CFLAGS = $CFLAGS + " -DWITH_FXSCINTILLA"

View File

@ -1,11 +0,0 @@
--- ext/fox/extconf.rb.orig Fri Mar 22 08:00:40 2002
+++ ext/fox/extconf.rb Fri Mar 22 12:13:55 2002
@@ -129,7 +129,7 @@
find_library("GL", "glXCreateContext", "/usr/X11R6/lib")
find_library("GLU", "gluNewQuadric", "/usr/X11R6/lib")
$libs = append_library($libs, "FOX")
- $CFLAGS = $CFLAGS + "-O0 -Iinclude"
+ $CFLAGS = $CFLAGS + "-O0 -Iinclude -fno-strict-prototype -fpermissive"
if is_scintilla_build?
File.move('scintilla_wrap.cpp.bak', 'scintilla_wrap.cpp') if FileTest.exists?('scintilla_wrap.cpp.bak')
$CFLAGS = $CFLAGS + " -DWITH_FXSCINTILLA"

View File

@ -1,11 +0,0 @@
--- ext/fox/extconf.rb.orig Fri Mar 22 08:00:40 2002
+++ ext/fox/extconf.rb Fri Mar 22 12:13:55 2002
@@ -129,7 +129,7 @@
find_library("GL", "glXCreateContext", "/usr/X11R6/lib")
find_library("GLU", "gluNewQuadric", "/usr/X11R6/lib")
$libs = append_library($libs, "FOX")
- $CFLAGS = $CFLAGS + "-O0 -Iinclude"
+ $CFLAGS = $CFLAGS + "-O0 -Iinclude -fno-strict-prototype -fpermissive"
if is_scintilla_build?
File.move('scintilla_wrap.cpp.bak', 'scintilla_wrap.cpp') if FileTest.exists?('scintilla_wrap.cpp.bak')
$CFLAGS = $CFLAGS + " -DWITH_FXSCINTILLA"

View File

@ -1,11 +0,0 @@
--- ext/fox/extconf.rb.orig Fri Mar 22 08:00:40 2002
+++ ext/fox/extconf.rb Fri Mar 22 12:13:55 2002
@@ -129,7 +129,7 @@
find_library("GL", "glXCreateContext", "/usr/X11R6/lib")
find_library("GLU", "gluNewQuadric", "/usr/X11R6/lib")
$libs = append_library($libs, "FOX")
- $CFLAGS = $CFLAGS + "-O0 -Iinclude"
+ $CFLAGS = $CFLAGS + "-O0 -Iinclude -fno-strict-prototype -fpermissive"
if is_scintilla_build?
File.move('scintilla_wrap.cpp.bak', 'scintilla_wrap.cpp') if FileTest.exists?('scintilla_wrap.cpp.bak')
$CFLAGS = $CFLAGS + " -DWITH_FXSCINTILLA"