1 |
ssuominen 12/10/31 20:12:50 |
2 |
|
3 |
Added: xfce4-cellmodem-plugin-0.0.5-build.patch |
4 |
Log: |
5 |
Remove sys-libs/zlib requirement because we are using shared libpci instead of static libpci so inheriting the libraries (NEEDED entries) work. |
6 |
|
7 |
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-build.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-build.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/xfce-extra/xfce4-cellmodem-plugin/files/xfce4-cellmodem-plugin-0.0.5-build.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: xfce4-cellmodem-plugin-0.0.5-build.patch |
16 |
=================================================================== |
17 |
--- configure.ac |
18 |
+++ configure.ac |
19 |
@@ -14,6 +14,7 @@ |
20 |
AC_PROG_INTLTOOL |
21 |
AC_GNU_SOURCE |
22 |
AC_HEADER_STDC |
23 |
+AC_PROG_MKDIR_P |
24 |
|
25 |
AC_CHECK_FUNCS([vasprintf]) |
26 |
|
27 |
@@ -33,14 +34,6 @@ |
28 |
echo "> Not using debug" |
29 |
fi |
30 |
|
31 |
-# PCI library needs libz. |
32 |
- |
33 |
-AC_CHECK_HEADER([zlib.h], |
34 |
-AC_CHECK_LIB(z,inflate, |
35 |
-LIBS="$LIBS -lz" |
36 |
-) |
37 |
-) |
38 |
- |
39 |
AC_CHECK_HEADER([pci/pci.h], |
40 |
AC_CHECK_LIB(pci,pci_alloc, |
41 |
AC_DEFINE(HAVE_PCIUTILS,[1],[Use pci utils to discover devices]) |
42 |
--- po/Makefile.in.in |
43 |
+++ po/Makefile.in.in |
44 |
@@ -37,9 +37,9 @@ |
45 |
itlocaledir = $(prefix)/$(DATADIRNAME)/locale |
46 |
subdir = po |
47 |
install_sh = @install_sh@ |
48 |
-# Automake >= 1.8 provides @mkdir_p@. |
49 |
+# Automake >= 1.8 provides @MKDIR_P@. |
50 |
# Until it can be supposed, use the safe fallback: |
51 |
-mkdir_p = $(install_sh) -d |
52 |
+MKDIR_P = $(install_sh) -d |
53 |
|
54 |
INSTALL = @INSTALL@ |
55 |
INSTALL_DATA = @INSTALL_DATA@ |
56 |
@@ -98,7 +98,7 @@ |
57 |
install-data: install-data-@USE_NLS@ |
58 |
install-data-no: all |
59 |
install-data-yes: all |
60 |
- $(mkdir_p) $(DESTDIR)$(itlocaledir) |
61 |
+ $(MKDIR_P) $(DESTDIR)$(itlocaledir) |
62 |
if test -n "$(PO_LINGUAS)"; then \ |
63 |
linguas="$(PO_LINGUAS)"; \ |
64 |
else \ |
65 |
@@ -106,7 +106,7 @@ |
66 |
fi; \ |
67 |
for lang in $$linguas; do \ |
68 |
dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ |
69 |
- $(mkdir_p) $$dir; \ |
70 |
+ $(MKDIR_P) $$dir; \ |
71 |
if test -r $$lang.gmo; then \ |
72 |
$(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ |
73 |
echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ |