diff options
Diffstat (limited to 'sys-process/lsof/files')
-rw-r--r-- | sys-process/lsof/files/lsof-4.85-arg.c.patch | 30 | ||||
-rw-r--r-- | sys-process/lsof/files/lsof-4.85-cross.patch | 33 |
2 files changed, 0 insertions, 63 deletions
diff --git a/sys-process/lsof/files/lsof-4.85-arg.c.patch b/sys-process/lsof/files/lsof-4.85-arg.c.patch deleted file mode 100644 index 98838cd..0000000 --- a/sys-process/lsof/files/lsof-4.85-arg.c.patch +++ /dev/null @@ -1,30 +0,0 @@ -arg.c.patch Patches: lsof_4.85_src/arg.c - - Importance: major for all dialects supporting - the +|-e option (e.g., Linux) - - Function: this patch corrects a bug in the - accumulation of multiple +|-e - option values - -*** /tmp/T0iAaaeo Thu Oct 20 14:08:43 2011 ---- arg.c Thu Oct 20 14:03:49 2011 -*************** -*** 778,785 **** - ep->pathl = i; - ep->rdlnk = rdlnk; - ep->mp = (struct mounts *)NULL; -! if (!(ep->next = Efsysl)) -! Efsysl = ep; - return(0); - } - #endif /* defined(HASEOPT) */ ---- 778,785 ---- - ep->pathl = i; - ep->rdlnk = rdlnk; - ep->mp = (struct mounts *)NULL; -! ep->next = Efsysl; -! Efsysl = ep; - return(0); - } - #endif /* defined(HASEOPT) */ diff --git a/sys-process/lsof/files/lsof-4.85-cross.patch b/sys-process/lsof/files/lsof-4.85-cross.patch deleted file mode 100644 index 186c6d8..0000000 --- a/sys-process/lsof/files/lsof-4.85-cross.patch +++ /dev/null @@ -1,33 +0,0 @@ -let the preprocessor work its magic rather than executing the code - -https://bugs.gentoo.org/432120 - ---- a/Configure -+++ b/Configure -@@ -2730,20 +2730,17 @@ LOCKF_OWNER4 - rm -f ${LSOF_TMPC}.* - cat > $LSOF_TMPC.c << .LSOF_END_HERE_DOC1 - #include <features.h> --main() { -+#undef XXX - #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) --printf("-DGLIBCV=%d\n",__GLIBC__*100+__GLIBC_MINOR__); -+XXX: __GLIBC__ * 100 + __GLIBC_MINOR__ - #elif defined(__GLIBC__) --printf("-DGLIBCV=%d00\n",__GLIBC__); --#else --printf("\n"); -+XXX: __GLIBC__ * 100 - #endif --return(0); } - .LSOF_END_HERE_DOC1 -- $LINUX_CONF_CC ${LSOF_TMPC}.c -I$LSOF_INCLUDE -o ${LSOF_TMPC}.x > /dev/null 2>&1 -+ $LINUX_CONF_CC ${LSOF_TMPC}.c -E -I$LSOF_INCLUDE 2>/dev/null | sed -n '/^XXX:/s|.*:||p' > ${LSOF_TMPC}.x -- if test -x ${LSOF_TMPC}.x # { -+ if test -s ${LSOF_TMPC}.x # { - then -- LINUX_CLIB=`${LSOF_TMPC}.x` -+ LINUX_CLIB="-DGLIBCV=$(( `cat ${LSOF_TMPC}.x` ))" - LSOF_TMP=$? - else - LINUX_CLIB="" |