x11/rc.x11

Fri, 13 Apr 2012 18:48:23 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 13 Apr 2012 18:48:23 +0200
changeset 418
680c3f7768b0
permissions
-rw-r--r--

Correct various structure and architecture problems in code including:
use functions from ISO C stdio requires cstdio header,
include sockio header only in platforms where it's present,
touch random number seeder logic on X86-64 platforms as well as IA-32,
and hopefully use all 64 bits of register as it would seem that more
like 'asm("rdtsc" : "=a" (lowtick), "=d" (hitick));' is needed instead.

michael@82 1 #!@l_prefix@/bin/openpkg rc
michael@82 2 ##
michael@82 3 ## rc.x11 -- Run-Commands
michael@82 4 ##
michael@82 5
michael@82 6 %config
michael@82 7 x11_bindir="@x11_bindir@"
michael@82 8 x11_incdir="@x11_incdir@"
michael@82 9 x11_libdir="@x11_libdir@"
michael@82 10
michael@82 11 %info -o
michael@82 12 echo "X11 Binary Directory: ${x11_bindir}"
michael@82 13 echo "X11 Include Directory: ${x11_incdir}"
michael@82 14 echo "X11 Library Directory: ${x11_libdir}"
michael@82 15

mercurial