diff options
Diffstat (limited to 'tecmake-fix-Linux5-build.patch')
-rw-r--r-- | tecmake-fix-Linux5-build.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/tecmake-fix-Linux5-build.patch b/tecmake-fix-Linux5-build.patch deleted file mode 100644 index d15dd02dd381..000000000000 --- a/tecmake-fix-Linux5-build.patch +++ /dev/null @@ -1,76 +0,0 @@ ---- iup/tecmake.mak 2019-06-14 12:29:33.336492042 +0200 -+++ iup/tecmake.mak.new 2019-06-14 12:27:56.818718486 +0200 -@@ -299,12 +299,12 @@ - - ifdef GTK_DEFAULT - ifndef USE_GTK2 -- ifneq ($(findstring Linux4, $(TEC_UNAME)), ) -- USE_GTK3 = Yes -- endif -- ifneq ($(findstring Linux31, $(TEC_UNAME)), ) -- USE_GTK3 = Yes -+ ifneq ($(findstring Linux, $(TEC_UNAME)), ) -+ ifeq ($(shell expr $(TEC_SYSVERSION)$(TEC_SYSMINOR) \>= 31), 1) -+ USE_GTK3 = Yes -+ endif - endif -+ - ifneq ($(findstring cygw, $(TEC_UNAME)), ) - USE_GTK3 = Yes - endif -@@ -1169,15 +1169,16 @@ - LDIR += $(CD_LIB) - endif - -- ifneq ($(findstring Linux26g4, $(TEC_UNAME)), ) -- LIBS += fontconfig -- endif -- ifneq ($(findstring Linux3, $(TEC_UNAME)), ) -- LIBS += fontconfig -- endif -- ifneq ($(findstring Linux4, $(TEC_UNAME)), ) -- LIBS += fontconfig -+ ifneq ($(findstring Linux, $(TEC_UNAME)), ) -+ ifeq ($(shell expr $(TEC_SYSVERSION) \>= 3), 1) -+ LIBS += fontconfig -+ else -+ ifneq ($(findstring Linux26g4, $(TEC_UNAME)), ) -+ LIBS += fontconfig -+ endif -+ endif - endif -+ - ifneq ($(findstring cygw, $(TEC_UNAME)), ) - LIBS += fontconfig - endif -@@ -1213,18 +1214,20 @@ - endif - - ifdef LINK_WEBKIT -- ifneq ($(findstring Linux4, $(TEC_UNAME)), ) -- LIBS += webkitgtk-3.0 -- else -- ifneq ($(findstring Linux3, $(TEC_UNAME)), ) -- ifdef USE_GTK3 -- LIBS += webkitgtk-3.0 -- else -- LIBS += webkitgtk-1.0 -+ ifneq ($(findstring Linux, $(TEC_UNAME)), ) -+ ifeq ($(shell expr $(TEC_SYSVERSION) \>= 4), 1) -+ LIBS += webkitgtk-3.0 -+ else -+ ifneq ($(findstring Linux3, $(TEC_UNAME)), ) -+ ifdef USE_GTK3 -+ LIBS += webkitgtk-3.0 -+ else -+ LIBS += webkitgtk-1.0 -+ endif - endif -- else -- LIBS += webkit-1.0 - endif -+ else -+ LIBS += webkit-1.0 - endif - endif - |