From 6011943da4119e40012d58f441ce9d6efca65933 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 5 Dec 2012 18:04:18 +0000 Subject: [PATCH] libsml: update to 0.2 This patch updates the libsml package to the latest revision. The current revision of the libsml package is outdated for 7 months. Meanwhile, the developers of libsml provided various bug fixes, notably to support big-endian machines correctly. [florian: pass UNAME directly from the Makefiel] Signed-off-by: Daniel Pauli Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/packages@34529 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libsml/Makefile | 7 +++++-- libs/libsml/patches/030-cross-compile.patch | 8 -------- libs/libsml/patches/030-cross_compile.patch | 8 ++++++++ 3 files changed, 13 insertions(+), 10 deletions(-) delete mode 100644 libs/libsml/patches/030-cross-compile.patch create mode 100644 libs/libsml/patches/030-cross_compile.patch diff --git a/libs/libsml/Makefile b/libs/libsml/Makefile index 32ff60f07..b1649f7ca 100644 --- a/libs/libsml/Makefile +++ b/libs/libsml/Makefile @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsml -PKG_VERSION:=0.1 +PKG_VERSION:=0.2 PKG_RELEASE:=1 -PKG_REV:=4e546fb0db0bd4c0a2c3c2f3d29ac0a0ba6651a3 +PKG_REV:=550aa8216295ff76076f35ce2eb00872dfd83f8f PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=git://github.com/dailab/libsml.git @@ -28,6 +28,9 @@ define Package/libsml DEPENDS:=+libuuid endef +MAKE_FLAGS += \ + UNAME="Linux" + define Package/libsml/description libSML is a library which implements the Smart Messaging Language (SML) protocol specified by VDE's Forum Netztechnik/Netzbetrieb (FNN). It can be utilized to communicate to FNN specified diff --git a/libs/libsml/patches/030-cross-compile.patch b/libs/libsml/patches/030-cross-compile.patch deleted file mode 100644 index c7dcc22ea..000000000 --- a/libs/libsml/patches/030-cross-compile.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- a/sml/Makefile -+++ b/sml/Makefile -@@ -1,4 +1,4 @@ --UNAME := $(shell uname) -+UNAME := Linux - CFLAGS += -I./include/ -fPIC -g -Wall - - # Available Flags: diff --git a/libs/libsml/patches/030-cross_compile.patch b/libs/libsml/patches/030-cross_compile.patch new file mode 100644 index 000000000..6e3301439 --- /dev/null +++ b/libs/libsml/patches/030-cross_compile.patch @@ -0,0 +1,8 @@ +--- a/sml/Makefile 2012-12-05 18:54:49.000000000 +0100 ++++ b/sml/Makefile 2012-12-05 19:01:26.347952235 +0100 +@@ -1,4 +1,4 @@ +-UNAME := $(shell uname) ++UNAME ?= $(shell uname) + CFLAGS += -I./include/ -fPIC -fno-stack-protector -g -Wall + + # Available Flags: