• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/parted/0001-readline-deprecated.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
The CPPFunction typedef (among others) have been deprecated in favour of
2
specific prototyped typedefs since readline 4.2.
3
It's been working since because compatibility typedefs have been
4
in place until they were removed in readline 6.3.
5
​
6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7
​
8
diff -Nura parted-3.1.orig/parted/ui.c parted-3.1/parted/ui.c
9
--- parted-3.1.orig/parted/ui.c 2014-03-01 16:11:41.970827134 -0300
10
+++ parted-3.1/parted/ui.c  2014-03-01 16:11:55.540259786 -0300
11
@@ -1474,7 +1474,7 @@
12
 #ifdef HAVE_LIBREADLINE
13
   if (!opt_script_mode) {
14
     rl_initialize ();
15
-    rl_attempted_completion_function = (CPPFunction*) complete_function;
16
+    rl_attempted_completion_function = (rl_completion_func_t *) complete_function;
17
     readline_state.in_readline = 0;
18
   }
19
 #endif
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.