diff options
| -rw-r--r-- | meta/recipes-extended/slang/slang/fix-uclibc.patch | 11 | ||||
| -rw-r--r-- | meta/recipes-extended/slang/slang_2.2.4.bb (renamed from meta/recipes-extended/slang/slang_2.2.2.bb) | 18 |
2 files changed, 10 insertions, 19 deletions
diff --git a/meta/recipes-extended/slang/slang/fix-uclibc.patch b/meta/recipes-extended/slang/slang/fix-uclibc.patch deleted file mode 100644 index c2b8225d07..0000000000 --- a/meta/recipes-extended/slang/slang/fix-uclibc.patch +++ /dev/null | |||
| @@ -1,11 +0,0 @@ | |||
| 1 | --- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200 | ||
| 2 | +++ slang-2.1.3.orig/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200 | ||
| 3 | @@ -191,7 +191,7 @@ | ||
| 4 | return p; | ||
| 5 | } | ||
| 6 | |||
| 7 | -#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) | ||
| 8 | +#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__) | ||
| 9 | extern int __libc_enable_secure; | ||
| 10 | # define HAVE___LIBC_ENABLE_SECURE 1 | ||
| 11 | #endif | ||
diff --git a/meta/recipes-extended/slang/slang_2.2.2.bb b/meta/recipes-extended/slang/slang_2.2.4.bb index 29d9e46d51..2b000a4088 100644 --- a/meta/recipes-extended/slang/slang_2.2.2.bb +++ b/meta/recipes-extended/slang/slang_2.2.4.bb | |||
| @@ -10,23 +10,25 @@ to recode S-Lang procedures in C if you need to." | |||
| 10 | SECTION = "libs" | 10 | SECTION = "libs" |
| 11 | PRIORITY = "optional" | 11 | PRIORITY = "optional" |
| 12 | DEPENDS = "pcre" | 12 | DEPENDS = "pcre" |
| 13 | PR = "r2" | 13 | PR = "r5" |
| 14 | 14 | ||
| 15 | LICENSE = "GPL Artistic" | 15 | LICENSE = "GPLv2" |
| 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 16 | LIC_FILES_CHKSUM = "file://COPYING;md5=a52a18a472d4f7e45479b06563717c02" |
| 17 | 17 | ||
| 18 | 18 | ||
| 19 | SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/OLD/slang-${PV}.tar.bz2 \ | 19 | SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2 \ |
| 20 | file://fix-uclibc.patch" | 20 | " |
| 21 | 21 | ||
| 22 | inherit autotools | 22 | inherit autotools |
| 23 | 23 | ||
| 24 | SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03" | 24 | SRC_URI[md5sum] = "7fcfd447e378f07dd0c0bae671fe6487" |
| 25 | SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42" | 25 | SRC_URI[sha256sum] = "9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db" |
| 26 | 26 | ||
| 27 | EXTRA_OECONF += " --x-includes=${STAGING_DIR_HOST}/usr/X11/include" | 27 | EXTRA_OECONF += " --without-png" |
| 28 | do_install() { | 28 | do_install() { |
| 29 | oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib' | 29 | oe_runmake install DESTDIR=${D} -e 'INST_LIB_DIR=${STAGING_DIR_HOST}/usr/lib' |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | FILES_${PN} += "${datadir}/slsh/" | 32 | FILES_${PN} += "${datadir}/slsh/" |
| 33 | |||
| 34 | PARALLEL_MAKE = "" | ||
