diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-25 04:49:14 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-25 04:49:14 (GMT) |
commit | f591ead4c8a9b64b0630900aa12c260027a7db6f (patch) | |
tree | 091b31cdc3a24c0b9108f0ea718ecaad166cc834 /abs/extra/libimobiledevice/HOME-segfault.patch | |
parent | 9b35fb3e4f637252b4674a78adf9026faeaa5340 (diff) | |
download | linhes_pkgbuild-f591ead4c8a9b64b0630900aa12c260027a7db6f.zip linhes_pkgbuild-f591ead4c8a9b64b0630900aa12c260027a7db6f.tar.gz linhes_pkgbuild-f591ead4c8a9b64b0630900aa12c260027a7db6f.tar.bz2 |
compiled/added programs needed by xbmc: Moved some programs out of community into extra.
libmpeg2
pm-utils
afpfs-ng
fluidsynth
libmodplug
libnfs
libshairport
dbus-c__
doxygen
libocnfig
libffado
libimobiledevice
libmicrothttpd
sdl_image
sdl_mixer
smpeg
upower
usbmuxd
vdpau-video
Diffstat (limited to 'abs/extra/libimobiledevice/HOME-segfault.patch')
-rw-r--r-- | abs/extra/libimobiledevice/HOME-segfault.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/libimobiledevice/HOME-segfault.patch b/abs/extra/libimobiledevice/HOME-segfault.patch new file mode 100644 index 0000000..e48e6cb --- /dev/null +++ b/abs/extra/libimobiledevice/HOME-segfault.patch @@ -0,0 +1,14 @@ +The patch fixes segfault when both $XDG_CONFIG_HOME and $HOME are unset +Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com> +--- src/userpref.c.orig 2012-06-04 17:04:57.387303630 +0300 ++++ src/userpref.c 2012-06-04 17:06:05.741301627 +0300 +@@ -125,6 +125,9 @@ + const char *cdir = getenv("XDG_CONFIG_HOME"); + if (!cdir) { + cdir = getenv("HOME"); ++ if (!cdir) { ++ cdir="/root"; ++ } + strcpy(__config_dir, cdir); + strcat(__config_dir, DIR_SEP_S); + strcat(__config_dir, ".config"); |