diff options
author | Jan Rękorajski | 2012-08-08 12:52:18 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2012-08-08 12:52:18 (GMT) |
commit | 4a0c769b3a6c7d322a527b5aaf9950684d831ef4 (patch) | |
tree | 6bd63e09d7b8cc5a8756f972c7798f5ec6737b87 | |
parent | 95a3ebef73b0cef058667db4c3565b08fccb98ee (diff) | |
download | splitvt-master.zip splitvt-master.tar.gz |
We don't need no fancu socket librariesHEADauto/th/splitvt-1.6.6-2master
Release 2
-rw-r--r-- | split-pld.patch | 14 | ||||
-rw-r--r-- | splitvt.spec | 2 |
2 files changed, 13 insertions, 3 deletions
diff --git a/split-pld.patch b/split-pld.patch index cd343c3..afd549f 100644 --- a/split-pld.patch +++ b/split-pld.patch @@ -1,9 +1,19 @@ diff -ruN splitvt-1.6.5/config.c splitvt-1.6.5.orig/config.c --- splitvt-1.6.5/config.c Sat Jan 13 23:01:09 2001 +++ splitvt-1.6.5.orig/config.c Fri Apr 19 15:03:27 2002 -@@ -169,7 +169,7 @@ - strcat(ldflags, " -lsun"); +@@ -161,17 +161,8 @@ + VERBOSE_PRINT("\tI will use wait4() instead of waitpid().\n"); + } +- if ( exists("/usr/lib", "libnet.a") ) /* Socket routines */ +- strcat(ldflags, " -lnet"); +- if ( exists("/usr/lib", "libnsl.a") ) /* AT&T socket library */ +- strcat(ldflags, " -lnsl"); +- if ( exists("/usr/lib", "libnsl_s.a") ) /* AT&T socket library */ +- strcat(ldflags, " -lnsl_s"); +- if ( exists("/usr/lib", "libsun.a") ) /* IRIX yp routines */ +- strcat(ldflags, " -lsun"); +- /* Tell the user what kind of configuration to do */ - if ( (access("/etc/utmp", (R_OK|W_OK)) == 0) && getuid() ) + if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) diff --git a/splitvt.spec b/splitvt.spec index 5c42c14..df06d01 100644 --- a/splitvt.spec +++ b/splitvt.spec @@ -2,7 +2,7 @@ Summary: A program which splits your terminal into two resizable windows Summary(pl.UTF-8): Program który dzieli konsole na dwa okna Name: splitvt Version: 1.6.6 -Release: 1 +Release: 2 License: GPL Group: Applications/System Source0: http://www.devolution.com/~slouken/projects/splitvt/%{name}-%{version}.tar.gz |