SHA256
1
0
forked from pool/xine-ui
Files
xine-ui/xine-ui-various.diff
Manfred Tremmel 31d2e71899 - update to 0.99.6:
* Use pkg-config only; xine-config is deprecated.
  * Fix build with libpng 1.4.
  * Fix build on Mac OS X.
  * Fix segfaults caused by our getline() (only used if no system getline()).
  * Add front-end support for .ass subtitles.
  * Point xine-bugreport at the current bugs list; note the bug tracker URL.
  * Disable character substitution code (xine bug 30). Let's see what breaks...
  * Set menu windows' override-redirect flag (xine bug 24)
  * Automatically load opensubtitle-like filenames <name>.*.<subext>
  * New/updated spanish manpage translations from Carlos E. Robinson
  * Fixed possible corruption and overflow of keybindings table
  * Mark the toolbar window as such; should fix control panel visibility issues
    in full-screen mode with some window managers. [bug SF 1750100]
  * New command/keybinding from Richard van Paasen:
    "PVRSetFrequency" changes frequency on ivtv cards (input_pvr).
  * Install a shared-mime-info entry for .tox files, contributed by
    Peter Fox in bug #10.
  * New commands/keybindings from Richard van Paasen:
    "PVRSetInput" changes input on ivtv cards (input_pvr);
    "PVRSetMark", "PVRSetName", "PVRSave" enable saving
    of live streams from ivtv cards (input_pvr).
  * New command/keybinding from Richard van Paasen:
    "SetPosition100%" jumps to end of stream.
  * Recognize .rmvb files, closes debian bug #437864.
  * Recognize .m2p files, closes debian bug #419002.
  * Fixes for stdctl race conditions, contributed by Stas Sergeev
  * Resetting the video controls restores the driver default settings
    instead of fixed center values
  * New commands/keybindings from Stas Sergeev:

OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-ui?expand=0&rev=15
2012-05-26 15:13:23 +00:00

55 lines
1.2 KiB
Diff

--- m4/aa.m4 2009-12-19 00:14:27.000000000 +0100
+++ m4/aa.m4 2012-05-26 13:56:48.462636319 +0200
@@ -53,6 +53,22 @@
#include <stdlib.h>
#include <aalib.h>
+char*
+my_strdup (char *str)
+{
+ char *new_str;
+
+ if (str)
+ {
+ new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
+ strcpy (new_str, str);
+ }
+ else
+ new_str = NULL;
+
+ return new_str;
+}
+
int main () {
int major, minor;
char *tmp_version;
@@ -60,7 +76,7 @@
system ("touch conf.aalibtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
- tmp_version = (char *) strdup("$min_aalib_version");
+ tmp_version = my_strdup("$min_aalib_version");
if (sscanf(tmp_version, "%d.%d", &major, &minor) != 2) {
printf("%s, bad version string\n", "$min_aalib_version");
exit(1);
--- misc/xine-check.sh.in 2010-03-06 02:14:50.000000000 +0100
+++ misc/xine-check.sh.in 2012-05-26 13:49:20.113298133 +0200
@@ -481,7 +481,16 @@
msg found-xine 0
fi
else
- msg no-xine 0
+ if search -x bin/kaffeine; then
+ xine_executables="$found"
+ if [ `echo "$xine_executables" | wc -l` -gt 1 ]; then
+ msg several-xine 1
+ else
+ msg found-xine 0
+ fi
+ else
+ msg no-xine 0
+ fi
fi