source:
scripts/untested/blfs-patches/mas-cvs-add_amd64.patch@
def3913
Last change on this file since def3913 was 617118d, checked in by , 19 years ago | |
---|---|
|
|
File size: 6.0 KB |
-
clients/util/mas-config.cpp
diff -ur mas-cvs-20050207/clients/util/mas-config.cpp mas-cvs-mod/clients/util/mas-config.cpp
old new 1 #!/bin/sh1 XCOMM!/bin/sh 2 2 3 # 4 #mas-config.cpp - builds "mas-config" that can echo libraries,5 #includes, and defines ala gtk's gtk-config.6 # 3 XCOMM 4 XCOMM mas-config.cpp - builds "mas-config" that can echo libraries, 5 XCOMM includes, and defines ala gtk's gtk-config. 6 XCOMM 7 7 8 8 show_usage() 9 9 { -
clients/util/mas-launch.cpp
diff -ur mas-cvs-20050207/clients/util/mas-launch.cpp mas-cvs-mod/clients/util/mas-launch.cpp
old new 1 #!/bin/bash1 XCOMM!/bin/bash 2 2 3 #kill esound if it's running -- we can't coexist.3 XCOMM kill esound if it's running -- we can't coexist. 4 4 pkill esd 5 5 6 6 if [[ $1 == "-t" ]]; -
common/mas_endian.h
diff -ur mas-cvs-20050207/common/mas_endian.h mas-cvs-mod/common/mas_endian.h
old new 137 137 #if (!defined(MAS_BIG_ENDIAN) && !defined(MAS_LITTLE_ENDIAN)) 138 138 139 139 #if defined(__i386__) || defined(__ia64__) || defined(WIN32) || \ 140 defined(__amd64__) || defined(__x86_64__) || \ 141 defined(amd64__) || defined(x86_64__) || \ 140 142 (defined(__alpha__) || defined(__alpha)) || \ 141 143 defined(__arm__) || \ 142 144 (defined(__mips__) && defined(__MIPSEL__)) || \ -
config/Imake.cf
diff -ur mas-cvs-20050207/config/Imake.cf mas-cvs-mod/config/Imake.cf
old new 401 401 # ifdef i386 402 402 # define i386Architecture 403 403 # undef i386 404 # endif 404 405 # ifdef __i386__ 405 406 # ifndef i386Architecture 406 407 # define i386Architecture 407 408 # endif 408 409 # undef __i386__ 409 410 # endif /* i386 */ 411 # ifdef __x86_64__ 412 # undef __x86_64__ 413 # define AMD64Architecture 414 # endif /* x86_64 */ 410 415 # ifdef __alpha 411 416 # define AlphaArchitecture 412 417 # undef __alpha 413 418 # endif /* __alpha */ 414 #endif415 419 #endif /* linux */ 416 420 417 421 #ifdef __uxp__ -
config/Imake.tmpl
diff -ur mas-cvs-20050207/config/Imake.tmpl mas-cvs-mod/config/Imake.tmpl
old new 337 337 # define ExportDefines 338 338 #endif 339 339 340 #ifndef LibDirName 341 # define LibDirName lib 342 #endif 343 340 344 #ifndef UsrLibDir 341 345 #ifdef ProjectRoot 342 #define UsrLibDir Concat(ProjectRoot,/ lib)346 #define UsrLibDir Concat(ProjectRoot,/LibDirName) 343 347 #ifndef AlternateUsrLibDir 344 348 #define AlternateUsrLibDir YES 345 349 #endif 346 350 #else 347 #define UsrLibDir /usr/lib351 #define UsrLibDir Concat(/usr,/LibDirName) 348 352 #ifndef AlternateUsrLibDir 349 353 #define AlternateUsrLibDir NO 350 354 #endif … … 597 601 #define GzipCmd gzip 598 602 #endif 599 603 #ifndef CppCmd 600 #define CppCmd / lib/cpp604 #define CppCmd /LibDirName/cpp 601 605 #endif 602 606 #ifndef CppNoLineInfoOption 603 607 #define CppNoLineInfoOption /**/ -
config/linux.cf
diff -ur mas-cvs-20050207/config/linux.cf mas-cvs-mod/config/linux.cf
old new 195 195 #endif 196 196 #endif /* i386Architecture */ 197 197 198 #ifdef AMD64Architecture 199 #define OptimizedCDebugFlags DefaultGcc2AMD64Opt 200 #define LinuxMachineDefines -D__x86_64__ 201 #define ServerOSDefines XFree86ServerOSDefines -DDDXTIME 202 #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines 203 #if UseElfFormat 204 #define HasPlugin YES 205 #define VendorHasX11R6_3libXext YES /* XC or XFree86 3.3.1 */ 206 #endif 207 #endif /* AMD64Architecture */ 208 198 209 #ifdef AlphaArchitecture 199 210 #define OptimizedCDebugFlags -O2 200 211 #define LinuxMachineDefines -D__alpha__ … … 210 221 #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines 211 222 #endif /* Mc68020Architecture */ 212 223 224 #ifndef HaveLib64 225 # if defined (AMD64Architecture) 226 # define HaveLib64 YES 227 # else 228 # define HaveLib64 NO 229 # endif 230 #endif 231 232 #if HaveLib64 233 # ifndef LibDirName 234 # define LibDirName lib64 235 # endif 236 #endif 237 213 238 #define StandardDefines -Dlinux LinuxMachineDefines LinuxSourceDefines 214 239 215 240 #define ConnectionFlags -DUNIXCONN -DTCPCONN -
config/mas.tmpl
diff -ur mas-cvs-20050207/config/mas.tmpl mas-cvs-mod/config/mas.tmpl
old new 57 57 MAS_ENDIANNESS = MAS_LITTLE_ENDIAN 58 58 #define MAS_WE_ARE_LITTLE_ENDIAN 59 59 60 #elif defined(AMD64Architecture) 61 MAS_ENDIANNESS = MAS_LITTLE_ENDIAN 62 #define MAS_WE_ARE_LITTLE_ENDIAN 63 60 64 #elif defined(ia64Architecture) 61 65 MAS_ENDIANNESS = MAS_LITTLE_ENDIAN 62 66 #define MAS_WE_ARE_LITTLE_ENDIAN -
config/xfree86.cf
diff -ur mas-cvs-20050207/config/xfree86.cf mas-cvs-mod/config/xfree86.cf
old new 586 586 #endif 587 587 #endif 588 588 589 #if HasGcc2 && defined(AMD64Architecture) 590 # ifndef DefaultGcc2AMD64Opt 591 # define DefaultGcc2AMD64Opt -O3 -fno-strength-reduce 592 # endif 593 #endif 594 589 595 #ifndef BuildLBXCompatible 590 596 #define BuildLBXCompatible NO 591 597 #endif -
devices/visual/Imakefile
diff -ur mas-cvs-20050207/devices/visual/Imakefile mas-cvs-mod/devices/visual/Imakefile
old new 12 12 XCOMM ################ Architecture dependent ########################### 13 13 14 14 #ifdef LinuxArchitecture 15 ARCHREQUIREDLIBS = -L/usr/X11R6/ lib15 ARCHREQUIREDLIBS = -L/usr/X11R6/LibDirName 16 16 #endif 17 17 18 18 #ifdef SunArchitecture … … 34 34 LOCAL_LIBRARIES = 35 35 SYS_LIBRARIES = 36 36 DEPLIBS = 37 REQUIREDLIBS = $(ARCHREQUIREDLIBS) -L/usr/local/ lib-lX11 -lXext -lsrfftw -lsfftw -lm37 REQUIREDLIBS = $(ARCHREQUIREDLIBS) -L/usr/local/LibDirName -lX11 -lXext -lsrfftw -lsfftw -lm 38 38 39 39 #include <Library.tmpl> 40 40
Note:
See TracBrowser
for help on using the repository browser.