summaryrefslogtreecommitdiff
path: root/misc/root/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-09-24 06:34:04 +0000
committerwiz <wiz@pkgsrc.org>2022-09-24 06:34:04 +0000
commit50260233a6410ff52dba71e21fe506306bd1636b (patch)
treed1f2eacd7348977684a32b1ce7f88d78c1bec184 /misc/root/patches
parentec830396fdef0bf1a2f364eaa3d4042adedd8f85 (diff)
downloadpkgsrc-50260233a6410ff52dba71e21fe506306bd1636b.tar.gz
root: remove
Does not build in any bulk build I could find, no users in pkgsrc
Diffstat (limited to 'misc/root/patches')
-rw-r--r--misc/root/patches/patch-aa81
-rw-r--r--misc/root/patches/patch-ab13
-rw-r--r--misc/root/patches/patch-ac13
-rw-r--r--misc/root/patches/patch-ad23
-rw-r--r--misc/root/patches/patch-ae13
-rw-r--r--misc/root/patches/patch-af13
-rw-r--r--misc/root/patches/patch-ag13
-rw-r--r--misc/root/patches/patch-ah47
-rw-r--r--misc/root/patches/patch-ai13
-rw-r--r--misc/root/patches/patch-aj12
-rw-r--r--misc/root/patches/patch-ak13
-rw-r--r--misc/root/patches/patch-al17
-rw-r--r--misc/root/patches/patch-am85
-rw-r--r--misc/root/patches/patch-an15
-rw-r--r--misc/root/patches/patch-ba12
-rw-r--r--misc/root/patches/patch-bb14
-rw-r--r--misc/root/patches/patch-bc13
-rw-r--r--misc/root/patches/patch-bd14
-rw-r--r--misc/root/patches/patch-be13
-rw-r--r--misc/root/patches/patch-bf13
-rw-r--r--misc/root/patches/patch-bg13
-rw-r--r--misc/root/patches/patch-bh13
-rw-r--r--misc/root/patches/patch-bi13
-rw-r--r--misc/root/patches/patch-bj13
-rw-r--r--misc/root/patches/patch-ca16
-rw-r--r--misc/root/patches/patch-graf2d_asimage_src_libAfterImage_export.c13
-rw-r--r--misc/root/patches/patch-graf2d_asimage_src_libAfterImage_import.c22
27 files changed, 0 insertions, 553 deletions
diff --git a/misc/root/patches/patch-aa b/misc/root/patches/patch-aa
deleted file mode 100644
index b6c869b2554..00000000000
--- a/misc/root/patches/patch-aa
+++ /dev/null
@@ -1,81 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- core/unix/src/TUnixSystem.cxx.orig 2010-02-11 13:20:16.000000000 +0000
-+++ core/unix/src/TUnixSystem.cxx
-@@ -60,7 +60,7 @@
- #if defined(R__AIX) || defined(R__LINUX) || defined(R__ALPHA) || \
- defined(R__SGI) || defined(R__HIUX) || defined(R__FBSD) || \
- defined(R__OBSD) || defined(R__LYNXOS) || defined(R__MACOSX) || \
-- defined(R__HURD)
-+ defined(R__HURD) || defined(__NetBSD__)
- # include <sys/ioctl.h>
- #endif
- #if defined(R__AIX) || defined(R__SOLARIS)
-@@ -86,8 +86,12 @@
- # include <sys/param.h>
- # include <sys/mount.h>
- #else
-+#ifdef __NetBSD__
-+#include <sys/statvfs.h>
-+#else
- # include <sys/statfs.h>
- #endif
-+#endif
-
- #include <utime.h>
- #include <syslog.h>
-@@ -182,7 +186,7 @@
- #elif defined(R__GLIBC) || defined(R__FBSD) || \
- (defined(R__SUNGCC3) && defined(__arch64__)) || \
- defined(R__OBSD) || defined(MAC_OS_X_VERSION_10_4) || \
-- (defined(R__AIX) && defined(_AIX43))
-+ (defined(R__AIX) && defined(_AIX43)) || defined(__NetBSD__)
- # define USE_SOCKLEN_T
- #endif
-
-@@ -543,6 +547,7 @@ void TUnixSystem::SetProgname(const char
- //______________________________________________________________________________
- void TUnixSystem::SetDisplay()
- {
-+#if 0
- // Set DISPLAY environment variable based on utmp entry. Only for UNIX.
-
- if (!Getenv("DISPLAY")) {
-@@ -583,6 +588,7 @@ void TUnixSystem::SetDisplay()
- free(gUtmpContents);
- }
- }
-+#endif
- }
-
- //______________________________________________________________________________
-@@ -3822,7 +3828,11 @@ int TUnixSystem::UnixFSstat(const char *
- // The function returns 0 in case of success and 1 if the file system could
- // not be stat'ed.
-
-+#ifdef __NetBSD__
-+ struct statvfs statfsbuf;
-+#else
- struct statfs statfsbuf;
-+#endif
- #if defined(R__SGI) || (defined(R__SOLARIS) && !defined(R__LINUX))
- if (statfs(path, &statfsbuf, sizeof(struct statfs), 0) == 0) {
- *id = statfsbuf.f_fstyp;
-@@ -3830,6 +3840,9 @@ int TUnixSystem::UnixFSstat(const char *
- *blocks = statfsbuf.f_blocks;
- *bfree = statfsbuf.f_bfree;
- #else
-+#ifdef __NetBSD__
-+ if (statvfs((char*)path, &statfsbuf) == 0) {
-+#else
- if (statfs((char*)path, &statfsbuf) == 0) {
- #ifdef R__OBSD
- // Convert BSD filesystem names to Linux filesystem type numbers
-@@ -3856,6 +3869,7 @@ int TUnixSystem::UnixFSstat(const char *
- #else
- *id = statfsbuf.f_type;
- #endif
-+#endif
- *bsize = statfsbuf.f_bsize;
- *blocks = statfsbuf.f_blocks;
- *bfree = statfsbuf.f_bavail;
diff --git a/misc/root/patches/patch-ab b/misc/root/patches/patch-ab
deleted file mode 100644
index cad0114334f..00000000000
--- a/misc/root/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- net/auth/src/TAuthenticate.cxx.orig 2006-05-26 17:05:03.000000000 +0200
-+++ net/auth/src/TAuthenticate.cxx
-@@ -47,7 +47,7 @@
- #include <sys/types.h>
- #include <time.h>
- #if !defined(R__WIN32) && !defined(R__MACOSX) && !defined(R__FBSD) && \
-- !defined(R__OBSD)
-+ !defined(R__OBSD) && !defined(__NetBSD__)
- #include <crypt.h>
- #endif
- #ifdef WIN32
diff --git a/misc/root/patches/patch-ac b/misc/root/patches/patch-ac
deleted file mode 100644
index c2554fea987..00000000000
--- a/misc/root/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- core/base/inc/RConfig.h.orig 2006-05-26 17:38:48.000000000 +0200
-+++ core/base/inc/RConfig.h
-@@ -272,7 +272,7 @@
- # define NEED_SNPRINTF
- #endif
-
--#if defined(__FreeBSD__)
-+#if defined(__FreeBSD__) || defined (__NetBSD__)
- # define R__FBSD
- # define R__UNIX
- # define R__BYTESWAP
diff --git a/misc/root/patches/patch-ad b/misc/root/patches/patch-ad
deleted file mode 100644
index f51da3ba2fb..00000000000
--- a/misc/root/patches/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- io/io/src/TMapFile.cxx.orig 2006-05-26 17:50:02.000000000 +0200
-+++ io/io/src/TMapFile.cxx
-@@ -104,7 +104,7 @@
- #include <sys/sem.h>
- #if defined(R__HPUX) || (defined (R__ALPHA) && !defined(R__FBSD)) || \
- defined (R__SOLARIS) || defined(R__AIX) || defined(R__HIUX) || \
-- __GLIBC_MINOR__ > 0
-+ __GLIBC_MINOR__ > 0 || defined(__NetBSD__)
- union semun {
- int val; // value for SETVAL
- struct semid_ds *buf; // buffer for IPC_STAT & IPC_SET
-@@ -760,8 +760,7 @@ void TMapFile::CreateSemaphore(int pid)
- #ifdef HAVE_SEMOP
- #ifndef WIN32
- // create semaphore to synchronize access (should use read/write lock)
-- fSemaphore = semget(IPC_PRIVATE, 1, SEM_R|SEM_A|(SEM_R>>3)|(SEM_A>>3)|
-- (SEM_R>>6)|(SEM_A>>6));
-+ fSemaphore = semget(IPC_PRIVATE, 1, 0);
-
- // set semaphore to 1
- if (fSemaphore != -1) {
diff --git a/misc/root/patches/patch-ae b/misc/root/patches/patch-ae
deleted file mode 100644
index e7185febb54..00000000000
--- a/misc/root/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- montecarlo/eg/inc/cfortran.h.orig 2010-02-11 13:20:42.000000000 +0000
-+++ montecarlo/eg/inc/cfortran.h
-@@ -150,7 +150,7 @@ only C calling FORTRAN subroutines will
- #if !(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran)||defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran)||defined(CRAYFortran))
- #if !(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran))
- /* If no Fortran compiler is given, we choose one for the machines we know. */
--#if defined(lynx) || defined(VAXUltrix)
-+#if defined(lynx) || defined(VAXUltrix) || defined(__NetBSD__)
- #define f2cFortran /* Lynx: Only support f2c at the moment.
- VAXUltrix: f77 behaves like f2c.
- Support f2c or f77 with gcc, vcc with f2c.
diff --git a/misc/root/patches/patch-af b/misc/root/patches/patch-af
deleted file mode 100644
index af424670022..00000000000
--- a/misc/root/patches/patch-af
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-af,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- net/rpdutils/src/rpdutils.cxx.orig 2006-05-26 19:20:46.000000000 +0200
-+++ net/rpdutils/src/rpdutils.cxx
-@@ -70,7 +70,7 @@ extern "C" int ruserok(const char *, int
- extern "C" int fstatfs(int file_descriptor, struct statfs *buffer);
- #elif defined(linux) || defined(__hpux)
- #include <sys/vfs.h>
--#elif defined(__FreeBSD__) || defined(__OpenBSD__)
-+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
- #include <sys/param.h>
- #include <sys/mount.h>
- #else
diff --git a/misc/root/patches/patch-ag b/misc/root/patches/patch-ag
deleted file mode 100644
index acf83812975..00000000000
--- a/misc/root/patches/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ag,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- rootx/src/rootx.cxx.orig 2010-02-11 13:20:47.000000000 +0000
-+++ rootx/src/rootx.cxx
-@@ -48,7 +48,7 @@
-
- #if (defined(__alpha) && !defined(__linux)) || defined(_AIX) || \
- defined(__FreeBSD__) || defined(__Lynx__) || defined(__OpenBSD__) || \
-- (defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5))
-+ (defined(__APPLE__) && !defined(MAC_OS_X_VERSION_10_5)) || defined(__NetBSD__)
- #define UTMP_NO_ADDR
- #endif
-
diff --git a/misc/root/patches/patch-ah b/misc/root/patches/patch-ah
deleted file mode 100644
index f27e217cc68..00000000000
--- a/misc/root/patches/patch-ah
+++ /dev/null
@@ -1,47 +0,0 @@
-$NetBSD: patch-ah,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- net/rootd/src/rootd.cxx.orig 2006-05-26 19:22:55.000000000 +0200
-+++ net/rootd/src/rootd.cxx
-@@ -242,7 +242,7 @@ extern "C" int fstatfs(int file_descript
- extern "C" int fstatfs(int file_descriptor, struct statfs *buffer);
- #elif defined(linux) || defined(__hpux) || defined(cygwingcc)
- #include <sys/vfs.h>
--#elif defined(__FreeBSD__) || defined(__OpenBSD__)
-+#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
- #include <sys/param.h>
- #include <sys/mount.h>
- #else
-@@ -251,7 +251,7 @@ extern "C" int fstatfs(int file_descript
-
- #if defined(linux) || defined(__hpux) || defined(_AIX) || defined(__alpha) || \
- defined(__sun) || defined(__sgi) || defined(__FreeBSD__) || \
-- defined(__APPLE__) || defined(cygwingcc) || defined(__OpenBSD__)
-+ defined(__APPLE__) || defined(cygwingcc) || defined(__OpenBSD__) || defined(__NetBSD__)
- #define HAVE_MMAP
- #endif
-
-@@ -293,7 +293,7 @@ static int fcntl_lockf(int fd, int op, o
-
- #if defined(linux) || defined(__sun) || defined(__sgi) || \
- defined(_AIX) || defined(__FreeBSD__) || defined(__APPLE__) || \
-- defined(__MACH__) || defined(cygwingcc) || defined(__OpenBSD__)
-+ defined(__MACH__) || defined(cygwingcc) || defined(__OpenBSD__) || defined(__NetBSD__)
- #include <grp.h>
- #include <sys/types.h>
- #include <signal.h>
-@@ -1369,6 +1369,7 @@ void RootdPutFile(const char *msg)
- }
- }
-
-+#if 0
- // check file system space
- if (strcmp(gFile, "/dev/null")) {
- struct statfs statfsbuf;
-@@ -1386,6 +1387,7 @@ void RootdPutFile(const char *msg)
- }
- }
- }
-+#endif
-
- // seek to restartat position
- if (restartat) {
diff --git a/misc/root/patches/patch-ai b/misc/root/patches/patch-ai
deleted file mode 100644
index eb35fad2e92..00000000000
--- a/misc/root/patches/patch-ai
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- net/rpdutils/src/daemon.cxx.orig 2006-05-26 19:23:53.000000000 +0200
-+++ net/rpdutils/src/daemon.cxx
-@@ -212,7 +212,7 @@ out:
- #elif defined(__sun)
- sigignore(SIGCHLD);
- #else
-- signal(SIGCLD, SIG_IGN);
-+ signal(SIGCHLD, SIG_IGN);
- #endif
- #endif
- }
diff --git a/misc/root/patches/patch-aj b/misc/root/patches/patch-aj
deleted file mode 100644
index 70669569b95..00000000000
--- a/misc/root/patches/patch-aj
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aj,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- config/ARCHS.orig 2010-02-11 13:20:59.000000000 +0000
-+++ config/ARCHS
-@@ -27,6 +27,7 @@ macosx for MacOS X >= 10.4
- macosxicc for MacOS X >= 10.4 with Intel icc (Intel only)
- macosx64 for MacOS X >= 10.5 with gcc 4.0 64 bit mode
- macosxxlc for MacOS X >= 10.4 with IBM xl compilers (PPC only)
-+netbsd for NetBSD
- openbsd for OpenBSD >= 3.7 with gcc
- sgicc for SGI IRIX 6.x with CC
- sgicc64 for SGI IRIX 6.x with CC 64 bits
diff --git a/misc/root/patches/patch-ak b/misc/root/patches/patch-ak
deleted file mode 100644
index 3581ae3a4fc..00000000000
--- a/misc/root/patches/patch-ak
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ak,v 1.3 2010/02/26 10:56:38 drochner Exp $
-
---- core/clib/src/Getline.c.orig 2006-05-26 22:33:35.000000000 +0200
-+++ core/clib/src/Getline.c
-@@ -331,7 +331,7 @@ static void search_forw(int s);
- #endif /* WIN32 */
-
- #if defined(_AIX) || defined(__Lynx__) || defined(__APPLE__) || \
-- defined(__OpenBSD__)
-+ defined(__OpenBSD__) || defined(__NetBSD__)
- #define unix
- #endif
-
diff --git a/misc/root/patches/patch-al b/misc/root/patches/patch-al
deleted file mode 100644
index be6203c0f40..00000000000
--- a/misc/root/patches/patch-al
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-al,v 1.2 2006/05/27 12:38:27 drochner Exp $
-
---- config/root-config.in.orig 2006-05-26 22:50:42.000000000 +0200
-+++ config/root-config.in
-@@ -276,6 +276,12 @@ freebsd5)
- auxcflags=
- auxlibs="-lm -lstdc++"
- ;;
-+netbsd)
-+ # NetBSD with libc
-+ auxcflags=
-+ auxlibs="-lm -lstdc++"
-+ rootlibs="${rootlibs} -Wl,-R${libdir}"
-+ ;;
- openbsd)
- # OpenBSD with libc
- auxcflags=
diff --git a/misc/root/patches/patch-am b/misc/root/patches/patch-am
deleted file mode 100644
index d6d69697e19..00000000000
--- a/misc/root/patches/patch-am
+++ /dev/null
@@ -1,85 +0,0 @@
-$NetBSD: patch-am,v 1.5 2011/12/15 18:51:43 dholland Exp $
-
---- configure.orig 2010-02-11 13:21:10.000000000 +0000
-+++ configure
-@@ -1680,7 +1680,7 @@ if test ! "x$platform" = "xwin32"; then
- check_library "libX11" "yes" "$x11libdir" \
- /usr/lib /usr/X11R6/lib /usr/lib/X11 /usr/openwin/lib \
- /usr/local/lib /usr/local/lib/X11 /usr/local/X11R6/lib \
-- /usr/X11/lib /usr/lib/X11R5
-+ /usr/X11/lib /usr/lib/X11R5 ${X11BASE}/lib
- x11libdir=$found_dir
-
- if test "x$found_lib" = "x" ; then
-@@ -1691,7 +1691,7 @@ if test ! "x$platform" = "xwin32"; then
- check_header "X11/Xlib.h" "" \
- /usr/include /usr/X11R6/include /usr/include/X11 /usr/openwin/include \
- /usr/local/include /usr/local/include/X11 /usr/local/X11R6/include \
-- /usr/X11/include /usr/include/X11R5
-+ /usr/X11/include /usr/include/X11R5 ${X11BASE}/include
-
- if test "x$found_dir" = "x" ; then
- result "`basename $0`: X11 headers (package x11-devel) MUST be installed"
-@@ -1701,7 +1701,7 @@ if test ! "x$platform" = "xwin32"; then
- check_header "X11/Xft/Xft.h" "" \
- /usr/include /usr/X11R6/include /usr/include/X11 /usr/openwin/include \
- /usr/local/include /usr/local/include/X11 /usr/local/X11R6/include \
-- /usr/X11/include /usr/include/X11R5
-+ /usr/X11/include /usr/include/X11R5 ${X11BASE}/include
-
- if test "x$found_dir" = "x" ; then
- result "`basename $0`: Xft headers (libxft-devel) MUST be installed"
-@@ -1711,7 +1711,7 @@ if test ! "x$platform" = "xwin32"; then
- check_header "X11/extensions/shape.h" "" \
- /usr/include /usr/X11R6/include /usr/include/X11 /usr/openwin/include \
- /usr/local/include /usr/local/include/X11 /usr/local/X11R6/include \
-- /usr/X11/include /usr/include/X11R5
-+ /usr/X11/include /usr/include/X11R5 ${X11BASE}/include
-
- if test "x$found_dir" = "x" ; then
- result "`basename $0`: X11/extensions/shape.h header (xorg-x11-proto-devel) MUST be installed"
-@@ -1721,7 +1721,7 @@ if test ! "x$platform" = "xwin32"; then
- check_library "libXpm" "$enable_shared" "$xpmlibdir" \
- $XPM $XPM/lib /usr/local/lib /usr/lib /usr/lib/X11 \
- /usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \
-- /usr/X11/lib
-+ /usr/X11/lib ${X11BASE}/lib
- xpmlib=$found_lib
- xpmlibdir=$found_dir
-
-@@ -1733,7 +1733,7 @@ if test ! "x$platform" = "xwin32"; then
- check_library "libXft" "$enable_shared" "" \
- /usr/local/lib /usr/lib /usr/lib/X11 \
- /usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \
-- /usr/X11/lib
-+ /usr/X11/lib ${X11BASE}/lib
-
- if test "x$found_lib" = "x" ; then
- result "`basename $0`: libXft (libxft-devel) MUST be installed"
-@@ -1743,7 +1743,7 @@ if test ! "x$platform" = "xwin32"; then
- check_library "libXext" "$enable_shared" "" \
- /usr/local/lib /usr/lib /usr/lib/X11 \
- /usr/local/lib/X11 /usr/X11R6/lib /usr/local/X11R6/lib \
-- /usr/X11/lib
-+ /usr/X11/lib ${X11BASE}/lib
-
- if test "x$found_lib" = "x" ; then
- result "`basename $0`: libXext (libXext-devel) MUST be installed"
-@@ -2040,7 +2040,7 @@ if test ! "x$enable_opengl" = "xno" && t
- /usr/local/X11R6/include /usr/local/include \
- /usr/include/Mesa /usr/local/include/Mesa /usr/Mesa/include \
- /usr/local/Mesa/include /usr/Mesa /usr/local/Mesa /opt/Mesa \
-- /opt/Mesa/include /opt/graphics/OpenGL/include"
-+ /opt/Mesa/include /opt/graphics/OpenGL/include ${LOCALBASE}/include"
- check_header "GL/gl.h" "$openglincdir" $openglincdirs
- openglinc=$found_hdr
- openglincdir=$found_dir
-@@ -2049,7 +2049,7 @@ if test ! "x$enable_opengl" = "xno" && t
- /usr/X11R6/lib /usr/local/lib/X11 /usr/local/X11R6/lib \
- /usr/X11/lib /usr/lib/Mesa /usr/local/lib/Mesa /usr/Mesa/lib \
- /usr/local/Mesa/lib /usr/Mesa /usr/local/Mesa /opt/Mesa \
-- /opt/Mesa/lib /opt/graphics/OpenGL/lib"
-+ /opt/Mesa/lib /opt/graphics/OpenGL/lib ${X11BASE}/lib ${LOCALBASE}/lib"
-
- keep=$opengllibdir
- check_library "libGL libMesaGL" "$enable_shared" \
diff --git a/misc/root/patches/patch-an b/misc/root/patches/patch-an
deleted file mode 100644
index aeac3f09fd6..00000000000
--- a/misc/root/patches/patch-an
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-an,v 1.2 2010/02/26 10:56:38 drochner Exp $
-
---- graf3d/gl/Module.mk.orig 2010-02-11 13:20:45.000000000 +0000
-+++ graf3d/gl/Module.mk
-@@ -38,8 +38,8 @@ GLH1 := $(MODDIRI)/gl2ps.h $(MOD
- GLH2 := $(filter-out $(GLH1), $(GLH))
-
- ifneq ($(OPENGLLIB),)
--GLLIBS := $(OPENGLLIBDIR) $(OPENGLULIB) $(OPENGLLIB) \
-- $(X11LIBDIR) -lX11 -lm
-+GLLIBS := $(OPENGLLIBDIR) $(OPENGLULIB) $(OPENGLLIB) -Wl,-R${LOCALBASE}/lib \
-+ $(X11LIBDIR) -lX11 -lm -Wl,-R${X11BASE}/lib
- endif
- ifeq ($(ARCH),win32)
- GLLIBS := opengl32.lib glu32.lib
diff --git a/misc/root/patches/patch-ba b/misc/root/patches/patch-ba
deleted file mode 100644
index e07c66e1fda..00000000000
--- a/misc/root/patches/patch-ba
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2010/02/26 10:56:38 drochner Exp $
-
---- core/editline/src/rlcurses.h.orig 2010-02-25 15:12:02.000000000 +0000
-+++ core/editline/src/rlcurses.h
-@@ -30,6 +30,7 @@ extern "C" {
- // conflicts with the system one:
- # ifndef _TERMCAP_H
- # include <termcap.h>
-+# include <term.h>
- # endif
- int setupterm(const char* term, int fd, int* perrcode);
- }
diff --git a/misc/root/patches/patch-bb b/misc/root/patches/patch-bb
deleted file mode 100644
index 1a71235bda0..00000000000
--- a/misc/root/patches/patch-bb
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-bb,v 1.1 2010/02/26 10:56:38 drochner Exp $
-
---- core/editline/src/readline.cxx.orig 2010-02-25 15:13:11.000000000 +0000
-+++ core/editline/src/readline.cxx
-@@ -54,9 +54,6 @@
- #include <stdlib.h>
- #include <unistd.h>
- #include <limits.h>
--#ifndef __FreeBSD__
--#include <alloca.h>
--#endif // __FreeBSD__
- #include "histedit.h"
- // #include "readline/readline.h"
- #include "editline.h"
diff --git a/misc/root/patches/patch-bc b/misc/root/patches/patch-bc
deleted file mode 100644
index e7c672843fd..00000000000
--- a/misc/root/patches/patch-bc
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-bc,v 1.1 2010/02/26 10:56:38 drochner Exp $
-
---- cint/cint/lib/posix/posix.h.orig 2010-02-11 13:20:33.000000000 +0000
-+++ cint/cint/lib/posix/posix.h
-@@ -283,7 +283,7 @@ extern int setpgrp(pid_t _pid,pid_t _pgr
- #endif
- #elif (defined(G__SUN) || defined(__sun)) && !defined(__x86_64)
- extern long setpgrp(void);
--#elif defined(G__FBSD)||defined(__FreeBSD__)||defined(G__OBSD)||defined(__OpenBSD__)||((defined(G__alpha)||defined(__alpha))&&(defined(G__GNUC) || defined(G__LINUX) || defined(__linux__)))||((defined(G__alpha)||defined(__alpha))&&defined(G__GNUC))
-+#elif defined(G__FBSD)||defined(__FreeBSD__)||defined(G__OBSD)||defined(__OpenBSD__)||((defined(G__alpha)||defined(__alpha))&&(defined(G__GNUC) || defined(G__LINUX) || defined(__linux__)))||((defined(G__alpha)||defined(__alpha))&&defined(G__GNUC)) || defined(__NetBSD__) || defined(G__NBSD)
- extern int setpgrp(pid_t _pid, pid_t _pgrp);
- #elif defined(G__KCC) || defined(__KCC)
- extern pid_t setpgrp(void);
diff --git a/misc/root/patches/patch-bd b/misc/root/patches/patch-bd
deleted file mode 100644
index 6febc69a0de..00000000000
--- a/misc/root/patches/patch-bd
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-bd,v 1.1 2010/02/26 10:56:38 drochner Exp $
-
---- cint/cint/src/init.cxx.orig 2010-02-25 15:46:10.000000000 +0000
-+++ cint/cint/src/init.cxx
-@@ -2094,6 +2094,9 @@ void G__platformMacro()
- #ifdef __FreeBSD__ /* FreeBSD */
- G__DEFINE_MACRO_N(__FreeBSD__, "G__FBSD");
- #endif
-+#ifdef __NetBSD__
-+ G__DEFINE_MACRO_N(__NetBSD__, "G__NBSD");
-+#endif
- #ifdef __OpenBSD__ /* OpenBSD */
- G__DEFINE_MACRO_N(__OpenBSD__, "G__OBSD");
- #endif
diff --git a/misc/root/patches/patch-be b/misc/root/patches/patch-be
deleted file mode 100644
index 094b50eaf98..00000000000
--- a/misc/root/patches/patch-be
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-be,v 1.1 2010/02/26 10:56:38 drochner Exp $
-
---- cint/cint/src/DataMbr.cxx.orig 2010-02-25 16:10:17.000000000 +0000
-+++ cint/cint/src/DataMbr.cxx
-@@ -234,6 +234,8 @@ int Cint::G__DataMemberInfo::MaxIndex(in
- else {
- // -- For first dimension divide number of elements by stride.
- // Note: This may be zero, if this is not an array!
-+ if (!var->varlabel[index][0])
-+ return -1;
- return var->varlabel[index][1] /* num of elements*/ / var->varlabel[index][0] /* stride */;
- }
- }
diff --git a/misc/root/patches/patch-bf b/misc/root/patches/patch-bf
deleted file mode 100644
index d1e404abc25..00000000000
--- a/misc/root/patches/patch-bf
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-bf,v 1.1 2010/02/26 10:56:39 drochner Exp $
-
---- montecarlo/vmc/inc/TMCProcess.h.orig 2010-02-25 16:51:41.000000000 +0000
-+++ montecarlo/vmc/inc/TMCProcess.h
-@@ -81,7 +81,7 @@ enum TMCProcess
- kPNoProcess // unknown process
- };
-
--static const char * const TMCProcessName[kMaxMCProcess] = {
-+static const char * const TMCProcessName[45] = {
- "Primary particle emission",
- "Multiple scattering",
- "Energy loss",
diff --git a/misc/root/patches/patch-bg b/misc/root/patches/patch-bg
deleted file mode 100644
index 84f139c4c9f..00000000000
--- a/misc/root/patches/patch-bg
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-bg,v 1.1 2010/02/26 10:56:39 drochner Exp $
-
---- graf3d/ftgl/src/FTVectoriser.cxx.orig 2010-02-25 17:26:18.000000000 +0000
-+++ graf3d/ftgl/src/FTVectoriser.cxx
-@@ -7,7 +7,7 @@
-
- #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER)
- typedef GLvoid (*GLUTesselatorFunction)(...);
--#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__)
-+#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__NetBSD__)
- typedef GLvoid (*GLUTesselatorFunction)();
- #elif defined ( WIN32)
- typedef GLvoid (CALLBACK *GLUTesselatorFunction)( );
diff --git a/misc/root/patches/patch-bh b/misc/root/patches/patch-bh
deleted file mode 100644
index bf8ac4388cf..00000000000
--- a/misc/root/patches/patch-bh
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-bh,v 1.1 2010/02/26 10:56:39 drochner Exp $
-
---- graf3d/gl/src/TGLPadUtils.cxx.orig 2010-02-25 17:28:38.000000000 +0000
-+++ graf3d/gl/src/TGLPadUtils.cxx
-@@ -531,7 +531,7 @@ Small RAII class for GLU tesselator.
- extern "C" {
- #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER)
- typedef GLvoid (*tess_t)(...);
--#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__)
-+#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__NetBSD__)
- typedef GLvoid (*tess_t)();
- #elif defined ( WIN32)
- typedef GLvoid (CALLBACK *tess_t)( );
diff --git a/misc/root/patches/patch-bi b/misc/root/patches/patch-bi
deleted file mode 100644
index 31217493ce6..00000000000
--- a/misc/root/patches/patch-bi
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-bi,v 1.1 2010/02/26 10:56:39 drochner Exp $
-
---- graf3d/gl/src/TGLUtil.cxx.orig 2010-02-25 17:30:18.000000000 +0000
-+++ graf3d/gl/src/TGLUtil.cxx
-@@ -1354,7 +1354,7 @@ Float_t TGLUtil::fgLineWidthScale = 1.0f
- extern "C" {
- #if defined(__APPLE_CC__) && __APPLE_CC__ > 4000 && __APPLE_CC__ < 5450 && !defined(__INTEL_COMPILER)
- typedef GLvoid (*tessfuncptr_t)(...);
--#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__)
-+#elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__) || defined (__APPLE__) || defined(__NetBSD__)
- typedef GLvoid (*tessfuncptr_t)();
- #elif defined ( WIN32)
- typedef GLvoid (CALLBACK *tessfuncptr_t)( );
diff --git a/misc/root/patches/patch-bj b/misc/root/patches/patch-bj
deleted file mode 100644
index c0970279645..00000000000
--- a/misc/root/patches/patch-bj
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-bj,v 1.1 2010/02/26 10:56:39 drochner Exp $
-
---- misc/minicern/src/cernlib.c.orig 2010-02-25 18:17:20.000000000 +0000
-+++ misc/minicern/src/cernlib.c
-@@ -185,7 +185,7 @@ int cfstati_(char *fname, int *info, int
- info[4] = (int) buf.st_uid;
- info[5] = (int) buf.st_gid;
- info[6] = (int) buf.st_size;
--#if defined(__APPLE__) || defined(__FreeBSD__)
-+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
- info[7] = (int) buf.st_atimespec.tv_sec;
- info[8] = (int) buf.st_mtimespec.tv_sec;
- info[9] = (int) buf.st_ctimespec.tv_sec;
diff --git a/misc/root/patches/patch-ca b/misc/root/patches/patch-ca
deleted file mode 100644
index 84de05b96ec..00000000000
--- a/misc/root/patches/patch-ca
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ca,v 1.1 2010/02/26 10:56:39 drochner Exp $
-
---- config/Makefile.netbsd.orig 2010-02-25 20:17:41.000000000 +0000
-+++ config/Makefile.netbsd
-@@ -38,9 +38,9 @@ CILIBS = -lm -ltermcap -lstdc++
- CRYPTLIBS = -lcrypt
-
- # Fortran:
--F77 = f77
-+F77 = /usr/pkg/gcc3/bin/g77
- F77FLAGS = $(OPT)
--F77LIBS = -lg2c
-+F77LIBS = -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -lg2c
-
- # Extras
-
diff --git a/misc/root/patches/patch-graf2d_asimage_src_libAfterImage_export.c b/misc/root/patches/patch-graf2d_asimage_src_libAfterImage_export.c
deleted file mode 100644
index 2573906a0e4..00000000000
--- a/misc/root/patches/patch-graf2d_asimage_src_libAfterImage_export.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-graf2d_asimage_src_libAfterImage_export.c,v 1.1 2011/12/23 01:17:54 joerg Exp $
-
---- graf2d/asimage/src/libAfterImage/export.c.orig 2011-12-22 22:02:37.000000000 +0000
-+++ graf2d/asimage/src/libAfterImage/export.c
-@@ -491,7 +491,7 @@ ASImage2png_int ( ASImage *im, void *dat
- png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL );
- if ( png_ptr != NULL )
- if( (info_ptr = png_create_info_struct(png_ptr)) != NULL )
-- if( setjmp(png_ptr->jmpbuf) )
-+ if( setjmp(png_jmpbuf(png_ptr)) )
- {
- png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr);
- info_ptr = NULL ;
diff --git a/misc/root/patches/patch-graf2d_asimage_src_libAfterImage_import.c b/misc/root/patches/patch-graf2d_asimage_src_libAfterImage_import.c
deleted file mode 100644
index 7cd58e3ce82..00000000000
--- a/misc/root/patches/patch-graf2d_asimage_src_libAfterImage_import.c
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-graf2d_asimage_src_libAfterImage_import.c,v 1.1 2011/12/23 01:17:54 joerg Exp $
-
---- graf2d/asimage/src/libAfterImage/import.c.orig 2011-12-22 22:05:04.000000000 +0000
-+++ graf2d/asimage/src/libAfterImage/import.c
-@@ -1251,7 +1251,7 @@ png2ASImage_int( void *data, png_rw_ptr
- * the normal method of doing things with libpng). REQUIRED unless you
- * set up your own error handlers in the png_create_read_struct() earlier.
- */
-- if ( !setjmp (png_ptr->jmpbuf))
-+ if ( !setjmp (png_jmpbuf(png_ptr)))
- {
- ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ;
-
-@@ -1468,7 +1468,7 @@ typedef struct ASImPNGReadBuffer
-
- static void asim_png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
- {
-- ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_ptr->io_ptr;
-+ ASImPNGReadBuffer *buf = png_get_io_ptr(png_ptr);
- memcpy(data, buf->buffer, length);
- buf->buffer += length;
- }