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 <paulid@student.ethz.ch>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34529 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-12-05 18:04:18 +00:00
parent 12e32d6038
commit 6011943da4
3 changed files with 13 additions and 10 deletions

View File

@ -8,9 +8,9 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libsml PKG_NAME:=libsml
PKG_VERSION:=0.1 PKG_VERSION:=0.2
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_REV:=4e546fb0db0bd4c0a2c3c2f3d29ac0a0ba6651a3 PKG_REV:=550aa8216295ff76076f35ce2eb00872dfd83f8f
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=git://github.com/dailab/libsml.git PKG_SOURCE_URL:=git://github.com/dailab/libsml.git
@ -28,6 +28,9 @@ define Package/libsml
DEPENDS:=+libuuid DEPENDS:=+libuuid
endef endef
MAKE_FLAGS += \
UNAME="Linux"
define Package/libsml/description define Package/libsml/description
libSML is a library which implements the Smart Messaging Language (SML) protocol specified by 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 VDE's Forum Netztechnik/Netzbetrieb (FNN). It can be utilized to communicate to FNN specified

View File

@ -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:

View File

@ -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: