pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tightvnc allow this package to work on sparc / arm...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9843a5f89173
branches: trunk
changeset: 465620:9843a5f89173
user: mrg <mrg%pkgsrc.org@localhost>
date: Sat Jan 03 14:18:57 2004 +0000
description:
allow this package to work on sparc / arm (ELF) platforms. now builds,
but crashes on sparc64 still....
diffstat:
net/tightvnc/distinfo | 6 +++---
net/tightvnc/patches/patch-ab | 40 ++++++++++++++++++++++------------------
net/tightvnc/patches/patch-ak | 4 ++--
3 files changed, 27 insertions(+), 23 deletions(-)
diffs (178 lines):
diff -r 4593e3dd485b -r 9843a5f89173 net/tightvnc/distinfo
--- a/net/tightvnc/distinfo Sat Jan 03 10:48:10 2004 +0000
+++ b/net/tightvnc/distinfo Sat Jan 03 14:18:57 2004 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2003/11/27 17:27:29 abs Exp $
+$NetBSD: distinfo,v 1.9 2004/01/03 14:18:57 mrg Exp $
SHA1 (tightvnc-1.2.9_unixsrc.tar.bz2) = 62b55237676bbdc7f08771e6ff72c0f70264f4ee
Size (tightvnc-1.2.9_unixsrc.tar.bz2) = 1738256 bytes
SHA1 (patch-aa) = 3445af5bc4b85f7a45049378f5806a5c993503f4
-SHA1 (patch-ab) = 1ddbc0fef0f5ea4798537365bafcce15b5698b27
+SHA1 (patch-ab) = b610979131497edae24119961bb56122e9d5a5c4
SHA1 (patch-ac) = 7068947b76270e858c66d1c46a8ebb8675ecdbbd
SHA1 (patch-ad) = 9606ffc253ea40fa03058cf40c4eab447adafa61
SHA1 (patch-ae) = f541c3d7f143145798eb2d3eca3d2a1992619a50
@@ -12,5 +12,5 @@
SHA1 (patch-ah) = 013acd16171cdfdc4b97529af60978afb9b4d861
SHA1 (patch-ai) = c95caf348ad41e2fd0954119d23c17e1c73795af
SHA1 (patch-aj) = bac4b0703f86f10a8a39a2de255694517330af22
-SHA1 (patch-ak) = ad1b7cec677dec76f2808b4c4ddc550749cf0882
+SHA1 (patch-ak) = 71e36559fe55c80382691b6292fa68084f8e7ca1
SHA1 (patch-al) = 4a45378b53b0e550c87ddc0b244b7a03f518bfb4
diff -r 4593e3dd485b -r 9843a5f89173 net/tightvnc/patches/patch-ab
--- a/net/tightvnc/patches/patch-ab Sat Jan 03 10:48:10 2004 +0000
+++ b/net/tightvnc/patches/patch-ab Sat Jan 03 14:18:57 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.2 2003/11/27 17:27:29 abs Exp $
+$NetBSD: patch-ab,v 1.3 2004/01/03 14:18:57 mrg Exp $
---- Xvnc/config/cf/NetBSD.cf.orig 2000-06-11 13:00:51.000000000 +0100
-+++ Xvnc/config/cf/NetBSD.cf
-@@ -2,9 +2,37 @@ XCOMM platform: $XConsortium: NetBSD.cf
+--- Xvnc/config/cf/NetBSD.cf.orig 2000-06-11 12:00:51.000000000 +0000
++++ Xvnc/config/cf/NetBSD.cf 2004-01-03 11:41:23.000000000 +0000
+@@ -2,9 +2,37 @@
@@ -41,7 +41,7 @@
#ifndef OSName
#define OSName DefaultOSName OSBinaryType
#endif
-@@ -14,24 +42,34 @@ XCOMM platform: $XFree86: xc/config/cf/
+@@ -14,24 +42,34 @@
#ifndef OSMinorVersion
#define OSMinorVersion DefaultOSMinorVersion
#endif
@@ -78,7 +78,7 @@
#define HasNdbm YES
#define HasPutenv YES
#define HasSnprintf YES
-@@ -61,7 +99,20 @@ XCOMM operating system: OSName (OSMajor
+@@ -61,7 +99,20 @@
(OSMajorVersion == 1 && OSMinorVersion == 2 && OSTeenyVersion < 2))
# define HasDlsymBug YES
#endif
@@ -100,15 +100,19 @@
#if (!(OSMajorVersion == 0 || \
(OSMajorVersion == 1 && OSMinorVersion < 2)))
#define HasMkstemp YES
-@@ -85,6 +136,7 @@ XCOMM operating system: OSName (OSMajor
+@@ -85,9 +136,10 @@
#define NeedVarargsPrototypes YES
#define NeedWidePrototypes NO
+#define HasMktemp NO
#define MkdirHierCmd mkdir -p
- #define CppCmd /usr/libexec/cpp
-@@ -96,13 +148,15 @@ XCOMM operating system: OSName (OSMajor
+-#define CppCmd /usr/libexec/cpp
++#define CppCmd /usr/bin/cpp
+ #define StandardCppDefines -traditional
+ #define PreProcessCmd CppCmd
+ #define PreIncDir /usr/include
+@@ -96,13 +148,15 @@
#define CcCmd gcc
#if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit)
#define DefaultCCOptions /**/
@@ -125,7 +129,7 @@
/* UseElfFormat defaults to YES if __ELF__ set */
#ifndef UseElfFormat
# ifdef __ELF__
-@@ -114,60 +168,234 @@ XCOMM operating system: OSName (OSMajor
+@@ -114,60 +168,234 @@
#endif
/*
@@ -382,7 +386,7 @@
#endif
#define StandardDefines -DCSRG_BASED
-@@ -177,7 +405,18 @@ XCOMM operating system: OSName (OSMajor
+@@ -177,7 +405,18 @@
#define ExtraLibraries /**/
#endif
#ifndef UseGnuMalloc
@@ -401,7 +405,7 @@
#endif
#ifndef GnuMallocLibrary
#define GnuMallocLibrary -lgnumalloc
-@@ -191,6 +430,13 @@ XCOMM operating system: OSName (OSMajor
+@@ -191,6 +430,13 @@
#endif
#endif
@@ -415,7 +419,7 @@
#define AdmDir /var/log
/*
-@@ -200,8 +446,17 @@ XCOMM operating system: OSName (OSMajor
+@@ -200,8 +446,17 @@
#define StripInstalledPrograms YES
#define CompressAllFonts YES
#define GzipFontCompression YES
@@ -435,7 +439,7 @@
#ifdef InstallCmd
# undef InstallCmd
-@@ -212,11 +467,23 @@ XCOMM operating system: OSName (OSMajor
+@@ -212,11 +467,23 @@
# define ExtraFilesToClean *.core
#endif
@@ -461,7 +465,7 @@
#define EqnCmd eqn -Tps
#define TroffCmd groff -Tps
-@@ -264,7 +531,10 @@ install.man::
+@@ -264,7 +531,10 @@
-@if [ -f file.0 ]; \ @@\
then \ @@\
$(INSTALL) -c $(INSTMANFLAGS) file.0 $(DESTDIR)destdir/dest.0; \@@\
@@ -473,7 +477,7 @@
#define InstallGenManPageLong(file,destdir,dest,suffix) @@\
InstallManPageLong(file,destdir,dest)
-@@ -281,7 +551,16 @@ install.man:: @@\
+@@ -281,7 +551,16 @@
done
#define InstallMultipleMan(list,dest) @@\
@@ -491,7 +495,7 @@
#define InstallManPageAliases(file,destdir,aliases) @@\
install.man:: @@\
-@@ -299,13 +578,10 @@ install.man:: @@\
+@@ -299,13 +578,10 @@
/*
* Shared libraries supported starting in 1.0 on a.out platforms,
* and on all ELF platforms.
@@ -507,7 +511,7 @@
# ifndef HasSharedLibraries
# define HasSharedLibraries YES
# endif
-@@ -327,51 +603,179 @@ install.man:: @@\
+@@ -327,51 +603,179 @@
#include <bsdLib.rules>
#endif /* HasSharedLibraries */
diff -r 4593e3dd485b -r 9843a5f89173 net/tightvnc/patches/patch-ak
--- a/net/tightvnc/patches/patch-ak Sat Jan 03 10:48:10 2004 +0000
+++ b/net/tightvnc/patches/patch-ak Sat Jan 03 14:18:57 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-ak,v 1.1 2003/11/27 17:27:29 abs Exp $
+$NetBSD: patch-ak,v 1.2 2004/01/03 14:18:57 mrg Exp $
--- Xvnc/programs/Xserver/include/servermd.h.orig 2003-02-19 16:39:54.000000000 +0000
+++ Xvnc/programs/Xserver/include/servermd.h
@@ -16,7 +16,7 @@
#endif /* (__s390__ || __s390x__) && linux */
-#if (defined(i386) && (defined(SVR4) || defined(SYSV) || (defined(sun) && defined(SVR4))) || defined(__bsdi__) || (defined(__NetBSD__) && defined(__i386__)) || (defined(__OpenBSD__) &&
defined(__i386__)) || defined(__FreeBSD__) || defined(MACH386) || (defined(linux) && !defined(__mc68000__)) || (defined(AMOEBA) && defined(i80386)) || defined(MINIX) || defined(__EMX__) ||
(defined(Lynx) && defined(__i386__)))
-+#if (defined(i386) && (defined(SVR4) || defined(SYSV) || (defined(sun) && defined(SVR4))) || defined(__bsdi__) || (defined(__NetBSD__) && (defined(__i386__) || defined(__arm32__))) ||
(defined(__OpenBSD__) && defined(__i386__)) || defined(__FreeBSD__) || defined(MACH386) || (defined(linux) && !defined(__mc68000__)) || (defined(AMOEBA) && defined(i80386)) || defined(MINIX) ||
defined(__EMX__) || (defined(Lynx) && defined(__i386__)))
++#if (defined(i386) && (defined(SVR4) || defined(SYSV) || (defined(sun) && defined(SVR4))) || defined(__bsdi__) || (defined(__NetBSD__) && (defined(__i386__) || defined(__arm32__) ||
defined(__arm__))) || (defined(__OpenBSD__) && defined(__i386__)) || defined(__FreeBSD__) || defined(MACH386) || (defined(linux) && !defined(__mc68000__)) || (defined(AMOEBA) && defined(i80386)) ||
defined(MINIX) || defined(__EMX__) || (defined(Lynx) && defined(__i386__)))
#ifndef IMAGE_BYTE_ORDER
#define IMAGE_BYTE_ORDER LSBFirst
Home |
Main Index |
Thread Index |
Old Index