Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Update
xine-ui
xine-ui-various.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xine-ui-various.diff of Package xine-ui
--- 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor