summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fox16/files
diff options
context:
space:
mode:
authorlawrance <lawrance@FreeBSD.org>2005-08-01 15:54:16 +0000
committerlawrance <lawrance@FreeBSD.org>2005-08-01 15:54:16 +0000
commit51e8eead499b32d800088df2ea18a00438d59824 (patch)
tree4e69c411162ce3b607f319a07dde6f7528356533 /x11-toolkits/fox16/files
parentd4624404d39d6bcc682237d0b27d372df53af739 (diff)
downloadFreeBSD-ports-51e8eead499b32d800088df2ea18a00438d59824.zip
FreeBSD-ports-51e8eead499b32d800088df2ea18a00438d59824.tar.gz
Add fox12, fast and extensive C++ GUI toolkit -- ver.1.2.
PR: ports/84230 Submitted by: Alexander Novitsky <alecn2002@yandex.ru>
Diffstat (limited to 'x11-toolkits/fox16/files')
-rw-r--r--x11-toolkits/fox16/files/patch-configure11
-rw-r--r--x11-toolkits/fox16/files/patch-src_FXFile.cpp29
-rw-r--r--x11-toolkits/fox16/files/patch-utils_Makefile.in11
3 files changed, 51 insertions, 0 deletions
diff --git a/x11-toolkits/fox16/files/patch-configure b/x11-toolkits/fox16/files/patch-configure
new file mode 100644
index 0000000..cd0f667
--- /dev/null
+++ b/x11-toolkits/fox16/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Tue Feb 4 18:33:38 2003
++++ configure Tue Feb 4 18:34:51 2003
+@@ -7498,7 +7498,7 @@
+ if test "x$enable_release" = "xyes" ; then
+ CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG"
+ if test "${GXX}" = "yes" ; then
+-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
++CXXFLAGS="${CXXFLAGS} -Wuninitialized"
+ fi
+ fi
+
diff --git a/x11-toolkits/fox16/files/patch-src_FXFile.cpp b/x11-toolkits/fox16/files/patch-src_FXFile.cpp
new file mode 100644
index 0000000..1edb77d
--- /dev/null
+++ b/x11-toolkits/fox16/files/patch-src_FXFile.cpp
@@ -0,0 +1,29 @@
+--- src/FXFile.cpp.orig Fri Apr 16 23:25:33 2004
++++ src/FXFile.cpp Sat May 22 13:13:48 2004
+@@ -159,7 +159,7 @@
+ // Get home directory for a given user
+ FXString FXFile::getUserDirectory(const FXString& user){
+ #ifndef WIN32
+-#ifdef FOX_THREAD_SAFE
++#if defined(FOX_THREAD_SAFE) && !defined(__FreeBSD__)
+ struct passwd pwdresult,*pwd;
+ char buffer[1024];
+ if(user.empty()){
+@@ -1032,7 +1032,7 @@
+ FXString FXFile::owner(FXuint uid){
+ FXchar result[64];
+ #ifndef WIN32
+-#ifdef FOX_THREAD_SAFE
++#if defined(FOX_THREAD_SAFE) && !defined(__FreeBSD__)
+ struct passwd pwdresult,*pwd;
+ char buffer[1024];
+ if(getpwuid_r(uid,&pwdresult,buffer,sizeof(buffer),&pwd)==0 && pwd) return pwd->pw_name;
+@@ -1050,7 +1050,7 @@
+ FXString FXFile::group(FXuint gid){
+ FXchar result[64];
+ #ifndef WIN32
+-#ifdef FOX_THREAD_SAFE
++#if defined(FOX_THREAD_SAFE) && !defined(__FreeBSD__)
+ ::group grpresult;
+ ::group *grp;
+ char buffer[1024];
diff --git a/x11-toolkits/fox16/files/patch-utils_Makefile.in b/x11-toolkits/fox16/files/patch-utils_Makefile.in
new file mode 100644
index 0000000..ea447c9
--- /dev/null
+++ b/x11-toolkits/fox16/files/patch-utils_Makefile.in
@@ -0,0 +1,11 @@
+--- utils/Makefile.in.orig Sun Aug 15 11:30:45 2004
++++ utils/Makefile.in Sun Aug 15 11:30:55 2004
+@@ -106,7 +106,7 @@
+ DEFS = @DEFS@ -I. -I$(srcdir)
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lX11 -lXext
+ X_CFLAGS = @X_CFLAGS@
+ X_LIBS = @X_LIBS@
+ X_EXTRA_LIBS = @X_EXTRA_LIBS@
OpenPOWER on IntegriCloud