File: update-soname-verison.patch

package info (click to toggle)
devil 1.8.0.40.g6f3d5e9b%2Bdfsg-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,600 kB
  • sloc: cpp: 52,969; ansic: 10,924; xml: 3,121; python: 1,300; pascal: 792; java: 603; cs: 192; sh: 123; makefile: 37; fortran: 5
file content (41 lines) | stat: -rw-r--r-- 1,692 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: update soname version to 1.1.1
 The new upstream version 1.8.0 don't update the SOVERSION
Author: xiao sheng wen <atzlinux@debian.org>
Forwarded: https://github.com/DentonW/DevIL/issues/104
Last-Update: 2025-08-17

---

--- devil-1.8.0.40.g6f3d5e9b+dfsg.orig/DevIL/src-IL/CMakeLists.txt
+++ devil-1.8.0.40.g6f3d5e9b+dfsg/DevIL/src-IL/CMakeLists.txt
@@ -56,7 +56,7 @@ source_group("Text Files" FILES ${DevIL_
 
 if(BUILD_SHARED_LIBS)
     add_library(IL SHARED ${DevIL_SRCS} ${DevIL_INC} ${DevIL_RSRC} ${DevIL_TXT})
-    set_target_properties(IL PROPERTIES SOVERSION 1)
+    set_target_properties(IL PROPERTIES VERSION 1.1.1 SOVERSION 1)
 else(BUILD_SHARED_LIBS)
     add_library(IL ${DevIL_SRCS} ${DevIL_INC} ${DevIL_RSRC} ${DevIL_TXT})
 endif(BUILD_SHARED_LIBS)
--- devil-1.8.0.40.g6f3d5e9b+dfsg.orig/DevIL/src-ILU/CMakeLists.txt
+++ devil-1.8.0.40.g6f3d5e9b+dfsg/DevIL/src-ILU/CMakeLists.txt
@@ -44,7 +44,7 @@ source_group("Resource Files" FILES ${IL
 
 # Remove SHARED to create a static library
 add_library(ILU SHARED ${ILU_SRCS} ${ILU_INC} ${ILU_RSRC})
-set_target_properties(ILU PROPERTIES SOVERSION 1)
+set_target_properties(ILU PROPERTIES VERSION 1.1.1 SOVERSION 1)
 
 
 ## ILU requires IL
--- devil-1.8.0.40.g6f3d5e9b+dfsg.orig/DevIL/src-ILUT/CMakeLists.txt
+++ devil-1.8.0.40.g6f3d5e9b+dfsg/DevIL/src-ILUT/CMakeLists.txt
@@ -64,7 +64,7 @@ source_group("Resource Files" FILES ${IL
 
 # Remove SHARED to create a static library
 add_library(ILUT SHARED ${ILUT_SRCS} ${ILUT_INC} ${ILUT_RSRC})
-set_target_properties(ILUT PROPERTIES SOVERSION 1)
+set_target_properties(ILUT PROPERTIES VERSION 1.1.1 SOVERSION 1)
 
 ## add link sub library info
 target_link_libraries(ILUT