[OpenWrt-Devel] Patch for new package systemd-udev needed for compilation modemmanager daemon

2013-02-23 Thread Rusink Rusinkoff
Hi!

I've tried to compile new package modemmanager placed  by Aleksander
Morado (http://patchwork.openwrt.org/patch/3287/),
and faced to this problem

lsudev.c:20:25: fatal error: gudev/gudev.h: No such file or directory
compilation terminated.
make[5]: *** [lsudev-lsudev.o] Error 1

Modemmanager depends on another new package systemd-udev  placed by
Aleksander Morado (http://patchwork.openwrt.org/patch/3285/
http://patchwork.openwrt.org/patch/3286/ ). So here is my patch for
systemd-udev/Makefile, solving problem with modemmanager compilation:

diff -ru a/utils/systemd-udev/Makefile b/utils/systemd-udev/Makefile
--- a/packages/utils/systemd-udev/Makefile  2013-02-13 22:04:00.0 
+0400
+++ b/packages/utils/systemd-udev/Makefile  2013-02-22 12:47:25.783069741 
+0400
@@ -115,6 +115,9 @@

 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/include/gudev-1.0/gudev \
+   $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/libudev.h $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/share/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/udev.pc 
$(1)/usr/share/pkgconfig


Best Regards

Rusink
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] Patch for new package systemd-udev needed for compilation modemmanager daemon (Corrected)

2013-02-23 Thread Rusink Rusinkoff
Hi!

I've tried to compile new package modemmanager placed  by Aleksander
Morgado (http://patchwork.openwrt.org/patch/3287/),
and faced to this problem

lsudev.c:20:25: fatal error: gudev/gudev.h: No such file or directory
compilation terminated.
make[5]: *** [lsudev-lsudev.o] Error 1

Modemmanager depends on another new package systemd-udev  placed by
Aleksander Morgado (http://patchwork.openwrt.org/patch/3285/
http://patchwork.openwrt.org/patch/3286/ ). So here is my patch for
systemd-udev/Makefile, solving problem with modemmanager compilation:

diff -ru a/utils/systemd-udev/Makefile b/utils/systemd-udev/Makefile
--- a/packages/utils/systemd-udev/Makefile  2013-02-13 22:04:00.0 
+0400
+++ b/packages/utils/systemd-udev/Makefile  2013-02-22 12:47:25.783069741 
+0400
@@ -115,6 +115,9 @@

 define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
+   $(CP) \
+   $(PKG_INSTALL_DIR)/usr/include/gudev-1.0/gudev \
+   $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/libudev.h $(1)/usr/include
$(INSTALL_DIR) $(1)/usr/share/pkgconfig
$(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/udev.pc 
$(1)/usr/share/pkgconfig



I've made mistacke in previous letter ( in surname Aleksander Morgado)
that's correct version

Best Regards

Rusink
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel