pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/slurm/patches Rest of update of slurm to 0.3.1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1cdd2d39afc9
branches: trunk
changeset: 462855:1cdd2d39afc9
user: cube <cube%pkgsrc.org@localhost>
date: Thu Oct 16 12:55:02 2003 +0000
description:
Rest of update of slurm to 0.3.1.
diffstat:
net/slurm/patches/patch-ac | 13 ++++++
net/slurm/patches/patch-ad | 86 ++++++++++++++++++++++++++++++++++++++++++++++
net/slurm/patches/patch-ae | 13 ++++++
net/slurm/patches/patch-af | 16 ++++++++
4 files changed, 128 insertions(+), 0 deletions(-)
diffs (144 lines):
diff -r aa1cc77e85fd -r 1cdd2d39afc9 net/slurm/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/slurm/patches/patch-ac Thu Oct 16 12:55:02 2003 +0000
@@ -0,0 +1,13 @@
+$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 -r aa1cc77e85fd -r 1cdd2d39afc9 net/slurm/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/slurm/patches/patch-ad Thu Oct 16 12:55:02 2003 +0000
@@ -0,0 +1,86 @@
+$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 -r aa1cc77e85fd -r 1cdd2d39afc9 net/slurm/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/slurm/patches/patch-ae Thu Oct 16 12:55:02 2003 +0000
@@ -0,0 +1,13 @@
+$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 -r aa1cc77e85fd -r 1cdd2d39afc9 net/slurm/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/slurm/patches/patch-af Thu Oct 16 12:55:02 2003 +0000
@@ -0,0 +1,16 @@
+$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
Home |
Main Index |
Thread Index |
Old Index