diff --git a/kxstitch-1.2.0-import2.patch b/kxstitch-1.2.0-import2.patch new file mode 100644 index 0000000..676311f --- /dev/null +++ b/kxstitch-1.2.0-import2.patch @@ -0,0 +1,285 @@ + + + + + --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,11 +137,16 @@ set_targ - Pastebin.com + + + + + + + + + + + + + + + + + + + +
+ + + +
+
Want more features on Pastebin? Sign Up, it's FREE!
+
+
+
+
+
+ +
+
+ + +
+
+
+ +
+
+ + +
+
+ +
+
+ Guest +
+
+

Untitled

+
By: a guest on Jun 15th, 2015  |  syntax: None  |  size: 0.84 KB  |  views: 68  |  expires: Never
+
download  |  raw  |  embed  |  report abuse  |  print
+
+
+ + +
+
+
+ + + + Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac) + +
+
+
  1. --- a/CMakeLists.txt
  2. +
  3. +++ b/CMakeLists.txt
  4. +
  5. @@ -137,11 +137,16 @@
  6. +
  7.      set_target_properties (kxstitch PROPERTIES LINK_FLAGS -pg)
  8. +
  9.  endif (WITH_PROFILING)
  10. +
  11.  
  12. +
  13. +exec_program (Magick++-config ARGS --cxxflags OUTPUT_VARIABLE magick_config)
  14. +
  15. +
  16. +
  17. +string (REGEX MATCH "-DMAGICKCORE_HDRI_ENABLE=." magick_config_hdri ${magick_config})
  18. +
  19. +string (REGEX MATCH "-DMAGICKCORE_QUANTUM_DEPTH=[0-9]+" magick_config_quantum ${magick_config})
  20. +
  21. +
  22. +
  23.  add_definitions( -DQT_NO_COMPAT )
  24. +
  25.  add_definitions( -DKDE_NO_COMPAT )
  26. +
  27.  add_definitions( -fexceptions )
  28. +
  29. -add_definitions( -DMAGICKCORE_QUANTUM_DEPTH=16 )
  30. +
  31. -add_definitions( -DMAGICKCORE_HDRI_ENABLE=0 )
  32. +
  33. +add_definitions( ${magick_config_hdri} )
  34. +
  35. +add_definitions( ${magick_config_quantum} )
  36. +
  37.  
  38. +
  39.  install (TARGETS kxstitch DESTINATION ${BIN_INSTALL_DIR})
  40. +
  41.  install (FILES kxstitchui.rc DESTINATION ${DATA_INSTALL_DIR}/kxstitch)
  42. +
+
+
+
+ clone this paste + RAW Paste Data +
+
+
+ +
+
+ + + +
+ + +
+
+
+ +
+
+
+ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/kxstitch.spec b/kxstitch.spec index c5f0cdf..7da1d3b 100644 --- a/kxstitch.spec +++ b/kxstitch.spec @@ -1,6 +1,6 @@ Name: kxstitch Version: 1.2.0 -Release: 2mamba +Release: 3mamba Summary: A program that lets you create cross stitch patterns and charts Group: Graphical Desktop/Applications/Graphics Vendor: openmamba @@ -13,6 +13,7 @@ Source1: it.po # the patch fix a bug in Cmakelist that prevent to find X11 libraries (Thanks to Stephen Allewell) Patch: kxstitch-0.9.0-cmakelist.patch Patch1: kxstitch-1.2.0-import.patch +Patch2: kxstitch-1.2.0-import2.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -42,7 +43,8 @@ KXStitch is a program that lets you create cross stitch patterns and charts. Pat %prep %setup -q -n %{name}-%{version} #%patch -p1 -%patch1 -p0 +#%patch1 -p0 +%patch2 -p1 %build %cmake_kde4 -d build @@ -97,6 +99,9 @@ KXStitch is a program that lets you create cross stitch patterns and charts. Pat %{_mandir}/man1/kxstitch.1.gz %changelog +* Mon Jun 15 2015 Ercole 'ercolinux' Carpanetto 1.2.0-3mamba +- New patch to fix import image crash + * Fri Jun 12 2015 Ercole 'ercolinux' Carpanetto 1.2.0-2mamba - Added patch to fix segmentation fault on image import