summaryrefslogtreecommitdiff
path: root/net/slurm/patches
diff options
context:
space:
mode:
authorben <ben>2004-10-14 16:27:17 +0000
committerben <ben>2004-10-14 16:27:17 +0000
commit4e71c1874aeca19fc6bcb2df906d574edc4432ff (patch)
treee11cd3683550c55dbb2c99a6206b3767f6127edc /net/slurm/patches
parent99086d3d69e766c3bdf41b1bd2c5ca826eafc9c8 (diff)
downloadpkgsrc-4e71c1874aeca19fc6bcb2df906d574edc4432ff.tar.gz
Update slurm to version 0.3.3. Addresses PR#27248. Changes include:
* update config.* to allow configure run on DragonFly BSD (i386 only) * README: minor OS updates * os.h: allow compilation on Sun Forte CC systems again * theme.c: (theme_readfile): remove NOTICE error * themes/black.theme: new theme * use better CPP magic to detect OS features * allow compilation on a few OpenBSD systems again * add validinterface() check on Mac OS X * remove version name from OS for 'darwin' aka Mac OS X * s/VERSION/PACKAGE_VERSION/ * major config subsystem replacement * mv THEMES THEMES.txt (welcome to Mac OS X :)) * add support for pre 4.5-RELEASE FreeBSD (tested on 4.2-REL :)) * FAQ: added Linux media Q/A * README: s/raisdorf/wormulon/ * slurm.1: s/raisdorf/wormulon/, added -L option * slurm.c: (slurm_shutdown): s/raisdorf/wormulon/ * slurm.spec: s/raisdorf/wormulon/ * theme.c: (theme_readfile): added -D__Debian__ to search for themes in /usr/share rather than /usr/local/share * add -L switch to enable LED * reduce overhead in upcoming NetBSD port upgrade * slurm.spec: initial specfile based on 0.2.3
Diffstat (limited to 'net/slurm/patches')
-rw-r--r--net/slurm/patches/patch-ac13
-rw-r--r--net/slurm/patches/patch-ad86
-rw-r--r--net/slurm/patches/patch-ae13
-rw-r--r--net/slurm/patches/patch-af16
4 files changed, 0 insertions, 128 deletions
diff --git a/net/slurm/patches/patch-ac b/net/slurm/patches/patch-ac
deleted file mode 100644
index 06adca49c29..00000000000
--- a/net/slurm/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2003/10/16 12:55:02 cube Exp $
-
---- configure.in.orig 2003-09-08 23:23:22.000000000 +0200
-+++ configure.in
-@@ -30,7 +30,7 @@ AC_SUBST(VERSION)
- AC_CHECK_LIB(kstat, kstat_open, SOLLIBS="-lkstat -lsocket", SOLLIBS="")
- AC_SUBST(SOLLIBS)
-
--AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses"; CFLAGS="$CFLAGS -D_HAVE_NCURSES", AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses"; CFLAGS="$CFLAGS -D_HAVE_CURSES"; echo "NO TRANSPARENCY SUPPORT (install ncurses if you want it)!"))
-+AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses"; CFLAGS="$CFLAGS -D_HAVE_CURSES", AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses"; CFLAGS="$CFLAGS -D_HAVE_NCURSES"; echo "NO TRANSPARENCY SUPPORT (install ncurses if you want it)!"))
- AC_CHECK_LIB(fridge, vanilla_coke, echo "WTF?!", echo "Warning: No vanilla coke found in fridge.";echo "We highly suggest that you rectify this situation immediatly.")
-
- AC_CONFIG_HEADER(config.h)
diff --git a/net/slurm/patches/patch-ad b/net/slurm/patches/patch-ad
deleted file mode 100644
index 3ddb1be795d..00000000000
--- a/net/slurm/patches/patch-ad
+++ /dev/null
@@ -1,86 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2003/10/16 12:55:02 cube Exp $
-
---- configure.orig 2003-09-08 23:23:21.000000000 +0200
-+++ configure
-@@ -4009,13 +4009,13 @@ fi
-
-
-
--echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
--echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
--if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
-+echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
-+echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
-+if test "${ac_cv_lib_curses_initscr+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lncurses $LIBS"
-+LIBS="-lcurses $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
-@@ -4053,27 +4053,27 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-- ac_cv_lib_ncurses_initscr=yes
-+ ac_cv_lib_curses_initscr=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
--ac_cv_lib_ncurses_initscr=no
-+ac_cv_lib_curses_initscr=no
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
--echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
--if test $ac_cv_lib_ncurses_initscr = yes; then
-- LIBS="$LIBS -lncurses"; CFLAGS="$CFLAGS -D_HAVE_NCURSES"
-+echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
-+echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
-+if test $ac_cv_lib_curses_initscr = yes; then
-+ LIBS="$LIBS -lcurses"; CFLAGS="$CFLAGS -D_HAVE_CURSES"
- else
-- echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
--echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
--if test "${ac_cv_lib_curses_initscr+set}" = set; then
-+ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
-+echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
-+if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lcurses $LIBS"
-+LIBS="-lncurses $LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- #line $LINENO "configure"
- #include "confdefs.h"
-@@ -4111,19 +4111,19 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
-- ac_cv_lib_curses_initscr=yes
-+ ac_cv_lib_ncurses_initscr=yes
- else
- echo "$as_me: failed program was:" >&5
- cat conftest.$ac_ext >&5
--ac_cv_lib_curses_initscr=no
-+ac_cv_lib_ncurses_initscr=no
- fi
- rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
- LIBS=$ac_check_lib_save_LIBS
- fi
--echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
--echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
--if test $ac_cv_lib_curses_initscr = yes; then
-- LIBS="$LIBS -lcurses"; CFLAGS="$CFLAGS -D_HAVE_CURSES"; echo "NO TRANSPARENCY SUPPORT (install ncurses if you want it)!"
-+echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
-+echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
-+if test $ac_cv_lib_ncurses_initscr = yes; then
-+ LIBS="$LIBS -lncurses"; CFLAGS="$CFLAGS -D_HAVE_NCURSES"; echo "NO TRANSPARENCY SUPPORT (install ncurses if you want it)!"
- fi
-
- fi
diff --git a/net/slurm/patches/patch-ae b/net/slurm/patches/patch-ae
deleted file mode 100644
index 80d250de340..00000000000
--- a/net/slurm/patches/patch-ae
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2003/10/16 12:55:02 cube Exp $
-
---- theme.c.orig 2003-07-09 18:45:37.000000000 +0200
-+++ theme.c
-@@ -69,7 +69,7 @@ int theme_readfile(theme *t, char *name)
- if ((f = fopen(filename, "r")) == NULL)
- {
- bzero(&filename, BUFSIZ);
-- snprintf(filename, BUFSIZ, "/usr/local/share/slurm/%s.theme", name);
-+ snprintf(filename, BUFSIZ, "@PREFIX@/share/slurm/%s.theme", name);
- if ((f = fopen(filename, "r")) == NULL)
- error(ERR_FATAL, "cannot find theme '%s'", name);
- }
diff --git a/net/slurm/patches/patch-af b/net/slurm/patches/patch-af
deleted file mode 100644
index 085c3a659d0..00000000000
--- a/net/slurm/patches/patch-af
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-af,v 1.1 2003/10/16 12:55:02 cube Exp $
-
---- Makefile.in.orig 2003-09-08 23:23:21.000000000 +0200
-+++ Makefile.in
-@@ -7,9 +7,9 @@ LDFLAGS = @LDFLAGS@
- all: slurm-bin
-
- slurm-bin: slurm.c
-- $(CC) $(CFLAGS) -DVERSION='$(VERSION)' slurm.c $(LIBS) -o slurm
-+ $(CC) $(CFLAGS) $(LDFLAGS) -DVERSION='$(VERSION)' slurm.c $(LIBS) -o slurm
- debug: slurm.c
-- $(CC) $(CFLAGS) -Wall -DVERSION='$(VERSION)' slurm.c $(LIBS) -o slurm
-+ $(CC) $(CFLAGS) $(LDFLAGS) -Wall -DVERSION='$(VERSION)' slurm.c $(LIBS) -o slurm
-
- clean:
- rm -f slurm slurm.o src/*.o