Ticket #1590: patch1.diff
File patch1.diff, 3.2 KB (added by , 18 years ago) |
---|
-
configure
2726 2726 echo "Mac accel. $mac_accel" 2727 2727 echo "OpenGL vsync $opengl_vsync" 2728 2728 echo "DirectFB $direct_fb" 2729 if test x"$mingw32" = x"yes" -o x"$ cygwin" = x"yes" ; then2729 if test x"$mingw32" = x"yes" -o x"$targetos" = x"CYGWIN" ; then 2730 2730 echo "DirectX $direct_x" 2731 2731 fi 2732 2732 echo … … 3174 3174 echo "CONFIG_X264=yes" >> $MYTH_CONFIG_MAK 3175 3175 fi 3176 3176 3177 if test x"$targetos" = x"CYGWIN" ; then 3178 echo "#define CONFIG_CYGWIN 1" >> $TMPH 3179 echo "#ifndef llrint" >> $TMPH 3180 echo "#define llrint llrint // make sure not to define twice" >> $TMPH 3181 echo "static inline long long int llrint (double x)" >> $TMPH 3182 echo "{" >> $TMPH 3183 echo " long long int llrintres;" >> $TMPH 3184 echo " asm" >> $TMPH 3185 echo " (\"fistpll %0\"" >> $TMPH 3186 echo " : \"=m\" (llrintres) : \"t\" (x) : \"st\");" >> $TMPH 3187 echo " return llrintres;" >> $TMPH 3188 echo "}" >> $TMPH 3189 echo "#endif" >> $TMPH 3190 fi 3191 3177 3192 if test "$mingw32" = "yes" ; then 3178 3193 echo "#define CONFIG_MINGW 1" >> $TMPH 3179 3194 echo "CONFIG_MINGW=yes" >> $MYTH_CONFIG_MAK -
libs/libavcodec/libavcodec.pro
17 17 QMAKE_CFLAGS_SHLIB = 18 18 } 19 19 20 cygwin { 21 LIBS += -lz 22 } 23 20 24 QMAKE_CFLAGS_DEBUG += -O 21 25 22 26 QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2) -
libs/libavformat/libavformat.pro
13 13 14 14 LIBS += $$LOCAL_LIBDIR_X11 15 15 16 cygwin { 17 LIBS += -lz 18 } 19 16 20 QMAKE_CLEAN += $(TARGET) $(TARGETA) $(TARGETD) $(TARGET0) $(TARGET1) $(TARGET2) 17 21 18 22 # Input -
libs/libmyth/libmyth.pro
61 61 inc.files += mythevent.h mythobservable.h mythsocket.h 62 62 inc.files += mythexp.h mythpluginapi.h 63 63 64 cygwin { 65 DEFINES += CONFIG_CYGWIN 66 } 67 64 68 using_oss { 65 69 DEFINES += USING_OSS 66 70 SOURCES += audiooutputoss.cpp -
libs/libmyth/util.cpp
18 18 #include <sys/sysinfo.h> 19 19 #else 20 20 #include <sys/param.h> 21 #ifdef CONFIG_CYGWIN 22 #include <sys/statfs.h> 23 #else 21 24 #include <sys/sysctl.h> 25 #endif 22 26 #include <sys/mount.h> 23 27 #endif 24 28 -
settings.pro
7 7 LIBVERSION = 0.20 8 8 VERSION = 0.20.0 9 9 10 # if CYGWIN compile, set up flag in CONFIG 11 contains(TARGET_OS, CYGWIN) { 12 CONFIG += cygwin 13 } 14 10 15 # Die on the (common) case where OS X users inadvertently use Fink's 11 16 # Qt/X11 install instead of Qt/Mac. ' 12 17 contains(CONFIG_DARWIN, yes) {