commit 4a0c769b3a6c7d322a527b5aaf9950684d831ef4
Author: Jan Rękorajski <[email protected]>
Date:   Wed Aug 8 14:52:18 2012 +0200

    We don't need no fancu socket libraries
    Release 2

 split-pld.patch | 14 ++++++++++++--
 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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to