Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 549552
Collapse All | Expand All

(-)snips-1.2/Configure (-1 / +1 lines)
Lines 274-280 case "$OS" in Link Here
274
		CURSESLIB='-lncurses -ltermcap'
274
		CURSESLIB='-lncurses -ltermcap'
275
		PING="/bin/ping"
275
		PING="/bin/ping"
276
		;; 
276
		;; 
277
  LINUX20|Linux\ 2*)
277
  LINUX20|Linux\ [234]*)
278
		OS_CFLAGS="-DLINUX2";
278
		OS_CFLAGS="-DLINUX2";
279
		OS_LIBS="${LIBRESOLV}"
279
		OS_LIBS="${LIBRESOLV}"
280
		if [ -f /usr/lib/libgdbm.so ]; then
280
		if [ -f /usr/lib/libgdbm.so ]; then
(-)snips-1.2/utility/snipsprog.init (-1 / +1 lines)
Lines 45-51 getpid() { Link Here
45
45
46
    # Finally try to extract it from ps depending on the OS
46
    # Finally try to extract it from ps depending on the OS
47
    case "`uname -s -r`" in
47
    case "`uname -s -r`" in
48
	LINUX20|Linux\ 2*)
48
	LINUX20|Linux\ [234]*)
49
	    ps auxw | awk 'BEGIN { prog=ARGV[1]; dir=ARGV[2]; ARGC=1 } 
49
	    ps auxw | awk 'BEGIN { prog=ARGV[1]; dir=ARGV[2]; ARGC=1 } 
50
		       { if ((prog == $11) || (("(" prog ")") == $11) ||
50
		       { if ((prog == $11) || (("(" prog ")") == $11) ||
51
			    ((prog ":") == $11) || ((dir "/" prog) == $11))
51
			    ((prog ":") == $11) || ((dir "/" prog) == $11))

Return to bug 549552