diff options
Diffstat (limited to 'net/tightvnc/files')
3 files changed, 34 insertions, 8 deletions
diff --git a/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf b/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf new file mode 100644 index 000000000000..4a749bdf16ef --- /dev/null +++ b/net/tightvnc/files/patch-Xvnc::config::cf::FreeBSD.cf @@ -0,0 +1,23 @@ +--- Xvnc/config/cf/FreeBSD.cf.orig Sun Jun 11 21:00:51 2000 ++++ Xvnc/config/cf/FreeBSD.cf Fri Dec 6 03:21:44 2002 +@@ -49,7 +49,7 @@ + + #define MkdirHierCmd mkdir -p + +-#define CcCmd cc ++#define CcCmd %%CC%% + #define CppCmd /usr/libexec/cpp + #define PreProcessCmd CppCmd + #define StandardCppDefines -traditional +@@ -253,9 +253,9 @@ + #endif + + #ifdef i386Architecture +-# define OptimizedCDebugFlags DefaultGcc2i386Opt ++# define OptimizedCDebugFlags %%CFLAGS%% + #else +-# define OptimizedCDebugFlags -O2 ++# define OptimizedCDebugFlags %%CFLAGS%% + #endif + + #ifndef PreIncDir diff --git a/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c b/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c index 0aebcaa10112..42fc342840c6 100644 --- a/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c +++ b/net/tightvnc/files/patch-Xvnc::programs::Xserver::hw::vnc::sockets.c @@ -8,11 +8,3 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/socket.h> -@@ -491,6 +492,7 @@ - int sock; - int one = 1; - -+ memset(&addr, 0, sizeof(addr)); - addr.sin_family = AF_INET; - addr.sin_port = htons(port); - addr.sin_addr.s_addr = interface.s_addr; diff --git a/net/tightvnc/files/patch-Xvnc::programs::Xserver::os::Imakefile b/net/tightvnc/files/patch-Xvnc::programs::Xserver::os::Imakefile new file mode 100644 index 000000000000..e2c803c61be1 --- /dev/null +++ b/net/tightvnc/files/patch-Xvnc::programs::Xserver::os::Imakefile @@ -0,0 +1,11 @@ +--- Xvnc/programs/Xserver/os/Imakefile.orig Sun Jun 11 21:00:52 2000 ++++ Xvnc/programs/Xserver/os/Imakefile Fri Dec 6 02:53:22 2002 +@@ -135,7 +135,7 @@ + #if defined(SparcArchitecture) && HasGcc && !HasGcc2 + oscolor.o: oscolor.c $(ICONFIGFILES) + $(RM) $@ +- cc -c $(DBM_DEFINES) $(CDEBUGFLAGS) $(ALLDEFINES) $*.c ++ $(CC) -c $(DBM_DEFINES) $(CDEBUGFLAGS) $(ALLDEFINES) $*.c + #else + SpecialCObjectRule(oscolor,$(ICONFIGFILES),$(DBM_DEFINES)) + #endif |