summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2012-08-08 12:52:18 (GMT)
committerJan Rękorajski2012-08-08 12:52:18 (GMT)
commit4a0c769b3a6c7d322a527b5aaf9950684d831ef4 (patch)
tree6bd63e09d7b8cc5a8756f972c7798f5ec6737b87
parent95a3ebef73b0cef058667db4c3565b08fccb98ee (diff)
downloadsplitvt-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.patch14
-rw-r--r--splitvt.spec2
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