The Patch Pile
All patches linked from this page are hereby placed in the public
domain, unless text in the patch file indicates otherwise. These patches
are provided as-is; use at your own risk.
Package index
alsa-lib
- avoid-identity-memcpy.diff (1.0.23)
- A minor optimization patch to avoid a memcpy() call on two identical pointers.
- pcm-rate-stuck-fix.diff (1.0.23)
- Fixes a bug which causes playback to get "stuck" after around 6 hours on 32-bit systems, repeating the same short segment of audio over and over. (There will still be a momentary discontinuity in the output stream every 6 hours, but playback will continue properly.)
apache
- allow-old-mtime.diff (2.2.15 | 2.4.3)
- Fixes handling of files whose last-modified timestamp is before the Unix epoch (1970-01-01 00:00 UTC). Files whose timestamp is exactly the epoch are still not handled correctly; the current timestamp is sent instead of the actual file timestamp.
- exec-cgi-to-include-virtual.diff (2.2.15 | 2.4.3)
- Adds support for calling CGIs with the <!--#exec cgi="..." --> syntax.
- no-server-header.diff (2.2.15 | 2.4.3)
- Allows "None" as an argument to the ServerTokens configuration directive, which causes the Server header to be omitted from responses.
- semifancy-autoindex.diff (2.2.15 | 2.4.3)
- Adds a "SemiFancyIndexing" directory style for mod_autoindex.
atari800
- no-mouse-joystick-patch.diff (2.0.3)
- A simple patch to prevent mouse movements from being interpreted as joystick input.
binutils
- 8-digit-sizes.diff (2.18)
- Changes the output of the "size" command to use 8 digits rather than 7 for printing sizes and to use spaces rather than tabs between columns.
- gprof-time-scale.diff (2.21)
- Changes the auto-scaling logic used for printing time-per-call in the flat profile listing to increase the precision of the values printed when space allows.
coreutils
- ascii-quotes.diff (8.16 | 8.20 | 8.21)
- Uses ASCII quote characters (' and ") instead of Unicode "smart quotes" to quote pathnames.
- dd-noxfer-default.diff (6.9 | 6.10 | 6.11 | 6.12 | 7.1 | 7.4 | 7.6 | 8.1 | 8.11 | 8.16 | 8.20 | 8.21)
- Makes "status=noxfer" the default for the "dd" command, and adds the option "status=xfer" to cause transfer statistics to be displayed. "status=noxfer" is still supported, though it is no longer displayed in the help text.
- df-10-digits.diff (8.4)
- Widens the "blocks", "used", and "available" columns in the default output format from 9 to 10 columns so that terabyte-size filesystems don't break the formatting.
- ls-enforce-min-column-width.diff (6.9 | 6.10 | 6.11 | 6.12 | 7.1 | 7.4 | 7.6 | 8.1 | 8.11 | 8.16 | 8.20 | 8.21)
- Enforces minimum column widths on the link count, owner, group, device number, and file size columns to prevent them from being squeezed too closely together.
- tail-classic-syntax.diff (6.9 | 6.10 | 6.11 | 6.12 | 7.1 | 7.4 | 7.6 | 8.1 | 8.11 | 8.16 | 8.20 | 8.21)
- Restores classic syntax to the "tail" command, allowing the use of "tail +N" instead of "tail -n+N".
diffutils
- disable-nanosecond-resolution.diff (2.8.1 | 2.8.7 | 2.9)
- Adds a --disable-nanosecond-resolution option to the configure script to explicitly prevent diff from writing timestamps to nanosecond resolution.
- compile-error-fixes.diff (7.0 | 7.1)
- Fixes various errors which occur during compilation.
dvdauthor
- invalid-aspect-ratio-warning.diff (0.6.14)
- Prevents multiple warnings from being output for consecutive frames with invalid aspect ratio flags.
- subgen-debug-info.diff (0.6.14)
- Modifies a debug message in subgen to print timestamps with fractional resolution.
- until-next-sub.diff (0.6.14)
- Fixes an issue with subgen I can't recall.
dvgrab
- no-more-junk.diff (2.1 | 3.1)
- Suppresses the writing of JUNK chunks to AVI files.
e2fsprogs
- lsdel-large-files-fix.diff (1.40)
- Fixes debugfs's "lsdel" command to work correctly with large files.
- retry-prompt.diff (1.40 | 1.40.8 | 1.42.3)
- Adds a "Retry?" prompt to the read error handler, allowing recovery from transient read errors.
emacs
- python-no-font-lock.diff (23.2)
- Prevents the Python mode from overriding the user's global-font-lock-mode setting.
faad2
- percent-display-fix.diff (2.6.1 | 2.7)
- Fixes a bug causing the percentage display to stop before reaching 100% on large files.
fvwm
- argb-hack.diff (2.5.26 | 2.5.27)
- A quick hack to ensure that the colors used by FVWM in e.g. window borders are opaque even for windows with alpha channels.
gcc
- mult-add-fix.diff (4.4.3)
- Fixes a missed optimization of multiply-and-add operations on target architectures with multiply-accumulate instructions.
- no-shared-libgcc.diff (4.1.2 | 4.2.2 | 4.3.1 | 4.4.1 | 4.5.3 | 4.6.2)
- Makes GCC default to linking the static version of the internal "libgcc" library rather than the shared version.
- undeprecate-I-.diff (4.5.3 | 4.6.2 | 4.6.3 | 4.6.4 | 4.7.0 | 4.7.1 | 4.7.2 | 4.7.3 | 4.8.0)
- Removes the "deprecated" notices attached to the -I- option, since there is not yet any replacement option (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19541).
gdb
- external-readline.diff (6.7.1 | 6.8)
- Patches the configure script and Makefiles to use the "readline" library installed on the system instead of the one included in the GDB distribution archive.
gimp
- disable-layer-mask-undo-name-fix.diff (2.6.11)
- Change the command name displayed in undo/redo for toggling the "Disable Layer Mask" flag from "Apply Layer Mask" to "Disable [or Enable] Layer Mask", to distinguish it from the Apply Layer Mask operation.
- ghost-guide-fix.diff (2.6.11)
- Fixes a "ghost" guide appearing in the previously active window when the mouse is moved over a guide in a window at the same time that window gains focus.
- no-copy-suffix.diff (2.6.11)
- Removes the " copy" suffix appended to object names in "duplicate" operations, e.g. to names of layers copied from one image to another. A "#n" suffix will be added if necessary to make the new object's name unique.
glade
- font-style-fix.diff (3.6.7)
- Fix typos preventing label text styles from working properly.
glib
- no-arg-warning-fix.diff (2.28.8 | 2.30.3)
- Fix a bogus "ignoring no-arg, optional-arg or filename flags (8) on option of type 0" warning when starting some GTK+ programs, such as the GIMP.
gtk+
- file-chooser-resize-workaround.diff (2.14.4)
- Rough workaround to prevent the file chooser window from resizing while visible. (Only minimally tested—use at your own risk!)
- file-chooser-start-in-cwd.diff (2.24.6)
- Reverts the change in GTK+ 2.24.6 (git commit ca74dc6a873bb375bb2abc3ea7642ed41e9f6e79) which made the file chooser dialog default to "Recently Used" instead of the current directory when first opened.
- gtkitemfactory-prototype-fix.diff (2.6.5 | 2.12.9 | 2.14.4 | 2.24.6)
- Makes the GtkItemFactoryCallback declaration in gtkitemfactory.h a valid prototype so that GTK+ programs will successfully compile with the GCC -Werror option.
iiimecf
- surrogate-border-fix.diff (0.75)
- Works around a problem arising from the combination of Emacs 22, IIIMECF, and ATOK X3 which causes the error "invalid pos (larger than string length or at the surrogate border)" to occur when certain non-kana, non-kanji characters appear in the preedit string. Can be reproduced by e.g. entering "s-" in Japanese input mode.
jpeg
- cjpeg-dpi-options.diff (6b)
- Adds "-xdpi", "-ydpi", "-xdpcm", and "-ydpcm" command-line options to cjpeg to allow setting the output image's resolution in dots per inch or centimeter.
libquicktime
- prototypes.diff (0.9.8 | 1.0.1 | 1.1.1)
- Ensures that all functions in library headers are properly prototyped to prevent warnings in GCC.
libreoffice
- database-connectivity-fix.diff (3.6.4.3 | 4.0.2.2)
- Removes the unnecessary configure check for odbc when --disable-database-connectivity is given. (However, as of 4.0.2.2 this option still does not result in a successful build.)
- enable-cmis.diff (3.6.4.3 | 4.0.2.2)
- Adds the configure option --disable-cmis to disable CMIS support.
- enable-wordperfect-filters.diff (3.6.4.3 | 4.0.2.2)
- Adds the configure option --disable-wordperfect-filters to disable the WordPerfect import/export filters.
- npapi-configure-fix.diff (3.6.4.3)
- Removes the unnecessary configure check for the npapi.h header when not building the Mozilla browser plugin.
libusb
- no-wait-on-error.diff (0.1.12)
- Ensures that errors are immediately reported to the caller regardless of any specified timeout, so callers don't wait indefinitely on (e.g.) a disconnected device.
libvorbis
- oom-fixes.diff (1.3.3)
- Fixes numerous NULL dereference errors and memory leaks caused by failures in unchecked memory allocation calls.
- warning-fixes.diff (1.3.3)
- Fixes compiler warnings about const mismatches, poorly written expressions, unused variables and functions, and missing function declarations.
lighttpd
- invalid-config-crash-fix.diff (1.4.26)
- Fixes a potential crash on reading a configuration file containing an invalid entry for a string parameter, e.g. server.bind = ("host1","host2").
linux
- aio-eperm-fix.diff (2.6.37)
- Fixes a bug in Linux 2.6.3[78] (through at least 2.6.37.6 and 2.6.38.2, respectively) which causes asynchronous I/O with the aio_* family of functions to fail with EPERM. From the Linux git repository.
- cylinder-overflow-warning.diff (2.6.19 | 2.6.23 | 2.6.24 | 2.6.25 | 2.6.30 | 2.6.31 | 2.6.32 | 2.6.33 | 2.6.38 | 3.2 | 3.4 | 3.7)
- Outputs a warning when an attempt is made to access a sector beyond the 65535th cylinder of an IDE device in CHS mode, as can happen with sufficiently large hard disks on some defective BIOSes.
- export-pgoff_t.diff (2.6.19 | 2.6.23)
- Exports the "pgoff_t" type from <linux/types.h> even when __KERNEL_STRICT_NAMES is defined. (This was, at least at one point, required to compile some program or module that I can't recall.)
- ext2_fs-header-fix.diff (2.6.23 | 2.6.24 | 2.6.25 | 2.6.30 | 2.6.31 | 2.6.32 | 2.6.33 | 2.6.38 | 3.2)
- Includes <linux/fs.h> in <linux/ext2_fs.h> (and <linux/ext3_fs.h>) to prevent a compilation error in sash-3.7.
- header-fix-for-vmware.diff (2.6.19 | 2.6.23)
- Prevents redefinitions of the "false" and "true" constants and the "bool" type when compiling kernel modules written in C++, such as modules used by some versions of VMware.
- ieee1394-dump-full-packet.diff (2.6.19 | 2.6.23 | 2.6.24 | 2.6.25)
- Causes the IEEE1394 driver to dump the full contents of all packets sent, rather than just the packet headers, when debugging.
- if_fddi-type-fix.diff (2.6.23)
- Ensures that <linux/if_fddi.h> includes <linux/types.h> so that the __be16 type is defined.
- japanese-text-on-console.diff (2.2.16 | 2.4.13 | 2.6.7)
- Allows Japanese (ISO-2022-JP, EUC-JP) text to be displayed on the console when using a framebuffer console.
- loop-ioctl-fix.diff (2.6.19 | 2.6.23 | 2.6.24 | 2.6.25 | 2.6.30 | 2.6.31 | 2.6.32 | 2.6.33 | 2.6.38 | 3.2 | 3.4 | 3.7)
- Changes <linux/loop.h> to use the _IO() macro rather than literal numeric constants to define ioctl values for the loop device.
- proc-fd-file-position.diff (2.6.13 | 2.6.19 | 2.6.23 | 2.6.24 | 2.6.25 | 2.6.30 | 2.6.31 | 2.6.32 | 2.6.33 | 2.6.38 | 3.2 | 3.4)
- Changes the behavior of file descriptor entries in the /proc/NNN/fd directory so that the size (stat.st_size) field is set to the file descriptor's current file position. This allows lsof to show the current file position when invoked with the "-o" option.
- tdfx-allow-256-pixel-modes.diff (2.6.19 | 2.6.23 | 2.6.24 | 2.6.25)
- Allows the use of 256-pixel-wide modes when using the tdfx framebuffer device.
- touchscreens-are-not-mice.diff (3.8)
- Prevents touchscreen and touchpad devices from being recognized as "mice" by the input subsystem, so that /dev/input/mice does not include touch events.
lua
- omit-string-hash.diff (5.1.4)
- Omits the hash value from the internal string data structure used to manage strings. This adds some CPU overhead to string table management, but reduces Lua's memory usage by 5-10%. Only useful in combination with use-float-alignment.diff.
- static-strings.diff (5.1.4)
- Experimental patch to store pointers to literal strings instead of copying the strings. Unfortunately, it seems that most Lua initialization is done through the exported API functions (which don't support the detection of static strings), so this patch currently has very little effect.
- use-float.diff (5.1.4)
- Forces Lua to use single-precision instead of double-precision floating-point values for numbers.
- use-float-alignment.diff (5.1.4)
- Uses "float" instead of "double" for determining the maximum alignment of a data type. Only useful on systems where no data types require 8-byte alignment.
mercurial
- branch-no-bookmark-hint.diff (2.0.2)
- Removes the "did you mean bookmark?" line output by "hg branch" when creating a new branch.
- subversion-1.5-import-fix.diff (1.0 | 1.0.1)
- Fixes the Subversion import module in "hg convert" to work with the Subversion 1.5 API (avoiding an "svn_ra_get_log: Assertion `*path != '/'' failed" error). This patch is untested with Subversion 1.4.
mesa
- memory-leak-fixes.diff (8.0.2 | 8.0.3 | 8.0.4)
- Fixes a few memory leaks related to shaders.
- uninitialized-data-fix.diff (8.0.2 | 8.0.3 | 8.0.4)
- Fixes an uninitialized data warning from Valgrind when using shaders.
mpeg4ip
- height-1080.diff (1.6.1)
- Records a height of 1080 pixels if the input stream height is 1088 pixels (required for PlayStation 3 playback).
- mp4chaps.diff (1.6.1)
- Adds the ability to record Nero/QuickTime-style chapter markers in MP4 files. Patch taken from post on http://sourceforge.net/forum/forum.php?thread_id=1837284&forum_id=59136 by Ullrich Pollaehne.
- mp4v-buffer-size.diff (1.5.0.1 | 1.6.1)
- Increases the MPEG-4 video packet buffer from 256kB to 1024kB to avoid buffer overflow errors on high-bitrate streams.
mplayer
- detect-AVI-EOF.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Detects EOF chunks in AVI files, and stops processing when one is encountered.
- ignore-keypress-in-slave-mode.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Makes MPlayer Ignore keypress events when running in slave mode.
- mencoder-vobsub.diff (1.0rc4-p20090919)
- Adds support for the -vobsub and -vobsubid options in MEncoder. Patch from Dani Church.
- mpeg-seek-fix.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Fixes seek failures in high-bitrate MPEG-2 streams.
- no-proprietary-codec-message.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Suppresses the snide remark about proprietary codecs displayed for certain types of files.
- no-system-slow-message.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Suppresses the "system too SLOW" message displayed when the audio and video get out of sync.
- nodup.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Adds a -nodup option to mencoder which prevents frames from being duplicated.
- noskip-fix.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506)
- Ensures that no frames are skipped when the -noskip option is passed to mencoder.
- time-left-in-seconds.diff (1.0rc2 | 1.0rc2-p20090530 | 1.0rc4-p20100506 | 1.0rc4-p20101107)
- Displays the time remaining for an encode in "MM:SS" format instead of "MMmin" format.
ncurses
- disable-char-insert-delete.diff (5.6)
- Disables the "ic" (insert character) and "dc" (delete character) terminal actions. This was needed at one point to correct some sort of misbehavior, possibly related to wide characters, but I can't remember any details.
- disable-linux-console-cursor-type.diff (5.6)
- Disables the "civis", "cnorm", and "cvvis" terminal actions on Linux consoles (the "linux" console type). The same effect can be achieved on a per-user basis by compiling the updated terminal data into the $HOME/.terminfo directory.
netpbm
- pamrgbatopng-best-compression.diff (10.51.00)
- Changes the pamrgbatopng program to use maximum compression when writing the PNG file, mimicking the behavior of the -compression=9 option to pnmtopng.
- pamrgbatopng-suppress-sRGB.diff (10.51.00)
- Prevents the pamrgbatopng program from writing a PNG sRGB chunk to the output file.
- pnmtopng-disable-alpha-palette.diff (10.51.00)
- Prevents the pnmtopng program from using a palette to represent images with an alpha channel, since the resulting image is not read correctly by several programs (notably GIMP 2.6.11 and Netpbm's own pngtopam).
nvidia-drivers
- minimized-SDL-crash-fix.pl (169.12)
- Modifies the NVIDIA X11 driver module to work around a bug which crashes the X server when switching to another virtual console while an SDL (or possibly other MITSHM-using) program is minimized (NVIDIA bug 413808). The bug appears to be fixed in the 173.14.05 release of the driver.
openal
- arm-fpu-control-fix.diff (1.14)
- Fixes references to undefined FPU-related symbols when building on ARM.
openssh
- disable-chroot-perms-check.diff (5.6p1)
- Disables the directory permission checks for chroot directories, allowing e.g. SFTP for a user account to be chrooted to the user's home directory. (Note that if a user with write access to the chroot directory can also access the system without chroot restrictions, this patch exposes vulnerability CVE 2009-2904.)
patch
- fix-bouncing-offsets.diff (2.5.4)
- Prevents patch from alternately reporting nonzero and zero offsets when applying a patch which has a constant offset with respect to the target file.
portage
- autopatch.diff (2.1.3.16 | 2.1.3.19 | 2.1.4 | 2.1.5 | 2.1.5.4 | 2.2_rc1 | 2.2_rc8 | 2.2_rc12 | 2.2_rc14 | 2.2_rc20 | 2.2_rc22 | 2.2_rc24 | 2.2_rc32 | 2.2_rc33 | 2.2_rc35 | 2.2_rc40 | 2.2_rc42 | 2.2_rc64 | 2.2_rc65 | 2.2_rc68 | 2.2_rc70 | 2.2_rc87 | 2.2.0_alpha10 | 2.2.0_alpha30 | 2.2.0_alpha32 | 2.2.0_alpha36 | 2.2.0_alpha52 | 2.2.0_alpha58 | 2.2.0_alpha60 | 2.2.0_alpha85 | 2.2.0_alpha87 | 2.2.0_alpha100 | 2.2.0_alpha107 | 2.2.0_alpha118 | 2.2.0_alpha121 | 2.2.0_alpha132)
- Allows packages to be automatically patched before compilation without the necessity of creating and maintaining separate ebuilds to apply the patches. Set PORTAGE_PATCHDIR in /etc/make.conf; then for package CATEGORY/PACKAGE-VERSION, store version-independent patches in ${PORTAGE_PATCHDIR}/CATEGORY/PACKAGE and version-dependent patches in ${PORTAGE_PATCHDIR}/CATEGORY/PACKAGE/VERSION. Based on a patch by wdsci at http://forums.gentoo.org/viewtopic-t-339019.html
- concise-progress.diff (2.1.3.16 | 2.1.3.19 | 2.1.4 | 2.1.5 | 2.1.5.4 | 2.2_rc1 | 2.2_rc8 | 2.2_rc12 | 2.2_rc14 | 2.2_rc20 | 2.2_rc22 | 2.2_rc24 | 2.2_rc32 | 2.2_rc33 | 2.2_rc35 | 2.2_rc40 | 2.2_rc42 | 2.2_rc64 | 2.2_rc65 | 2.2_rc68 | 2.2_rc70 | 2.2_rc87 | 2.2.0_alpha10 | 2.2.0_alpha30 | 2.2.0_alpha32 | 2.2.0_alpha36 | 2.2.0_alpha52 | 2.2.0_alpha58 | 2.2.0_alpha60 | 2.2.0_alpha85 | 2.2.0_alpha87 | 2.2.0_alpha100 | 2.2.0_alpha107 | 2.2.0_alpha118 | 2.2.0_alpha121 | 2.2.0_alpha132)
- Implements a more concise progress display for downloading files and compiling packages. Add "concise-progress" to ${FEATURES} to activate. (Work in progress; as of 2.2_rc8, only works for fetches, not builds.)
- delete-locale-files.diff (2.1.3.16 | 2.1.3.19 | 2.1.4 | 2.1.5 | 2.1.5.4 | 2.2_rc1 | 2.2_rc8 | 2.2_rc12 | 2.2_rc14 | 2.2_rc20 | 2.2_rc22 | 2.2_rc24 | 2.2_rc32 | 2.2_rc33 | 2.2_rc35 | 2.2_rc40 | 2.2_rc42 | 2.2_rc64 | 2.2_rc65 | 2.2_rc68 | 2.2_rc70 | 2.2_rc87 | 2.2.0_alpha10 | 2.2.0_alpha30 | 2.2.0_alpha32 | 2.2.0_alpha36 | 2.2.0_alpha52 | 2.2.0_alpha58 | 2.2.0_alpha60 | 2.2.0_alpha85 | 2.2.0_alpha87 | 2.2.0_alpha100 | 2.2.0_alpha107 | 2.2.0_alpha118 | 2.2.0_alpha121 | 2.2.0_alpha132)
- Automatically deletes all locale files (in /usr/share/locale/*/LC_MESSAGES) after installation if USE="-nls" is specified in make.conf.
procps
- HZ-calculation-fix.diff (3.2.7)
- Fixes a bug in the calculation of the system clock tick frequency (the HZ constant).
- extreme-prejudice.diff (3.2.7)
- For those nostalgic about old Linux man pages.
psplink
- gdb-typo-fix.diff (svn-r2460)
- Fixes typos in some error messages sent to the remote GDB.
- slim-memory-fix.diff (svn-r2460)
- Allows the memory manipulation commands to access all 64MB of RAM in the Slim (PSP-2000) and later models. This patch does not check the model of PSP in use, so it will crash if you try to access memory above the 32MB limit on an original-model PSP.
pspsdk
- autotools-fixes.diff (svn-r2450 | svn-r2493)
- Fixes the autotools control files to work with more recent versions of the autotools suite.
- function-decl-fixes.diff (svn-r2450 | svn-r2493)
- Fixes system function declarations so that they are all valid prototypes, and adds "const" to some input-only pointer parameters.
- icache-funcs.diff (svn-r2450 | svn-r2493)
- Adds prototypes and stubs for the sceKernelIcacheInvalidateAll() and sceKernelIcacheInvalidateRange() functions, and fixes a couple of comment typos.
- libgu-fixes.diff (svn-r2450 | svn-r2493)
- Simplifies a couple of decompiled operation sequences to their original meanings.
- no-cxx-cpp.diff (svn-r2450 | svn-r2493)
- Disables compilation of the C++ portion of psplibc (for use when GCC has not been compiled with C++ support).
- no-override-prefix.diff (svn-r2450 | svn-r2493)
- Prevents the PSPSDK configure script from overriding the --prefix option.
- no-printf-in-abort.diff (svn-r2450 | svn-r2493)
- Removes the printf() call in the psplibc implementation of abort(), so programs which do not otherwise call printf() do not need to link the function into the final executable.
- psp-config-prefix-detection.diff (svn-r2450 | svn-r2493)
- Use the compiled-in installation prefix rather than manually searching directories for the psp-config executable.
- quiet-pack-pbp.diff (svn-r2450 | svn-r2493)
- Makes the pack-pbp program operate quietly, rather than outputting details of the files it adds to the output PBP package. Verbose output can be enabled again by adding the "-v" option before any filename parameters.
- sdk-version-funcs.diff (svn-r2494)
- Adds prototypes and stubs for the sceKernelSetCompiledSdkVersion() and sceKernelGetCompiledSdkVersion() functions.
- stdio-fix.diff (svn-r2450 | svn-r2493)
- Fixes a compilation error in the stdio portion of psplibc.
rxvt-unicode
- detailed-codeset-warnings.diff (8.8 | 9.02)
- Prints more detailed warning messages when the codeset for a font cannot be determined.
- iso-646-fix.diff (8.8 | 9.02)
- Fixes a typo preventing the ISO-646.1991 character set from being recognized.
- japanese-symbol-width.diff (8.3 | 8.8 | 9.02 | 9.07)
- A crude patch to force all Unicode characters in the range U+2000...U+27FF to be treated as double-width, to ensure proper alignment when using a Japanese font.
samba
- nmbd-piddir.diff (3.4.3)
- Adds support to nmbd for --piddir and related pathname specification command-line options.
SDL
- glx-memory-leak-fix.diff (1.2.13)
- Fixes an OpenGL-related memory leak in X11 environments.
- no-xim.diff (1.2.13)
- Prevents SDL from creating an XIM (X Input Method) context in X11 environments, which seems to cause some SDL programs to freeze at startup.
- yuv-crash-fix.diff (1.2.15)
- Disables accelerated YUV-to-RGB decoding to work around multiple crashes in the accelerated decoding routines. See: http://bugzilla.libsdl.org/show_bug.cgi?id=1462
seamonkey
- libjpeg-turbo-optional.diff (2.15)
- Allows building with the system libjpeg even if it doesn't have the libjpeg-turbo extensions.
- middle-click-ignore-empty-tab.diff (2.8 | 2.15)
- Disables special treatment of empty tabs when using the middle mouse button (or Ctrl-click, etc.) to open a link in a new tab or window.
shadow
- chkname-fix.diff (4.0.18.2-gentoo)
- Changes the definition of an allowable user or group name to anything matching /^[A-Za-z0-9_.-]\$?$/. Note that this can cause problems with certain system utilities or daemons if not used correctly.
snd-util
- device-selection-patch.diff (3.5)
- Allows different OSS devices to be selected from the command line (mixer -d /dev/mixerN, vplay -D /dev/dspN).
snes9x
- configure-fix.diff (1.51)
- Fixes a bug in the included configure.in file which causes configure to fail in the arithmetic-right-shift tests. Note that the configure script must be regenerated after applying this patch.
- debug-poke-command.diff (1.51)
- Adds a command "> [$BB:AAAA] $XX $XX..." to write byte data ($XX) to memory ($BB:AAAA, continues from the previous write if omitted).
- hires-typo-fix.diff (1.43 | 1.51)
- Fixes a typo preventing high-resolution graphics from being used in certain video resolutions.
- linux-2.6.17-joystick_h-fix.diff (1.43 | 1.51)
- Works around a compilation error under (at least) Linux 2.6.17 in which the <linux/joystick.h> header defines a field named "class", causing an error when used in C++ source.
- loadsave-key-binding-fix.diff (1.43)
- Inverts the meaning of the Shift key with respect to save states (so Shift-F# saves a state while the unshifted F# loads it), to avoid accidentally overwriting save states with a wayward keypress.
- no-mode7int.diff (1.51)
- Removes the default keyboard definition of Shift+9 to the undefined command "Mode7Interpolate", which causes an error message to be printed every time the program is started.
- record-audio.diff (1.43 | 1.51)
- Allows the emulated sound output to be recorded to a raw PCM file when using the Linux SVGAlib or X11 interfaces. Recording can be started by pressing Ctrl-R ("Record") and stopped by pressing Ctrl-T ("sTop") at any time. Recorded sound is written to the ROM filename with a ".pcm" extension in the same directory SPC dumps are written to (for version 1.43, the output file is "audio.raw" in the current directory); the file is truncated each time a new recording is started. Also adjusts the behavior of Linux audio output in synchronized sound mode for more accurate audio dumps at the cost of more popping while the emulation is running.
- scale-3x.diff (1.51)
- Adds a new interpolation mode 6 (command line option -y6) which expands the SNES display output by a factor of 3 relative to a low-resolution, non-interlaced screen, mimicking the scanlines of a traditional CRT television. This patch currently works properly only on 24- or 32-bit displays using BGRA pixel order, is only implemented for Linux/X11, and has not been tested with high-resolution or interlaced graphics.
- sprintf-fix.diff (1.51)
- Fixes incorrect usage of of sprintf() which breaks instruction and memory dumps in the debugger.
- window-height-fix.diff (1.43 | 1.51)
- Fixes a bug in X11 mode causing the window to be 1 pixel (2 pixels in high-resolution mode) too short to display the entire emulated screen.
sox
- 8svx-preserve-repeat.diff (14.0.0 | 14.1.0)
- Preserves the repeat (loop) start and length stored in IFF 8SVX files when changing such a file's sampling rate.
- restore-short-options.diff (14.4.0)
- Removes the deprecation warning on the short options for sample size (-1, -2, -3, -4, -8) and type (-s, -u, -f, -a, -i, -o, -g, -U, -A).
strace
- support-loop-ioctls.diff (4.5.16 | 4.5.19 | 4.5.20)
- Adds support for Linux loop device ioctl calls.
- support-sound-ioctls.diff (4.5.16 | 4.5.19 | 4.5.20)
- Adds support for Linux audio device ioctl calls.
svgalib
- gcc4-fixes.diff (1.4.3)
- Fixes compilation errors when compiling with GCC 4.x.
- make-depend-fix.diff (1.4.3)
- Fixes a failure when running "make depend".
- mmap-fix.diff (1.4.3)
- Fixes a false error result when mmap() returns an address with the high bit set.
- new-fbdev-driver.diff (1.4.3)
- Replaces the distributed fbdev driver with a better-functioning one.
tcsh
- ignore-unknown-ls-colors.diff (6.15.00)
- Ignores unknown color types in the LS_COLORS environment variable, rather than aborting.
tetrinet
- brute-force-decryption.diff (0.11)
- Allows the server to decrypt clients' connection messages using brute force if the standard algorithm (based on the client's IP address) does not work, so that clients behind NAT can connect to the server.
- no-ipv6-fix.diff (0.11)
- Fixes a careless error causing compilation to fail if IPv6 support was disabled.
- server-lines.diff (0.11)
- Adds the "server lines" feature from the original Windows version of Tetrinet, causing the server to start adding lines to all players' fields if the game does not end within a certain period of time.
tremor
- oom-fixes.diff (svn-r18116)
- Fixes numerous NULL dereference errors and memory leaks caused by failures in unchecked memory allocation calls.
- warning-fixes.diff (svn-r18116)
- Fixes compiler warnings about missing function declarations and signed/unsigned comparison mismatches.
uae
- currprefs-stereo-fix.diff (0.8.25 | 0.8.26 | 0.8.29)
- Fixes compilation errors resulting from use of the obsolete currprefs.stereo field name.
- extra-file-mode-support.diff (0.8.25 | 0.8.26 | 0.8.29)
- Maps the AmigaOS file modes FIBF_SCRIPT (command script), FIBF_DELETE (deletable), and FIBF_PURE (pure executable) to the Unix file modes S_ISUID (set-user-id), S_ISGID (set-group-id), and S_ISVTX (sticky) respectively.
- gcc4-fixes.diff (0.8.25)
- Fixes compilation errors that occur when compiling with GCC 4.x.
- missing-header-fix.diff (0.8.25 | 0.8.26 | 0.8.29)
- Adds the missing header src/cpu_prefetch.h.
- nogui-cleanup.diff (0.8.25 | 0.8.26 | 0.8.29)
- Adds missing interface functions to src/nogui.c, and removes two unused local functions (one of which conflicts with a system header declaration).
unzip
- compressed-empty-file-fix.diff (6.0)
- Fixes a bug breaking extraction of size-zero entries in encrypted ZIP files.
- disable-filename-translation.diff (5.52)
- Disables the translation of filenames into the ISO 8859-1 character set (which can corrupt Japanese filenames, for example).
util-linux
- lomount-32-byte-key-fix.diff (2.12r | 2.13)
- Fixes a bug which caused the last byte of a 32-byte key to be truncated.
VisualBoyAdvance
- arm-core-rewrite.diff (1.7.2)
- Replaces the ARM/Thumb emulation core with a rewritten version that compiles significantly more quickly and runs 5-10% faster (patch #1292942 on Sourceforge). Requires cvs-20080121.diff to be applied first.
- cvs-20080121.diff (1.7.2)
- Applies all changes committed to sourceforge.net CVS as of 2008/1/21 (note that the most recent change seems to be September 2006).
- debug-key-change.diff (1.7.2)
- Changes the key to activate debugging from F11 to D (so that debugging is not accidentally activated if the user intends to press F10 but misses).
- sai-asm-fix.diff (1.7.2)
- Fixes build errors in the file src/i386/2xSaImmx.asm after applying cvs-20080121.diff.
- sound-outfile.diff (1.7.2)
- Adds the command-line option "--sound-outfile=..." to allow sound to be output to a file rather than the system audio device.
webalizer
- extended-history.diff (2.01.10)
- Extends the monthly history summary so that more than one year's worth of data is listed. (The patch uses a default of 256 months; this can be changed via the HIST_SIZE macro in preserve.h.)
- timezones.diff (2.01.10)
- Properly handles time zones given in access log entries, and converts all times to the local time of the environment in which the program is run.
whois
- getaddrinfo-fix.diff (4.7.24 | 4.7.33)
- Retries the getaddrinfo() call without the AI_IDN (internationalized domain name support) flag if the first call returns an EAI_BADFLAGS (invalid flags) error. Required to avoid runtime errors in environments where glibc is compiled without libidn.
x264
- hrd_pulldown_interlace.diff (67 | 68 | 80 | 84)
- (Obsoleted by later updates to x264.) Adds support for inserting NAL HRD parameters into the bitstream (via the configuration paramter "b_nal_hrd" or the corresponding command-line option "--nal-hrd") and several other features. Found on doom9.org: http://forum.doom9.org/showthread.php?t=130364
- nal-hrd1.22.diff (84)
- (Obsoleted by later updates to x264.) An alternate version of the hrd_pulldown_interlace patch, from doom9.org: http://forum.doom9.org/showthread.php?t=152127
- nal-hrd1.22-fix.diff (84)
- (Obsoleted by later updates to x264.) Fixes a bug in nal-hrd1.22.diff causing the top-field-first flag to be ignored when generating the H.264 bitstream.
- no-assert-lowres.diff (80 | 84 | 107)
- Removes the assert() call which causes an "Assertion `h->frames.b_have_lowres' failed." crash at the end of the second pass in a 2-pass encode when the 2-pass log file has fewer frames than the video itself (which is apparently caused by the use of B-frames).
xawtv
- include-pathname-fix.diff (3.95)
- Fixes an incorrect #include pathname.
- yuv420p-avi.diff (3.95)
- Allows YUV 4:2:0 planar data to be written to AVI files.
- no-flush-buttons.diff (1.2.2)
- Disables the "button flush" logic used when activating the X11 virtual terminal, which causes spurious button-release events to be propogated to X clients when switching from a text console back to X. (As a result, any buttons held down while switching away from X will still be considered "pressed" after switching back.) See: http://bugs.freedesktop.org/show_bug.cgi?id=13930
xfractint
- filename-buffer-overflow-fix.diff (3.10 | 20.04p07)
- Fixes an off-by-one bug in filename handling that can cause corruption of the stack.
- gcc331-fixes.diff (3.10)
- Fixes compilation errors that occur when compiling with GCC 3.3.1 and later.
xgospel
- menu-crash-fix.diff (1.12d)
- Fixes a crash that can occur when using menus.
xkbdata
- jp106-fixes.diff (1.0.1)
- Fixes the X.Org keyboard data to properly recognize extended keys on Japanese 106-key keyboards.
xkeycaps
- gcc331-fixes.diff (2.46)
- Fixes compilation errors that occur when compiling with GCC 3.3.1 and later.
xmbdfed
- gcc41-fixes.diff (4.7)
- Fixes compilation errors that occur when compiling with GCC 4.1.
xmon
- gcc4-fixes.diff (1.5.6)
- Fixes compilation errors that occur when compiling with GCC 4.x.
xmp
- dont-strip.diff (2.7.1)
- Prevents the Makefiles from stripping symbols out of installed executable files.
- envelope-reset-fix.diff (2.4.1)
- Ensures that the waveform envelope is reset when appropriate, even when no note is given in the corresponding row (fixes playback of mod.AKingIsBorn).
- missing-difftime-prototype-fix.diff (2.4.1)
- Includes <time.h> in src/misc/control.c to ensure that difftime() is declared.
- multiple-song-fix.diff (2.4.1)
- Allows the second and later songs in a file with multiple independent songs (such as separate sequence loops in a MOD file) to be played. Also removes an extraneous "if" statement.
- no-porta-on-tick-zero.diff (2.5.1)
- Prevents portamento from being applied on the first tick of each row (fixes the speed of the portamento in pattern 04 of mod.Biomechanoid).
- no-tempo-zero.diff (2.4.1 | 2.5.1 | 2.7.1)
- Ignores attempts by modules to set the playback tempo to zero.
- pan-divide-by-zero-fix.diff (2.4.1)
- Prevents division by zero when the command-line option "-P 100" is given.
- reset-dsp-on-exit.diff (2.4.1 | 2.5.1 | 2.7.1)
- Resets the DSP device on exit, terminating playback immediately rather than waiting for buffered data to finish playing.
- stop-build-on-error.diff (2.4.1 | 2.5.1 | 2.7.1)
- Changes the top-level Makefile to abort the build when a compilation error occurs in a subdirectory.
- tone-vslide-fix.diff (2.4.1 | 2.5.1 | 2.7.1)
- Fixes handling of SoundTracker effect 5 (tone portamento with volume slide), preventing sound glitches in pattern 04 of mod.Biomechanoid.
xsane
- snprintf.diff (0.991 | 0.994 | 0.995)
- Replaces sprintf() calls by snprintf() to avoid buffer overflows.
- window-position-fix.diff (0.991 | 0.994 | 0.995)
- Offsets the GTK window positions to prevent the windows from "crawling" toward the upper left corner of the display each time XSane is restarted.
xv
- libpng-1.4-fixes.diff (3.10a+20070520)
- Updates the PNG code for libpng 1.4, avoiding direct references to the info_ptr structure (which are now deprecated). Intended to be applied on top of png-buffer-overflow-fix.diff.
- png-buffer-overflow-fix.diff (3.10a+20070520)
- Fixes a buffer overflow in loading PNG files with comments.
xwave
- buffer-overflow-fixes.diff (0.7)
- Fixes a buffer overflow (apparently harmless) in menu.c and a cosmetic buffer overflow (definitely harmless) in status.c.
- force-stereo.diff (0.7)
- Forces all audio to be played back in stereo mode (monaural files are played with the same sound repeated in both channels), to accommodate buggy sound drivers which claim to support monaural audio but play it back as stereo instead.
- maxmem-off-by-one-fix.diff (0.7)
- Fixes an off-by-one bug causing files of data size exactly "maxmem" bytes (16M by default) to be uneditable.
- saved-mark.diff (0.7)
- Implements a "saved mark" (a second cursor position), which can be swapped with the current cursor position by pressing F12.
yudit
- gcc4-fixes.diff (2.7.8)
- Fixes compilation errors that occur when compiling with GCC 4.x.
zlib
- cmake-test-example-flags.diff (1.2.6)
- Adds ENABLE_TESTS and BUILD_EXAMPLES flags to the CMake configuration file.
- uninitialized-access-fix.diff (1.2.3)
- Prevents the compression algorithm from generating uninitialized data access errors when using a memory access checking tool like Valgrind, at the cost of a minor increase in execution time.