diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-10-08 22:20:37 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-10-08 22:20:37 -0300 |
commit | fccf9769e2c26f577f6214ed9d0dbb30cb8c51bd (patch) | |
tree | cc5312eeed95e18d8e2c6009c568f3d32501bc01 /community/adesklets/posix_signal.patch | |
parent | 69962c022fb4ed68b9163e60183fff714308e4e3 (diff) | |
parent | 3a0ad5dc35d5cff379cdfc736b9cae856416fe6a (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/abe/PKGBUILD
community/account-plugins/PKGBUILD
community/adesklets/PKGBUILD
community/aircrack-ng/PKGBUILD
community/audit/PKGBUILD
community/bchunk/PKGBUILD
community/bibutils/PKGBUILD
community/cantata/PKGBUILD
community/cdck/PKGBUILD
community/cinnamon-control-center/PKGBUILD
community/clusterssh/PKGBUILD
community/consonance/PKGBUILD
community/credentials-preferences/PKGBUILD
community/dee/PKGBUILD
community/dosbox/PKGBUILD
community/drbd/PKGBUILD
community/dvdisaster/PKGBUILD
community/ekg/PKGBUILD
community/ekg2/PKGBUILD
community/emelfm2/PKGBUILD
community/erlang/PKGBUILD
community/ettercap/PKGBUILD
community/evilwm/PKGBUILD
community/fatrat/PKGBUILD
community/fcitx-mozc/PKGBUILD
community/fcrackzip/PKGBUILD
community/ffmpegsource/PKGBUILD
community/fssos-nsvs/PKGBUILD
community/geda-gaf/PKGBUILD
community/gnome-applets/PKGBUILD
community/gnome-panel/PKGBUILD
community/gnustep-make/PKGBUILD
community/gwibber/PKGBUILD
community/html2text/PKGBUILD
community/intellij-idea-libs/PKGBUILD
community/libcgns2/PKGBUILD
community/libmatio/PKGBUILD
community/librcc/PKGBUILD
community/libsignon-glib/PKGBUILD
community/linux-tools/PKGBUILD
community/minitube/PKGBUILD
community/mpdscribble/PKGBUILD
community/mplayer2/PKGBUILD
community/musepack-tools/PKGBUILD
community/nginx/PKGBUILD
community/pam_pwcheck/PKGBUILD
community/portaudio/PKGBUILD
community/portaudio_cpp/PKGBUILD
community/prelink/PKGBUILD
community/projectm/PKGBUILD
community/prosody/PKGBUILD
community/python-basemap/PKGBUILD
community/qgit/PKGBUILD
community/raptor1/PKGBUILD
community/sensors-applet/PKGBUILD
community/signon-keyring-extension/PKGBUILD
community/signon-plugin-oauth2/PKGBUILD
community/signon-ui/PKGBUILD
community/sshguard/PKGBUILD
community/tea/PKGBUILD
community/tint2/PKGBUILD
community/tremulous/PKGBUILD
community/vobcopy/PKGBUILD
community/windowlab/PKGBUILD
community/xdelta/PKGBUILD
community/xmms2/PKGBUILD
community/xosd/PKGBUILD
core/gdbm/PKGBUILD
core/heirloom-mailx/PKGBUILD
core/libffi/PKGBUILD
core/procps-ng/PKGBUILD
core/systemd/PKGBUILD
core/tar/PKGBUILD
cross/mips64el-unknown-linux-gnu-linux-libre-api-headers/PKGBUILD
extra/arj/PKGBUILD
extra/audacity/PKGBUILD
extra/cdparanoia/PKGBUILD
extra/elfutils/PKGBUILD
extra/fltk/PKGBUILD
extra/gnome-python-desktop/PKGBUILD
extra/gstreamer/PKGBUILD
extra/gtk2/PKGBUILD
extra/gvfs/PKGBUILD
extra/imagemagick/PKGBUILD
extra/indent/PKGBUILD
extra/kdepim/PKGBUILD
extra/lcms/PKGBUILD
extra/lesstif/PKGBUILD
extra/libchewing/PKGBUILD
extra/libdrm/PKGBUILD
extra/libmodplug/PKGBUILD
extra/libnotify/PKGBUILD
extra/libsm/PKGBUILD
extra/libxmu/PKGBUILD
extra/libxpm/PKGBUILD
extra/mariadb/PKGBUILD
extra/mesa/PKGBUILD
extra/mkvtoolnix/PKGBUILD
extra/neon/PKGBUILD
extra/ocaml/PKGBUILD
extra/phonon-vlc/PKGBUILD
extra/php-xcache/PKGBUILD
extra/polkit/PKGBUILD
extra/pycups/PKGBUILD
extra/python-cairo/PKGBUILD
extra/python/PKGBUILD
extra/ruby/PKGBUILD
extra/sqlite/PKGBUILD
extra/talloc/PKGBUILD
extra/thunar-archive-plugin/PKGBUILD
extra/totem-plparser/PKGBUILD
extra/totem/PKGBUILD
extra/vinagre/PKGBUILD
extra/vino/PKGBUILD
extra/vlc/PKGBUILD
extra/wget/PKGBUILD
extra/xine-lib/PKGBUILD
extra/xorg-server/PKGBUILD
extra/xorg-twm/PKGBUILD
extra/xorg-xclipboard/PKGBUILD
extra/xorg-xclock/PKGBUILD
extra/xorg-xkill/PKGBUILD
extra/xorg-xlsclients/PKGBUILD
extra/xorg-xman/PKGBUILD
extra/xorg-xrdb/PKGBUILD
extra/xpdf/PKGBUILD
extra/xvidcore/PKGBUILD
extra/yelp/PKGBUILD
libre/audacious-plugins-libre/PKGBUILD
libre/mc-libre/PKGBUILD
libre/python2-reportlab-libre/PKGBUILD
Diffstat (limited to 'community/adesklets/posix_signal.patch')
-rw-r--r-- | community/adesklets/posix_signal.patch | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/community/adesklets/posix_signal.patch b/community/adesklets/posix_signal.patch deleted file mode 100644 index 90b3e8a12..000000000 --- a/community/adesklets/posix_signal.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 92e686badce5c549699a30e82458a42dbcd99183 Mon Sep 17 00:00:00 2001 -From: Sylvain <syfou@users.sourceforge.net> -Date: Wed, 2 May 2007 13:23:18 -0400 -Subject: [PATCH] Definitive fix for the signal module importation problem - ...from posix_signal on some amd64 systems. Many thanks to Jason - Pontious for his support and patience. - ---- - scripting/python/posix_signal.c | 34 ++++++++++++++++++---------------- - 1 files changed, 18 insertions(+), 16 deletions(-) - -diff --git a/scripting/python/posix_signal.c b/scripting/python/posix_signal.c -index 620248f..7c5ac25 100644 ---- a/scripting/python/posix_signal.c -+++ b/scripting/python/posix_signal.c -@@ -1,16 +1,17 @@ - /*--- posix_signal.c ----------------------------------------------------------- --This is nothing but a forward port from older python code by Lance Ellinghaus, --Guido van Rossum & al., reformatted and put back together by Sylvain Fourmanoit <syfou@users.sourceforge.net> --for recent (2.2.0 final and newer) python implementations. -- --The ability to temporarily delay signals delivery is a very usefull feature - --not all C functions are reentrant (in fact, only a few need to be 'safe' --according to the POSIX 1003.1-2003 list), so being able to create critical --code sections is a must. Although I am convinced Python's developpers --had good reasons, I do not know myself why 'sigprocmask' and associated --functions support was dropped from the signal module on systems which --implemented them... Since I needed them in my blissful ignorance, --here they are, alive and kicking. :-) -+This is nothing but a forward port from older python code by Lance -+Ellinghaus, Guido van Rossum & al., reformatted and put back together -+by Sylvain Fourmanoit <syfou@users.sourceforge.net> for recent (2.2.0 -+final and newer) python implementations. -+ -+The ability to temporarily delay signals delivery is a very usefull -+feature - not all C functions are reentrant (in fact, only a few need -+to be 'safe' according to the POSIX 1003.1-2003 list), so being able -+to create critical code sections is a must. Although I am convinced -+Python's developpers had good reasons, I do not know myself why -+'sigprocmask' and associated functions support was dropped from the -+signal module on systems which implemented them... Since I needed them -+in my blissful ignorance, here they are, alive and kicking. :-) - - ------------------------------------------------------------------------------*/ - #include <Python.h> -@@ -214,8 +215,9 @@ PyMODINIT_FUNC - initposix_signal(void) - { - const char * KEYS [] = { "__doc__", "__name__" , NULL}; -- int i, pos=0; -+ int i; - char * key_str, * doc_str , * new_str; -+ Py_ssize_t pos = 0; - PyObject * m, * mDoc, *d, - * pName, * pModule, * pDict, - * key, * value, *x; -@@ -236,7 +238,6 @@ initposix_signal(void) - /* The chunk of code below roughly perfoms python equivalent of: - 'from signal import *' inside what would be a pure python posix_signal - module ... */ -- pName=PyString_FromString("signal"); - if ((pModule=PyImport_Import((pName=PyString_FromString("signal"))))) { - pDict=PyModule_GetDict(pModule); - while (PyDict_Next(pDict, &pos, &key, &value)) -@@ -246,10 +247,11 @@ initposix_signal(void) - for(i=0;KEYS[i];++i) - if (strncmp(key_str,KEYS[i],strlen(KEYS[i]))==0) - break; -- if (!KEYS[i]) -+ if (!KEYS[i]) { - /* This needs python 2.2 and up */ -+ Py_INCREF(value); - PyModule_AddObject(m,key_str,value); -- else { -+ } else { - if (i==0) { - /* Append signal module documentation */ - if ((mDoc=PyDict_GetItemString(d,KEYS[0]))) { --- -1.6.5.GIT - |