diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/kodi/Makefile | 5 | ||||
-rw-r--r-- | package/kodi/files/kodi.init | 2 | ||||
-rw-r--r-- | package/tmsnc/patches/patch-config_status | 232 |
3 files changed, 5 insertions, 234 deletions
diff --git a/package/kodi/Makefile b/package/kodi/Makefile index c7fb2413c..88751241a 100644 --- a/package/kodi/Makefile +++ b/package/kodi/Makefile @@ -10,7 +10,7 @@ PKG_HASH:= c8312fe92e5bab1cdac1da93d60baed88fa1574146c50c44e3c86d01671c2b1d PKG_DESCR:= software media player PKG_SECTION:= mm/video PKG_DEPENDS:= python2 libsquish libressl libxz -PKG_DEPENDS+= libass libmpeg2 libmad libiconv +PKG_DEPENDS+= libass libmpeg2 libmad PKG_DEPENDS+= libogg libvorbis libmodplug libcurl PKG_DEPENDS+= libflac libbz2 libtiff libnettle librtmp liblzo PKG_DEPENDS+= yajl tinyxml libsqlite libpcrecpp libncurses @@ -103,6 +103,9 @@ pre-configure: $(STAGING_HOST_DIR)/usr/bin kodi-install: + # we need a symlink to /data + $(INSTALL_DIR) $(IDIR_KODI)/root + cd $(IDIR_KODI)/root && ln -sf ../data/kodi .kodi $(INSTALL_DIR) $(IDIR_KODI)/usr/lib/kodi/addons $(CP) $(WRKINST)/usr/lib/kodi/* \ $(IDIR_KODI)/usr/lib/kodi diff --git a/package/kodi/files/kodi.init b/package/kodi/files/kodi.init index 8d5e95d41..6e92cc234 100644 --- a/package/kodi/files/kodi.init +++ b/package/kodi/files/kodi.init @@ -15,7 +15,7 @@ start) if [ ! -d /data/kodi ]; then mkdir /data/kodi fi - LD_LIBRARY_PATH=/opt/vc/lib /usr/lib/kodi/kodi.bin & + /usr/lib/kodi/kodi.bin & ;; stop) kill $(pgrep -f /usr/lib/kodi/kodi.bin) diff --git a/package/tmsnc/patches/patch-config_status b/package/tmsnc/patches/patch-config_status deleted file mode 100644 index 42973cc70..000000000 --- a/package/tmsnc/patches/patch-config_status +++ /dev/null @@ -1,232 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- tmsnc-0.3.2.orig/config.status 2006-10-17 13:14:22.000000000 +0200 -+++ tmsnc-0.3.2/config.status 2012-07-26 13:54:39.000000000 +0200 -@@ -1,4 +1,4 @@ --#! /bin/sh -+#! /bin/bash - # Generated by configure. - # Run this file to recreate the current configuration. - # Compiler output produced by configure, useful for debugging -@@ -7,7 +7,7 @@ - debug=false - ac_cs_recheck=false - ac_cs_silent=false --SHELL=${CONFIG_SHELL-/bin/sh} -+SHELL=${CONFIG_SHELL-/bin/bash} - ## --------------------- ## - ## M4sh Initialization. ## - ## --------------------- ## -@@ -321,16 +321,16 @@ Report bugs to <bug-autoconf@gnu.org>." - - ac_cs_version="\ - config.status --configured by ./configure, generated by GNU Autoconf 2.60a, -- with options \"\" -+configured by /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure, generated by GNU Autoconf 2.60a, -+ with options \"'--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG'\" - - Copyright (C) 2006 Free Software Foundation, Inc. - This config.status script is free software; the Free Software Foundation - gives unlimited permission to copy, distribute and modify it." - --ac_pwd='/home/jonas/tmsnc' -+ac_pwd='/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2' - srcdir='.' --INSTALL='/usr/bin/install -c' -+INSTALL='/Volumes/adk/openadk/scripts/install -c' - # If no file are specified by the user, then we need to provide default - # value. By we need to know if files were specified by the user. - ac_need_defaults=: -@@ -396,10 +396,10 @@ if $ac_cs_silent; then - fi - - if $ac_cs_recheck; then -- echo "running CONFIG_SHELL=/bin/sh /bin/sh ./configure " $ac_configure_extra_args " --no-create --no-recursion" >&6 -- CONFIG_SHELL=/bin/sh -+ echo "running CONFIG_SHELL=/bin/bash /bin/bash /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure " '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args " --no-create --no-recursion" >&6 -+ CONFIG_SHELL=/bin/bash - export CONFIG_SHELL -- exec /bin/sh "./configure" $ac_configure_extra_args --no-create --no-recursion -+ exec /bin/bash "/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/configure" '--build=i686-apple-darwin10' '--host=mipsel-openadk-linux' '--target=mipsel-openadk-linux' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--bindir=/usr/bin' '--datadir=/usr/share' '--mandir=/usr/share/man' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sysconfdir=/etc' '--enable-shared' '--enable-static' '--disable-dependency-tracking' '--disable-libtool-lock' '--disable-nls' '--with-libiconv-prefix=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-openssl=/Volumes/adk/openadk/target_mipsel_uclibc/usr' '--with-ncurses=/Volumes/adk/openadk/target_mipsel_uclibc' 'build_alias=i686-apple-darwin10' 'host_alias=mipsel-openadk-linux' 'target_alias=mipsel-openadk-linux' 'CC=/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc' 'CFLAGS=-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe' 'LDFLAGS=-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl,-O2 -Wl,-rpath -Wl,/usr/lib -Wl,-rpath-link -Wl,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib' 'CPPFLAGS=-DNDEBUG' $ac_configure_extra_args --no-create --no-recursion - fi - - exec 5>>config.log -@@ -414,7 +414,7 @@ _ASBOX - # - # INIT-COMMANDS - # --AMDEP_TRUE="" ac_aux_dir="." -+AMDEP_TRUE="#" ac_aux_dir="." - - - # Handling of arguments. -@@ -484,7 +484,7 @@ if test -n "$CONFIG_FILES"; then - - cat >"$tmp/subs-1.sed" <<\CEOF - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b --s,@SHELL@,|#_!!_#|/bin/sh,g -+s,@SHELL@,|#_!!_#|/bin/bash,g - s,@PATH_SEPARATOR@,|#_!!_#|:,g - s,@PACKAGE_NAME@,|#_!!_#|,g - s,@PACKAGE_TARNAME@,|#_!!_#|,g -@@ -492,16 +492,16 @@ s,@PACKAGE_VERSION@,|#_!!_#|,g - s,@PACKAGE_STRING@,|#_!!_#|,g - s,@PACKAGE_BUGREPORT@,|#_!!_#|,g - s,@exec_prefix@,|#_!!_#|${prefix},g --s,@prefix@,|#_!!_#|/usr/local,g --s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g --s,@bindir@,|#_!!_#|${exec_prefix}/bin,g -+s,@prefix@,|#_!!_#|/usr,g -+s,@program_transform_name@,|#_!!_#|s\&$$\&\&;s\&^\&\&,g -+s,@bindir@,|#_!!_#|/usr/bin,g - s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g --s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g -+s,@libexecdir@,|#_!!_#|/usr/libexec,g - s,@datarootdir@,|#_!!_#|${prefix}/share,g --s,@datadir@,|#_!!_#|${datarootdir},g --s,@sysconfdir@,|#_!!_#|${prefix}/etc,g -+s,@datadir@,|#_!!_#|/usr/share,g -+s,@sysconfdir@,|#_!!_#|/etc,g - s,@sharedstatedir@,|#_!!_#|${prefix}/com,g --s,@localstatedir@,|#_!!_#|${prefix}/var,g -+s,@localstatedir@,|#_!!_#|/var,g - s,@includedir@,|#_!!_#|${prefix}/include,g - s,@oldincludedir@,|#_!!_#|/usr/include,g - s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE},g -@@ -512,15 +512,15 @@ s,@pdfdir@,|#_!!_#|${docdir},g - s,@psdir@,|#_!!_#|${docdir},g - s,@libdir@,|#_!!_#|${exec_prefix}/lib,g - s,@localedir@,|#_!!_#|${datarootdir}/locale,g --s,@mandir@,|#_!!_#|${datarootdir}/man,g -+s,@mandir@,|#_!!_#|/usr/share/man,g - s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g - s,@ECHO_C@,|#_!!_#|,g - s,@ECHO_N@,|#_!!_#|-n,g - s,@ECHO_T@,|#_!!_#|,g - s,@LIBS@,|#_!!_#|,g --s,@build_alias@,|#_!!_#|,g --s,@host_alias@,|#_!!_#|,g --s,@target_alias@,|#_!!_#|,g -+s,@build_alias@,|#_!!_#|i686-apple-darwin10,g -+s,@host_alias@,|#_!!_#|mipsel-openadk-linux,g -+s,@target_alias@,|#_!!_#|mipsel-openadk-linux,g - s,@tmsnc_VERSION@,|#_!!_#|0.3.2,g - s,@INSTALL_PROGRAM@,|#_!!_#|${INSTALL},g - s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g -@@ -528,56 +528,56 @@ s,@INSTALL_DATA@,|#_!!_#|${INSTALL} -m 6 - s,@CYGPATH_W@,|#_!!_#|echo,g - s,@PACKAGE@,|#_!!_#|tmsnc,g - s,@VERSION@,|#_!!_#|0.3.2,g --s,@ACLOCAL@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run aclocal-1.9,g --s,@AUTOCONF@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run autoconf,g --s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run automake-1.9,g --s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run autoheader,g --s,@MAKEINFO@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run makeinfo,g --s,@install_sh@,|#_!!_#|/home/jonas/tmsnc/install-sh,g --s,@STRIP@,|#_!!_#|,g -+s,@ACLOCAL@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run aclocal-1.9,g -+s,@AUTOCONF@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoconf,g -+s,@AUTOMAKE@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run automake-1.9,g -+s,@AUTOHEADER@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run autoheader,g -+s,@MAKEINFO@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run makeinfo,g -+s,@install_sh@,|#_!!_#|/Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/install-sh,g -+s,@STRIP@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-strip,g - s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|${SHELL} $(install_sh) -c -s,g --s,@mkdir_p@,|#_!!_#|mkdir -p --,g --s,@AWK@,|#_!!_#|mawk,g -+s,@mkdir_p@,|#_!!_#|$(mkinstalldirs),g -+s,@AWK@,|#_!!_#|gawk,g - s,@SET_MAKE@,|#_!!_#|,g - s,@am__leading_dot@,|#_!!_#|.,g --s,@AMTAR@,|#_!!_#|${SHELL} /home/jonas/tmsnc/missing --run tar,g -+s,@AMTAR@,|#_!!_#|${SHELL} /Volumes/adk/openadk/build_qemu_mipsel_uclibc/w-tmsnc-0.3.2-1/tmsnc-0.3.2/missing --run tar,g - s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g - s,@am__untar@,|#_!!_#|${AMTAR} xf -,g --s,@CC@,|#_!!_#|gcc,g --s,@CFLAGS@,|#_!!_#|-g -O2,g --s,@LDFLAGS@,|#_!!_#|,g --s,@CPPFLAGS@,|#_!!_#|,g --s,@ac_ct_CC@,|#_!!_#|gcc,g -+s,@CC@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc,g -+s,@CFLAGS@,|#_!!_#|-fwrapv -fno-ident -fhonour-copts -fomit-frame-pointer -Os -pipe,g -+s,@LDFLAGS@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/lib -L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -Wl\,-O2 -Wl\,-rpath -Wl\,/usr/lib -Wl\,-rpath-link -Wl\,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g -+s,@CPPFLAGS@,|#_!!_#|-DNDEBUG -I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include,g -+s,@ac_ct_CC@,|#_!!_#|,g - s,@EXEEXT@,|#_!!_#|,g - s,@OBJEXT@,|#_!!_#|o,g - s,@DEPDIR@,|#_!!_#|.deps,g - s,@am__include@,|#_!!_#|include,g - s,@am__quote@,|#_!!_#|,g --s,@AMDEP_TRUE@,|#_!!_#|,g --s,@AMDEP_FALSE@,|#_!!_#|#,g --s,@AMDEPBACKSLASH@,|#_!!_#|\\,g --s,@CCDEPMODE@,|#_!!_#|depmode=gcc3,g --s,@am__fastdepCC_TRUE@,|#_!!_#|,g --s,@am__fastdepCC_FALSE@,|#_!!_#|#,g --s,@CPP@,|#_!!_#|gcc -E,g --s,@GREP@,|#_!!_#|/bin/grep,g --s,@EGREP@,|#_!!_#|/bin/grep -E,g --s,@CURSES_LIBS@,|#_!!_#|-lncurses -lpanel -lform,g --s,@CURSES_INCLUDEDIR@,|#_!!_#|,g --s,@build@,|#_!!_#|i686-pc-linux-gnu,g -+s,@AMDEP_TRUE@,|#_!!_#|#,g -+s,@AMDEP_FALSE@,|#_!!_#|,g -+s,@AMDEPBACKSLASH@,|#_!!_#|,g -+s,@CCDEPMODE@,|#_!!_#|depmode=none,g -+s,@am__fastdepCC_TRUE@,|#_!!_#|#,g -+s,@am__fastdepCC_FALSE@,|#_!!_#|,g -+s,@CPP@,|#_!!_#|/Volumes/adk/openadk/host_mipsel_uclibc/bin/mipsel-openadk-linux-uclibc-gcc -E,g -+s,@GREP@,|#_!!_#|/usr/bin/grep,g -+s,@EGREP@,|#_!!_#|/usr/bin/grep -E,g -+s,@CURSES_LIBS@,|#_!!_#| -L/Volumes/adk/openadk/target_mipsel_uclibc/lib -lncurses -lpanel -lform,g -+s,@CURSES_INCLUDEDIR@,|#_!!_#|-I/Volumes/adk/openadk/target_mipsel_uclibc/include,g -+s,@build@,|#_!!_#|i686-apple-darwin10,g - s,@build_cpu@,|#_!!_#|i686,g --s,@build_vendor@,|#_!!_#|pc,g --s,@build_os@,|#_!!_#|linux-gnu,g --s,@host@,|#_!!_#|i686-pc-linux-gnu,g --s,@host_cpu@,|#_!!_#|i686,g --s,@host_vendor@,|#_!!_#|pc,g -+s,@build_vendor@,|#_!!_#|apple,g -+s,@build_os@,|#_!!_#|darwin10,g -+s,@host@,|#_!!_#|mipsel-openadk-linux-gnu,g -+s,@host_cpu@,|#_!!_#|mipsel,g -+s,@host_vendor@,|#_!!_#|openadk,g - s,@host_os@,|#_!!_#|linux-gnu,g --s,@LIBICONV@,|#_!!_#|,g --s,@LTLIBICONV@,|#_!!_#|,g -+s,@LIBICONV@,|#_!!_#|/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib/libiconv.so -Wl\,-rpath -Wl\,/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g -+s,@LTLIBICONV@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -liconv -R/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib,g - s,@OPENSSL_TRUE@,|#_!!_#|,g - s,@OPENSSL_FALSE@,|#_!!_#|#,g --s,@SSLINC@,|#_!!_#|,g --s,@SSLLIB@,|#_!!_#|-lssl -lcrypto,g -+s,@SSLINC@,|#_!!_#|-I/Volumes/adk/openadk/target_mipsel_uclibc/usr/include,g -+s,@SSLLIB@,|#_!!_#|-L/Volumes/adk/openadk/target_mipsel_uclibc/usr/lib -lssl -lcrypto,g - s,@TALKFILTERS_TRUE@,|#_!!_#|#,g - s,@TALKFILTERS_FALSE@,|#_!!_#|,g - s,@TFLIB@,|#_!!_#|,g -@@ -781,11 +781,11 @@ case `sed -n '/datarootdir/ { - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 - echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} - ac_datarootdir_hack=' -- s&@datadir@&${datarootdir}&g -+ s&@datadir@&/usr/share&g - s&@docdir@&${datarootdir}/doc/${PACKAGE}&g - s&@infodir@&${datarootdir}/info&g - s&@localedir@&${datarootdir}/locale&g -- s&@mandir@&${datarootdir}/man&g -+ s&@mandir@&/usr/share/man&g - s&\${datarootdir}&${prefix}/share&g' ;; - esac - sed "/^[ ]*VPATH[ ]*=/{ -@@ -855,8 +855,8 @@ s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_ - s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 , - s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 , - s,^\([ #]*\)[^ ]*\([ ]*TIME_WITH_SYS_TIME\)[ (].*,\1define\2 1 , --s,^\([ #]*\)[^ ]*\([ ]*HAS_CURSES\)[ (].*,\1define\2 1 , - s,^\([ #]*\)[^ ]*\([ ]*USE_NCURSES\)[ (].*,\1define\2 1 , -+s,^\([ #]*\)[^ ]*\([ ]*HAS_CURSES\)[ (].*,\1define\2 1 , - s,^\([ #]*\)[^ ]*\([ ]*HAVE_USE_DEFAULT_COLORS\)[ (].*,\1define\2 1 , - s,^\([ #]*\)[^ ]*\([ ]*HAVE_RESIZETERM\)[ (].*,\1define\2 1 , - s,^\([ #]*\)[^ ]*\([ ]*HAVE_RESIZE_TERM\)[ (].*,\1define\2 1 , |