]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- rel 2 auto/th/rc-scripts-0_4_5_3-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 19 Feb 2012 22:16:29 +0000 (22:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- new and improved glib2 static linking hack

Changed files:
    rc-scripts.spec -> 1.387

rc-scripts.spec

index 75dd990919fd7659e8eb6ae3fcc883c84727cf34..507953e8757cc1271411d4869b25173856681761 100644 (file)
@@ -9,7 +9,7 @@ Summary(pl.UTF-8):      inittab i skrypty startowe z katalogu /etc/rc.d
 Summary(tr.UTF-8):     inittab ve /etc/rc.d dosyaları
 Name:          rc-scripts
 Version:       0.4.5.3
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Base
 #Source0:      ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
@@ -120,9 +120,9 @@ programcıklar içerir.
 %setup -q
 %patch0 -p1
 
-# hack, currently this results -lgcc_s not found error:
+# hack, currently this results in errno@@GLIBC_PRIVATE symbol in ppp-watch:
 #GLIB_LIBS="-Wl,-static `$PKG_CONFIG --libs --static glib-2.0` -Wl,-Bdynamic"
-sed -i -e 's#^GLIB_LIBS=.*#GLIB_LIBS="%{_prefix}/%{_lib}/libglib-2.0.a %{_prefix}/%{_lib}/librt.a"#' configure.ac
+sed -i -e 's#^GLIB_LIBS=.*#GLIB_LIBS="%{_prefix}/%{_lib}/libglib-2.0.a -lrt"#' configure.ac
 
 %build
 %{__aclocal}
This page took 0.07579 seconds and 4 git commands to generate.