pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54412: Patch for codelite 13.0



>Number:         54412
>Category:       pkg
>Synopsis:       Patch  for codelite 13.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 27 10:50:00 +0000 2019
>Originator:     Andrius V
>Release:        current
>Organization:
>Environment:
>Description:
Hi,

codelite package currently builds an old 9.1 version, it was released in the beginning of 2016. I create a patch for the current version at the time of writing (13.0.0) and successfully tested in locally (on NetBSD current). Need your help to review and apply the patch. Thank you.

Regards,
Andrius V
>How-To-Repeat:

>Fix:
Index: editors/codelite/Makefile
==================================================================
--- editors/codelite/Makefile
+++ editors/codelite/Makefile
@@ -1,8 +1,8 @@
 # $NetBSD: Makefile,v 1.20 2019/07/02 13:18:03 ryoon Exp $
 
-DISTNAME=	codelite-9.1
+DISTNAME=	codelite-13.0
 PKGREVISION=	17
 CATEGORIES=	editors x11
 MASTER_SITES=	${MASTER_SITE_GITHUB:=eranif/}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -19,10 +19,11 @@
 
 # For some reason CMAKE_ARGS.NetBSD+=-DIS_NETBSD:STRING=1 doesn't work for me
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
+CMAKE_ARGS+=			-DIS_NETBSD:STRING=1
 SUBST_CLASSES+=			ena-netbsd
 SUBST_STAGE.ena-netbsd=		pre-configure
 SUBST_MESSAGE.ena-netbsd=	Enable NetBSD
 SUBST_FILES.ena-netbsd=		CMakeLists.txt
 SUBST_SED.ena-netbsd+=		-e 's,IS_NETBSD 0,IS_NETBSD 1,g'

Index: editors/codelite/PLIST
==================================================================
--- editors/codelite/PLIST
+++ editors/codelite/PLIST
@@ -1,40 +1,51 @@
 @comment $NetBSD: PLIST,v 1.1 2016/06/15 21:57:04 kamil Exp $
 bin/codelite
 bin/codelite-cc
 bin/codelite-echo
+bin/codelite-lsp-helper
 bin/codelite-make
 bin/codelite-terminal
 bin/codelite_cppcheck
 bin/codelite_exec
 bin/codelite_fix_files
 bin/codelite_indexer
 bin/codelite_kill_children
+bin/codelite_open_helper.py
 bin/codelite_xterm
+lib/codelite/AutoSave.so
 lib/codelite/CMakePlugin.so
 lib/codelite/CallGraph.so
 lib/codelite/CodeFormatter.so
 lib/codelite/CodeLiteDiff.so
 lib/codelite/ContinuousBuild.so
 lib/codelite/Copyright.so
 lib/codelite/DatabaseExplorer.so
+lib/codelite/Docker.so
+lib/codelite/EOSWiki.so
+lib/codelite/EditorConfigPlugin.so
 lib/codelite/ExternalTools.so
 lib/codelite/HelpPlugin.so
+lib/codelite/LanguageServer.so
 lib/codelite/MemCheck.so
 lib/codelite/Outline.so
+lib/codelite/PHPLint.so
+lib/codelite/PHPRefactoring.so
 lib/codelite/QMakePlugin.so
 lib/codelite/SFTP.so
+lib/codelite/SmartCompletion.so
 lib/codelite/SnipWiz.so
 lib/codelite/SpellCheck.so
 lib/codelite/Subversion.so
-lib/codelite/Tweaks.so
 lib/codelite/UnitTestsPP.so
+lib/codelite/Tail.so
 lib/codelite/WebTools.so
 lib/codelite/Wizards.so
 lib/codelite/WordCompletion.so
 lib/codelite/ZoomNavigator.so
 lib/codelite/abbreviation.so
+lib/codelite/codelite_vim.so
 lib/codelite/codelitephp.so
 lib/codelite/cppchecker.so
 lib/codelite/cscope.so
 lib/codelite/debuggers/DebuggerGDB.so
 lib/codelite/git.so
@@ -41,56 +52,65 @@
 lib/codelite/libdatabaselayersqlite.so
 lib/codelite/liblibcodelite.so
 lib/codelite/libplugin.so
 lib/codelite/libwxshapeframework.so
 lib/codelite/libwxsqlite3.so
+lib/codelite/wxCrafter.so
 lib/codelite/wxFormBuilder.so
-man/man1/codelite-make.1
-man/man1/codelite.1
-man/man1/codelite_fix_files.1
 share/applications/codelite.desktop
 share/codelite/LICENSE
 share/codelite/PHP.zip
 share/codelite/astyle.sample
-share/codelite/codelite-bitmaps.zip
-share/codelite/codelite-icons-dark.zip
-share/codelite/codelite-icons-fresh-farm.zip
+share/codelite/codelite-bitmaps-dark.zip
+share/codelite/codelite-bitmaps-light.zip
 share/codelite/codelite-icons.zip
 share/codelite/config/accelerators.conf.default
 share/codelite/config/build_settings.xml.default
 share/codelite/config/cfg/avr.cfg
+share/codelite/config/cfg/bsd.cfg
+share/codelite/config/cfg/cppcheck-cfg.rng
+share/codelite/config/cfg/cppcheck-lib.cfg
+share/codelite/config/cfg/embedded_sql.cfg
+share/codelite/config/cfg/gnu.cfg
 share/codelite/config/cfg/gtk.cfg
+share/codelite/config/cfg/microsoft_sal.cfg
+share/codelite/config/cfg/motif.cfg
 share/codelite/config/cfg/posix.cfg
 share/codelite/config/cfg/qt.cfg
 share/codelite/config/cfg/sdl.cfg
+share/codelite/config/cfg/sfml.cfg
 share/codelite/config/cfg/std.cfg
 share/codelite/config/cfg/windows.cfg
+share/codelite/config/cfg/wxwidgets.cfg
 share/codelite/config/codelite.xml.default
 share/codelite/config/debuggers.xml.default
 share/codelite/dics/en_GB.aff
 share/codelite/dics/en_GB.dic
 share/codelite/dics/en_US.aff
 share/codelite/dics/en_US.dic
+share/codelite/eoswiki.zip
 share/codelite/gdb_printers/boost/__init__.py
 share/codelite/gdb_printers/boost/printers.py
 share/codelite/gdb_printers/helper.py
 share/codelite/gdb_printers/libstdcxx/__init__.py
 share/codelite/gdb_printers/libstdcxx/v6/__init__.py
 share/codelite/gdb_printers/libstdcxx/v6/printers.py
+share/codelite/gdb_printers/libstdcxx/v6/xmethods.py
 share/codelite/gdb_printers/qt4.py
 share/codelite/gdb_printers/wx.py
 share/codelite/images/common_tasks.png
-share/codelite/images/cubes.png
 share/codelite/images/help_earth.png
 share/codelite/images/plugin_not_ok.png
 share/codelite/images/plugin_ok.png
 share/codelite/images/recent_files.png
 share/codelite/images/recent_workspaces.png
 share/codelite/images/splashscreen.png
 share/codelite/images/splashscreen%2x.png@localhost
-share/codelite/javascript.zip
+share/codelite/jsctags.zip
 share/codelite/lexers/lexers.json
+share/codelite/php.sample
+share/codelite/phprefactor.phar
 share/codelite/rc/menu.xrc
 share/codelite/resources/abbrev.png
 share/codelite/resources/compfile.png
 share/codelite/resources/connect_no.png
 share/codelite/resources/cppcheck.png
@@ -273,10 +293,11 @@
 share/codelite/templates/projects/wxWidgets_ConsoleApp/main_app.cpp
 share/codelite/templates/projects/wxWidgets_ConsoleApp/main_app.h
 share/codelite/templates/projects/wxWidgets_ConsoleApp/wxWidgets_ConsoleApp.project
 share/codelite/templates/qmake/qmake.project
 share/codelite/unittest++1.3.tar.gz
+share/codelite/wxgui.zip
 share/icons/hicolor/128x128/apps/codelite.png
 share/icons/hicolor/128x128@2x/apps/codelite.png
 share/icons/hicolor/256x256/apps/codelite.png
 share/icons/hicolor/256x256@2x/apps/codelite.png
 share/icons/hicolor/32x32/apps/codelite.png
@@ -283,5 +304,9 @@
 share/icons/hicolor/32x32@2x/apps/codelite.png
 share/icons/hicolor/64x64/apps/codelite.png
 share/icons/hicolor/64x64@2x/apps/codelite.png
 share/locale/cs/LC_MESSAGES/codelite.mo
 share/locale/zh_CN/LC_MESSAGES/codelite.mo
+share/locale/ru_RU/LC_MESSAGES/codelite.mo
+share/man/man1/codelite-make.1
+share/man/man1/codelite.1
+share/man/man1/codelite_fix_files.1

Index: editors/codelite/distinfo
==================================================================
--- editors/codelite/distinfo
+++ editors/codelite/distinfo
@@ -1,17 +1,14 @@
 $NetBSD: distinfo,v 1.3 2017/02/14 21:31:43 joerg Exp $
 
-SHA1 (codelite-9.1.tar.gz) = a177e3c04612d96918361fcaae226e23f68be90a
-RMD160 (codelite-9.1.tar.gz) = b0ccb31eeadc5a342eba3a562044131868f7ceca
-SHA512 (codelite-9.1.tar.gz) = e7caa895c5ba62def98a50a46132940f7135c77ebe3d2fce7f1d83755ed6ce7dfc6aeb013a665b28eb969afcc1004f49284a253297d2317e72bda5f3945ce978
-Size (codelite-9.1.tar.gz) = 90366396 bytes
-SHA1 (patch-CMakeLists.txt) = aa94edc0803e001f2f56598fa22eb942a250ad1c
-SHA1 (patch-CodeLite_CMakeLists.txt) = 8456740d0de117b8847d8d8745e23ab2c2203e1e
-SHA1 (patch-CodeLite_unixprocess__impl.cpp) = bdaf3b9ec65fc7b623ec875148b30c3d9897d17d
-SHA1 (patch-LiteEditor_CMakeLists.txt) = cc5f625b5ef79d21a0f2405d699757be20180f46
-SHA1 (patch-Plugin_CMakeLists.txt) = 0af7b1ea3f941ebb9ecf41d8b8e4ffa760370fee
-SHA1 (patch-Plugin_wxterminal.cpp) = 02e6c6e4c5813a33ff29e49d53750011d70d1534
-SHA1 (patch-codelite__terminal_MainFrame.cpp) = 5717e46fddde8f7fc1aaf6c794318582f4b6da96
-SHA1 (patch-codelite__terminal_unixprocess__impl.cpp) = 69dfb1cc102213595e97c4e7d690e369a66c4749
-SHA1 (patch-sdk_codelite__indexer_libctags_read.c) = 84dbb412d3879e3d5bb3cc0e18f6388d8b7d4ee5
-SHA1 (patch-sdk_codelite__indexer_network_np__connections__server.cpp) = cf579cc67603c70199992a11e14c458c189f3942
-SHA1 (patch-sdk_wxsqlite3_configure) = 2b10b03efe1ff07ac80a7d4616a63eeac8f18278
+SHA1 (codelite-13.0.tar.gz) = 011e1ce86f6c9bd88278e3935d7f7cc6d90ef2ce
+RMD160 (codelite-13.0.tar.gz) = af6b08ebca99fa7ac56f50ea415aff71d950af0c
+SHA512 (codelite-13.0.tar.gz) = 53b1e8610268ad368d40f31a7355b88a57bb77c29616e02c2eb8a98310ce362f1430a1112761ac81e5c287e84e0703102d18c753328fa7c57b22c66bc4162010
+Size (codelite-13.0.tar.gz) = 63051086 bytes
+SHA1 (patch-CodeLite_CMakeLists.txt) = d0e30ce409746d166c3f050834116623f42e2b31
+SHA1 (patch-CodeLite_unixprocess__impl.cpp) = ba497d2dd383f38c0405df45661ce2a29f38cdc3
+SHA1 (patch-LiteEditor_CMakeLists.txt) = 1b55945779f62bc9e4d0a1ee4ab9ea6e5b44f199
+SHA1 (patch-Plugin_CMakeLists.txt) = 29c4859a6092e6d025220df45199c90a93b6c862
+SHA1 (patch-Plugin_wxterminal.cpp) = 4a86640b6fc532eab93d2f97934b672d87140b06
+SHA1 (patch-codelite__terminal_TextView.cpp) = 4d93659144ecf4780a09a039165d172bc4bc87a7
+SHA1 (patch-sdk_codelite__indexer_libctags_read.c) = 9c9e166dbf895bb746194547e9b0bea99db14926
+SHA1 (patch-sdk_codelite__indexer_network_np__connections__server.cpp) = 98f8cba3597035c79ebfb60ba5d69a27c02c74e4

DELETED  editors/codelite/patches/patch-CMakeLists.txt
Index: editors/codelite/patches/patch-CMakeLists.txt
==================================================================
--- editors/codelite/patches/patch-CMakeLists.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2016/06/15 22:04:17 kamil Exp $
-
-Add NetBSD entry.
-
---- CMakeLists.txt.orig	2016-01-30 10:49:18.000000000 +0000
-+++ CMakeLists.txt
-@@ -59,6 +59,7 @@ endif()
- 
- set( USE_CLANG 1 )
- set( IS_FREEBSD 0 )
-+set( IS_NETBSD 1 )
- set( BUILD_WXC 0 )
- set( CL_COPY_WX_LIBS 0 )
- set( WITH_SFTP 1 )

Index: editors/codelite/patches/patch-CodeLite_CMakeLists.txt
==================================================================
--- editors/codelite/patches/patch-CodeLite_CMakeLists.txt
+++ editors/codelite/patches/patch-CodeLite_CMakeLists.txt
@@ -1,15 +1,15 @@
 $NetBSD: patch-CodeLite_CMakeLists.txt,v 1.2 2017/02/14 21:31:43 joerg Exp $
 
 Add switch for NetBSD to not fall under "other OS".
 
---- CodeLite/CMakeLists.txt.orig	2016-01-30 10:49:18.000000000 +0000
+--- CodeLite/CMakeLists.txt.orig	2019-05-21 17:52:21.000000000 +0300
 +++ CodeLite/CMakeLists.txt
-@@ -60,6 +60,8 @@ set( ADDITIONAL_LIBRARIES "" )
+@@ -69,6 +69,8 @@ set( ADDITIONAL_LIBRARIES "" )
  if (UNIX)
      if ( IS_FREEBSD )
          set(ADDITIONAL_LIBRARIES "-lkvm")
 +    elseif ( IS_NETBSD )
 +        set(ADDITIONAL_LIBRARIES "-lutil")
      elseif ( UNIX AND NOT APPLE )
          set(ADDITIONAL_LIBRARIES "-ldl -lutil")
      else ( )

Index: editors/codelite/patches/patch-CodeLite_unixprocess__impl.cpp
==================================================================
--- editors/codelite/patches/patch-CodeLite_unixprocess__impl.cpp
+++ editors/codelite/patches/patch-CodeLite_unixprocess__impl.cpp
@@ -1,17 +1,17 @@
 $NetBSD: patch-CodeLite_unixprocess__impl.cpp,v 1.1 2016/06/15 22:04:17 kamil Exp $
 
 Add switch for NetBSD to not fall under "other OS".
 
---- CodeLite/unixprocess_impl.cpp.orig	2016-01-30 10:49:18.000000000 +0000
+--- CodeLite/unixprocess_impl.cpp.orig	2019-05-21 17:52:21.000000000 +0300
 +++ CodeLite/unixprocess_impl.cpp
-@@ -44,6 +44,10 @@
+@@ -50,6 +50,10 @@
+ #include <libutil.h>
  #include <sys/ioctl.h>
  #include <termios.h>
- #include <libutil.h>
 +#elif defined(__NetBSD__)
 +#include <sys/ioctl.h>
 +#include <termios.h>
 +#include <util.h>
  #else
  #include <pty.h>
  #include <utmp.h>

Index: editors/codelite/patches/patch-LiteEditor_CMakeLists.txt
==================================================================
--- editors/codelite/patches/patch-LiteEditor_CMakeLists.txt
+++ editors/codelite/patches/patch-LiteEditor_CMakeLists.txt
@@ -2,35 +2,16 @@
 
 Add switch for NetBSD to not fall under "other OS".
 
 Fix path of installation of manpages.
 
---- LiteEditor/CMakeLists.txt.orig	2016-01-30 10:49:18.000000000 +0000
+--- LiteEditor/CMakeLists.txt.orig	2019-05-21 17:52:21.000000000 +0300
 +++ LiteEditor/CMakeLists.txt
-@@ -14,6 +14,9 @@ include( "${wxWidgets_USE_FILE}" )
- # Include paths
- include_directories("${CL_SRC_ROOT}/Plugin" "${CL_SRC_ROOT}/sdk/wxsqlite3/include" "${CL_SRC_ROOT}/CodeLite" "${CL_SRC_ROOT}/PCH" "${CL_SRC_ROOT}/Interfaces")
- 
-+# GNU dirs
-+include(GNUInstallDirs)
-+
- ## On UNIX we require GTK
- if (UNIX AND NOT APPLE)
-     if (GTK_VERSION EQUAL 3)
-@@ -68,6 +71,8 @@ set( ADDITIONAL_LIBRARIES "" )
+@@ -46,6 +46,8 @@ set( ADDITIONAL_LIBRARIES "" )
  if (UNIX)
      if ( IS_FREEBSD )
          set(ADDITIONAL_LIBRARIES "-lkvm")
 +    elseif ( IS_NETBSD )
-+        set(ADDITIONAL_LIBRARIES "")
++       set(ADDTIONAL_LIBRARIES "-lutil")
      elseif ( UNIX AND NOT APPLE )
          set(ADDITIONAL_LIBRARIES "-ldl -lutil -lgobject-2.0")
      else ( )
-@@ -112,7 +117,7 @@ if(NOT APPLE)
- 
-     ## Manual pages
-     if(UNIX AND NOT APPLE)
--        install(DIRECTORY ${CL_SRC_ROOT}/Runtime/man1 DESTINATION ${CL_PREFIX}/share/man)
-+        install(DIRECTORY ${CL_SRC_ROOT}/Runtime/man1 DESTINATION ${CL_PREFIX}/${CMAKE_INSTALL_MANDIR})
-     endif()
- 
-     ## Copy default configuration files

Index: editors/codelite/patches/patch-Plugin_CMakeLists.txt
==================================================================
--- editors/codelite/patches/patch-Plugin_CMakeLists.txt
+++ editors/codelite/patches/patch-Plugin_CMakeLists.txt
@@ -1,15 +1,15 @@
 $NetBSD: patch-Plugin_CMakeLists.txt,v 1.1 2016/06/15 22:04:17 kamil Exp $
 
 Add switch for NetBSD to not fall under "other OS".
 
---- Plugin/CMakeLists.txt.orig	2016-01-30 10:49:18.000000000 +0000
+--- Plugin/CMakeLists.txt.orig	2019-05-21 17:52:21.000000000 +0300
 +++ Plugin/CMakeLists.txt
 @@ -64,6 +64,8 @@ set( ADDITIONAL_LIBRARIES "" )
  if (UNIX)
      if ( IS_FREEBSD )
          set(ADDITIONAL_LIBRARIES "-lkvm")
 +    elseif ( IS_NETBSD )
-+        set(ADDITIONAL_LIBRARIES "")
++        set(ADDITIONAL_LIBRARIES "-lutil")
      elseif ( UNIX AND NOT APPLE )
          set(ADDITIONAL_LIBRARIES "-ldl -lutil")
      else ( )

Index: editors/codelite/patches/patch-Plugin_wxterminal.cpp
==================================================================
--- editors/codelite/patches/patch-Plugin_wxterminal.cpp
+++ editors/codelite/patches/patch-Plugin_wxterminal.cpp
@@ -1,26 +1,26 @@
 $NetBSD: patch-Plugin_wxterminal.cpp,v 1.1 2016/06/15 22:04:17 kamil Exp $
 
 Add switch for NetBSD to not fall under "other OS".
 
---- Plugin/wxterminal.cpp.orig	2016-01-30 10:49:18.000000000 +0000
+--- Plugin/wxterminal.cpp.orig	2019-05-21 17:52:21.000000000 +0300
 +++ Plugin/wxterminal.cpp
-@@ -39,7 +39,7 @@
+@@ -45,7 +45,7 @@
  #define SHELL_WRAPPER wxT("")
  #else
  
 -#if defined(__WXMAC__) || defined(__FreeBSD__)
 +#if defined(__WXMAC__) || defined(__FreeBSD__) || defined(__NetBSD__)
  #include <sys/wait.h>
  #else
  #include <wait.h>
-@@ -55,6 +55,10 @@
+@@ -61,6 +61,10 @@
+ #include <libutil.h>
  #include <sys/ioctl.h>
  #include <termios.h>
- #include <libutil.h>
 +#elif defined(__NetBSD__)
++#include <util.h>
 +#include <sys/ioctl.h>
 +#include <termios.h>
-+#include <util.h>
  #else
  #include <pty.h>
  #endif

DELETED  editors/codelite/patches/patch-codelite__terminal_MainFrame.cpp
Index: editors/codelite/patches/patch-codelite__terminal_MainFrame.cpp
==================================================================
--- editors/codelite/patches/patch-codelite__terminal_MainFrame.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-codelite__terminal_MainFrame.cpp,v 1.1 2016/06/15 22:04:17 kamil Exp $
-
-Add switch for NetBSD to not fall under "other OS".
-
---- codelite_terminal/MainFrame.cpp.orig	2016-01-30 10:49:18.000000000 +0000
-+++ codelite_terminal/MainFrame.cpp
-@@ -16,6 +16,11 @@
- #include <sys/ioctl.h>
- #include <termios.h>
- #include <libutil.h>
-+#elif defined(__NetBSD__)
-+#include <sys/types.h>
-+#include <sys/ioctl.h>
-+#include <termios.h>
-+#include <util.h>
- #elif defined(__WXGTK__)
- #include <pty.h>
- #else

ADDED    editors/codelite/patches/patch-codelite__terminal_TextView.cpp
Index: editors/codelite/patches/patch-codelite__terminal_TextView.cpp
==================================================================
--- editors/codelite/patches/patch-codelite__terminal_TextView.cpp
+++ editors/codelite/patches/patch-codelite__terminal_TextView.cpp
@@ -0,0 +1,41 @@
+
+--- codelite_terminal/TextView.cpp.orig   2019-05-21 17:52:21.000000000 +0300
++++ codelite_terminal/TextView.cpp
+@@ -12,7 +12,11 @@
+     m_ctrl->SetCaretStyle(wxSTC_CARETSTYLE_BLOCK);
+     m_ctrl->SetYCaretPolicy(wxSTC_CARET_STRICT | wxSTC_CARET_SLOP, 4);
+     m_ctrl->SetLexer(wxSTC_LEX_CONTAINER);
++#if wxCHECK_VERSION(3, 1, 1)
+     m_ctrl->StartStyling(0);
++#else
++    m_ctrl->StartStyling(0, 0x1f);
++#endif
+     m_ctrl->SetWrapMode(wxSTC_WRAP_CHAR);
+ #else
+     m_ctrl = new TextCtrl_t(this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize,
+@@ -61,7 +65,11 @@
+ {
+ #if USE_STC
+     m_defaultAttr = attr;
++#if wxCHECK_VERSION(3, 1, 1)
+     m_ctrl->StartStyling(m_ctrl->GetLastPosition());
++#else
++    m_ctrl->StartStyling(m_ctrl->GetLastPosition(), 0x1f);
++#endif
+ #else
+     m_ctrl->SetDefaultStyle(attr);
+ #endif
+@@ -210,6 +218,10 @@
+ #if USE_STC
+     m_ctrl->ClearAll();
+     m_ctrl->ClearDocumentStyle();
++#if wxCHECK_VERSION(3, 1, 1)
+     m_ctrl->StartStyling(0);
+-#endif
+-}
++#else
++    m_ctrl->StartStyling(0, 0x1f);
++#endif
++#endif
++}
+

DELETED  editors/codelite/patches/patch-codelite__terminal_unixprocess__impl.cpp
Index: editors/codelite/patches/patch-codelite__terminal_unixprocess__impl.cpp
==================================================================
--- editors/codelite/patches/patch-codelite__terminal_unixprocess__impl.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-codelite__terminal_unixprocess__impl.cpp,v 1.1 2016/06/15 22:04:17 kamil Exp $
-
-Add switch for NetBSD to not fall under "other OS".
-
---- codelite_terminal/unixprocess_impl.cpp.orig	2016-01-30 10:49:18.000000000 +0000
-+++ codelite_terminal/unixprocess_impl.cpp
-@@ -18,6 +18,10 @@
- #    include <sys/ioctl.h>
- #    include <termios.h>
- #    include <libutil.h>
-+#elif defined(__NetBSD__)
-+#    include <sys/ioctl.h>
-+#    include <termios.h>
-+#    include <util.h>
- #else
- #    include <pty.h>
- #    include <utmp.h>

Index: editors/codelite/patches/patch-sdk_codelite__indexer_libctags_read.c
==================================================================
--- editors/codelite/patches/patch-sdk_codelite__indexer_libctags_read.c
+++ editors/codelite/patches/patch-sdk_codelite__indexer_libctags_read.c
@@ -1,10 +1,10 @@
 $NetBSD: patch-sdk_codelite__indexer_libctags_read.c,v 1.1 2016/06/15 22:04:17 kamil Exp $
 
 Handle fpos_t on NetBSD.
 
---- sdk/codelite_indexer/libctags/read.c.orig	2016-01-30 10:49:18.000000000 +0000
+--- sdk/codelite_indexer/libctags/read.c.orig	2019-05-21 17:52:21.000000000 +0300
 +++ sdk/codelite_indexer/libctags/read.c
 @@ -605,6 +605,9 @@ extern int readChars (char *buffer, size
  #if defined(__WXMSW__) || defined(__APPLE__) || defined(__FreeBSD__)
  	if(location < 0)
  		return 0;

Index: editors/codelite/patches/patch-sdk_codelite__indexer_network_np__connections__server.cpp
==================================================================
--- editors/codelite/patches/patch-sdk_codelite__indexer_network_np__connections__server.cpp
+++ editors/codelite/patches/patch-sdk_codelite__indexer_network_np__connections__server.cpp
@@ -1,12 +1,12 @@
 $NetBSD: patch-sdk_codelite__indexer_network_np__connections__server.cpp,v 1.1 2016/06/19 23:01:33 joerg Exp $
 
---- sdk/codelite_indexer/network/np_connections_server.cpp.orig	2016-06-19 20:52:21.634007785 +0000
+--- sdk/codelite_indexer/network/np_connections_server.cpp.orig	2019-05-21 17:52:21.000000000 +0300
 +++ sdk/codelite_indexer/network/np_connections_server.cpp
 @@ -29,6 +29,7 @@
  #ifndef __WXMSW__
  #  include <sys/types.h>
  #  include <sys/socket.h>
 +#  include <sys/time.h>
  #  include <sys/un.h>
  #  include <stdio.h>
  #else

DELETED  editors/codelite/patches/patch-sdk_wxsqlite3_configure
Index: editors/codelite/patches/patch-sdk_wxsqlite3_configure
==================================================================
--- editors/codelite/patches/patch-sdk_wxsqlite3_configure
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-sdk_wxsqlite3_configure,v 1.1 2016/06/15 22:04:17 kamil Exp $
-
-Fix shell portability issue.
-
---- sdk/wxsqlite3/configure.orig	2016-01-30 10:49:18.000000000 +0000
-+++ sdk/wxsqlite3/configure
-@@ -5717,7 +5717,7 @@ echo "${ECHO_T}$bakefile_cv_gcc31" >&6
-             SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
-         fi
- 
--        if test "x$GCC" == "xyes"; then
-+        if test "x$GCC" = "xyes"; then
-             PIC_FLAG="-dynamic -fPIC"
-         fi
-         if test "x$XLCC" = "xyes"; then
-@@ -8045,6 +8045,3 @@ echo "$as_me: error:
-         echo "  Now, just run make."
-         echo " ----------------------------------------------------------------"
-         echo
--
--
--



Home | Main Index | Thread Index | Old Index